NUCLEO-H563ZI + GFX02Z1 + ThreadX
I'm a novice getting re-acquainted with embedded, and acquainted with STMicro products
I'd like to use the NUCLEO-H563ZI + GFX02Z1 with ThreadX instead of FreeRTOS. I perform these steps:
- In TouchGFX Designer I create a new project with the included NUCLEO-H563ZI + GFX02Z1 template (FreeRTOS based)
- Open the ioc file in CubeMX. In Middleware and Software Packs, disable X-CUBE-FREERTOS, enable THREADX (core only), switch X-CUBE-TOUCHGFX to use ThreadX. Generate Code
- Open .project file in CubeIDE. Remove folder Middlewares/RTOS2 from project. Build entire project successfully
Is that all that's required? I ask because I'm experiencing some odd behavior that I don't see if leave the project as FreeRTOS based.
Specifically I've created a quick trial that increment/decrements a text area numerical display based on joystick interactions (Left == increment, Right == decrement). With FreeRTOS I get quick responses from repeated joystick presses in any combination. With ThreadX I have to wait for multiple seconds before consecutive pushes are recognized on the same switch of the joystick. For instance pressing RIGHT-RIGHT-RIGHT only recognized the first interaction. Interestingly if I do something LEFT-RIGHT-LEFT in rapid succession all the presses are recognized.
I've attached the ThreadX based project for reference
I'm looking for advice on how to correctly configure for threadX, and how to resolve my joystick problem.
Thanks for the help
