TouchGFX + Free RTOS TImer and Thread
Hello.
I'm using STM32H747XI with touchgfx designer 4.24.2 and Free RTOS 10.3.1.
In this RTOS I setup some threads(with osPriorityNormal 24) and a Periodic Timer at 400ms.
I notice that when I start this thread
void threadEntryPoint() {
// Pulisco la FIFO del'RX USART
__HAL_UART_FLUSH_DRREGISTER(BARCODE_UART);
char msg[BARCODE_LENGTH+1];
while (;;) {
memset(msg, 0, sizeof(msg));
// Appena vedo il primo carattere ...
if ( HAL_UART_Receive ( BARCODE_UART, (uint8_t*)&msg[0], 1, 50 ) == HAL_OK ) {
// ... ricevo gli altri
HAL_UART_Receive ( BARCODE_UART, (uint8_t*)&msg[1], BARCODE_LENGTH - 1, 50 );
if (strchr(msg, BARCODE_SUFFIX)) {
queue.put(msg);
}
}
}
}
Timer will not trigger.
Is the reason that I have no osDelay ? Or a priority question ?
Thankyou in advance.

