MSP432E401Y: Guidance on Modbus T3.5 timer with MSP432 using Timer32 or Timer_A

Part Number: MSP432E401Y


Hi,

I ported FreeModbus(RTU Slave) to MSP432P401R and using Timer32 for the T3.5 inter-character timeout. I observed that when sending a full frame from PC, only the first and last bytes reliably trigger pxMBFrameCBByteReceived() — the middle bytes are missing.

Could you advise:
Are there specific requirements for the timer used for T3.5 to ensure reliable byte reception?
Any guidance on configuring FreeModbus timers for MSP432P401R using Timer32 or TimerA?

  • I can talk about the MSP432P401R, but I'm not very familiar with FreeModbus. 

    From your description (only seeing first and last bytes) my first guess is that your pxMBFrameCBByteReceived  is taking too long, and the other Rx bytes are lost to overrun. What does your callback look like?  [xMBASCIIReceiveFSM?]