freeRtos and coordinating 2 tasks
Hi forum ...
I am using freertos inside my stm32f7 MCU..
I have 2 tasks ..
One task is reposnsible for sending data (UART ) every *** ms to another board..
One task is responsible of reading a text file via usb and writing in a global variable the data that has to be transmitted from the other task
I want to transmit data only once the reading of 8 bytes of the file is done,,,
Which is a safe way to coordinate these 2 tasks ?
Thanks a lot
For the moment I added a delay in the task which reads the txt file and I transmit the information with the same delay of the task...
But it seems it is not working..
It seems it is loosing the sync
Can you help me ?
Thanks
