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.

MSP430FR2633: UART communication issue

Part Number: MSP430FR2633

hi,

I am experiencing strange issue on the using MSP430FR2633 with Wisol sigfox module.

When I try to using USB2UART cable directly to talk to wisol sigfox module. I am able to get a response.  

sorry got to mark away some data.

But when i configured my MSP430FR2633 with same baud rate at 9600. i always get Error: parse error return from wisol sigfox module. 

By looking at the Transmit code, i am able to see AT/r/n actually sent out to wisol module correctly. But why it behave differently from the direct USB2UART cable which the input code AT/r/n is the same? 

Best regards,

kpk

  • You pasted the same picture twice.

    Send the code from the MCU up to Putty and see what it is receiving.

    Have you checked with a scope?
  • hi Keith,

    Yes, I did send from MSP430FR2633 MCU to Putty. All AT command can see output correctly.

    but when i connected the MSP430 to Wisol Sigfox module, I tried the tap the wisol feedback pin to putty. the screen captured is what you see.

    Not yet measured with scope. 

    Best regards,

    kpk

  • Hi kpk,
    I could imagine, there are some slight differences in the timing of the signal/s, so please as Keith suggested, post some scope shots, comparing the signals.
    Also did you check the accuracy of the baud rate? Dependent on the clock source you're using, the deviation might be at the limit.

    Best regards
    Peter
  • He says he is at 9600, should be well within the deviation. 8^)
  • Just a comment regarding the data you censored: If that hex code is truly something that you are concerned about from a security perspective, then you should be a little more careful about hiding it. I can make out every character.
  • hi Peter,

    The baudrate is 9600.

    Here is the screen captured comparison on scope between usb2uart cable and the MCU uart output.

    Picture below: MCU uart port sent output AT\r\n command to scope. 

    picture below: USB2serial cable sent output AT\r\n to scope. 

    by looking at the hyperterminal:

    1. when sending AT command to Sigox module, i still got parse error. retried many times still getting the same error, never get OK as per using usb2serial cable. 

    2. USB2 serial terminal output always return OK.

    on the wisol sigfox WSSFM10R module, it did mentioned the UART can accepted, 3.3V uart and 5V uart signal.  

    Any help will he much appreciated. 

    Best Regards,

    kpk

  • Hi,

    Plese close this case. I managed to resolved it by putting a delay in between each charater i send to sigfox module. Seem like the MCU throw out the message too fast and wisol is too slow to accept the char. Putting some delay get the right response. many thx.

    Best regards,

    kpk

**Attention** This is a public forum