Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am using a custom board that is similar to the CY8CKIT-050 Cypress Development Kit. I am having an issue troubleshooting my communication through a Nimbelink 4G LTE modem that I am connecting to it via an XBee Breakout Board, and wanted to post some basic code here to ensure my issues are hardware (rather than a mistake in my firmware code).
I am communicating with the modem using a UART 2.5 component. I have been able to read data from my Rx buffer only once (the Nimbelink 7588 module will output "+PBREADY" when it is ready to communicate, which I was able to read before sending it a message). However, I have not yet been successful sending a message and receiving the expected response.
I have attached the project here in case anyone would like to assist by looking over the code on my behalf. Otherwise, this is the general Rx interrupt routineI am utilizing to read characters from the Rx buffer:
The code that is shared does not include a forever loop, so the code execution occurs only once and then the program stops. Since you are receiving "+PBREADY" from the controller, it means that the UART interfacing is successful, but the code might skip the ATE command.
Please add a loop to keep sending the AT commands after a timeout. You can also probe the lines to see if the data is being transmitted correctly.
The code can also have conditional statements to make sure that the AT commands are sent only after "+PBREADY" is received.