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.

LAUNCHXL-F28379D: C2000 microcontrollers forum

Part Number: LAUNCHXL-F28379D


Dear Sir/Madam,

I am trying to interface GSM module with launchpad-28379D using UART protocol. Considering SCI echo back example as the reference, I configured SCI_B module similarly. Even then I am unable to transmit the commands  from the microcontroller to GSM module and my execution flow is not entering to RX_ISR.  Kindly help me in resolving this issue.  

  • Hi Prasad,

    Thanks for your question! From what you mentioned, my initial suggestion would be to check the configuration settings in particular. But to speed up the debug, could you do two things for me?

    First: confirm if the RX_ISR works in the standard echoback example WITHOUT any modifications. This means, please do not change the code to use SCI_B. Use the default SCI_A from the example. Please also leave all settings default on your board and see if it works. If it doesn't work even with all software completely default, this may be a hardware configuration issue.

    Second: If you could go through this FAQ debug and provide me (1) the waveforms of the TX/RX during when you would expect the RX_ISR to fire and (2) which of the errors listed is closest to what you are observing:

    https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1031947/faq-my-c2000-sci-is-not-transmitting-and-or-receiving-data-correctly-how-do-i-fix-this

    Regards,

    Vince

  • Hi Prasad,

    Sid note: I would take an additional guess that this may be a GPIO muxing issue, or an interrupt configuration issue. I would sanity check these to make sure that the SCI_B versions of the GPIO Mux configuration and interrupt configuration are used, and NOT the SCI_A versions.

    Regards,

    Vince

  • Hi Vince,

    Thanks for your suggestion. I found that GPIO were not enabled properly and RX_ISR fault occurred due to the fault in loop . Actually it was entering in to the ISR but it is not entering into the loop. So I changed the logic and it is working fine.

  • Hi Vince,

    Thanks for your suggestion. I found GPIO's are not properly configured as SCI_B. This resolved my issue and In case of RX_ISR, It is entering into the ISR but it is not entering to the loop. So, I modified my logic. Now it is working fine. 

    I have one more question. What should be the position of boot switches to Configure it as SCIA (through FTDI chip and USB) in launchpad 28379d??. Kindly help in this question. Thanks in advance.

  • Hi Prasad,

    Glad that you were able to find the issue! For the additional question, while I am not as versed in the boot-modes, I believe the "Configuring Boot Mode Pins"section (and following few sections) of the Technical Reference Manual discusses the full boot-setup. If more clarificaiton is needed, I would request that a new thread be created with this question so that others can benefit from your question with easier search-findability, and so we can connect you with the right person!

    Let me know if you have any other questions though!

    Regards,

    Vince