• Resolved

CCS/MSP430FR2155: MODBUS Message RTU Framing Missing Responses

Intellectual 435 points

Replies: 5

Views: 156

Part Number: MSP430FR2155

Tool/software: Code Composer Studio

Hello All,

I am working on MSP430FR2155 microcontroller, In that I am using MODBUS RTU. In my controller I am using Uart to communicate with MODBUS, but in that I am not getting proper responses. I am checking the result on Modscan32, Valid slave responses are lesser then Number of Polls. How can I overcome this problem, Please suggest?

Thanks,

Sandhya

  • Hi Sandhya

    MODBUS RTU is Application Layer Protocol based on UART

    On the usage of UART on MSP430FR2155 microcontroller, please refer to the code example of FR2155: www.ti.com/.../slac740

    On MODBUS implement on MSP430, please refer to the previous E2E discussion: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/191447?Modbus-MSP430-communication-strange-response

    B.R.

    Xiaodong Li

  • Hi Sandhya,

    Could you provide some details about this issue? some hardware connection and Partial related code.

    It may be better if you have some test data.

    Best Regards

    Johnson

    Search E2E! Your questions may already be answered! 

    If my reply answers your question please click on the green button "This resolved my issue".

    Useful pages: TI Cloud Tools             MSP Product Page

  • Hi Sandhya,

    I haven’t heard from you for ten days, so I’m assuming you were able to resolve your issue. If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Best Regards

    Johnson

    Search E2E! Your questions may already be answered! 

    If my reply answers your question please click on the green button "This resolved my issue".

    Useful pages: TI Cloud Tools             MSP Product Page

  • In reply to Johnson He:

    Thanks for reply,

    Actually I am working on 2 timer interruts. One is used for MODBUS with ACLK clock and 400 timercount and other on 8MHZ with 5000 count. So I am not getting is there any clash happening in it or any other reason in between these two timers. please help.

    Thanks,

    Sandhya Yadav

  • In reply to Sandhya Yadav:

    Hi Sanghya,

    Do you suspect that the 8MHz Timer interrupt conflicts with the ACLK interrupt, causing no proper responses in the MODBUD message?

    You can turn off the 8MHz timer interrupt and test again.

    Best Regards

    Johnson

    Search E2E! Your questions may already be answered! 

    If my reply answers your question please click on the green button "This resolved my issue".

    Useful pages: TI Cloud Tools             MSP Product Page