This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MODBUS at F28335



I have to put MODBUS at one F28335. For that I am porting Freemodbus to it, but I'm having problems with the xMBRTUReceiveFSM() function. For some reason, the assert( eSndState == STATE_TX_IDLE ) line is aways activated and break the program.

I tried to find where the eSndState is changed to another state, but I couldn't find. Maybe is some serial configuration, but I couldn't find any error too. Someone has had the same problem? How did you fix? There is some MODBUS code for F28335?

If someone wants to see the actual code to help me: https://github.com/brunoluiz/2833xFreeModbus

PS.: I am not using FIFO at the code