28 December 2016 3 9K Report

I have a task stating that the Modbus master should communicate with my ARM Microcontroller over UART. So far I am able to receive data on the Microcontroller and interpret it. Problems that I am facing:

1. I am currently handling 8 bytes of data including 2 bytes of checksum. But the data size in Modbus can vary, so how can I handle that using UART Receive FIFO?

2. How can one detect the "Silent Interval" of 3.5 character timeslice from Modbus master using UART FIFO?

- TINU

Similar questions and discussions