Uart communication doesnt always receive the data.
Hello everybody,
I am somewhat new to the world of STM and still learning. I have written the code that reads the data over UART than it sends specific data "calculated" from the UARTS data to SPI then it reads back from SPI than it sends it to UART. The problem is when I send the data to the MCU (STM NUCLEO-F091RC board) the data is almost 85% of the time not received as it should. I have tried fetching the data with several programs. For know DockLight seems to be the best at doing it for the debuging. I am using interrupted receive and transmit for the UART so I dont need to wait the timeout. I am not using delays as I had incresed the Baud rate of the SPI and UART the frequency working frequency of the MCU is at 48 MHz. If you would need code I will post it after I clean up the comments in the code.
