Hello,
I've posted a similar qustion in this forum, but I did not get a helpfull answer so far, so I post my entire code hoping someone might be able to help me.
This program initializes M52223EVB board; configures a bluetooth module's baudrate, which is connected to UART0, and connects it to a desired bluetooth receiver; then configures a gps module which is connected to UART1 and tries to send GPS's data through bluetooth module to the bluetooth receiver.
NOTE: I have changed WriteUARTN() and ReadUARTN(). But it does not effect this problem as I have tested this already.
Problem:
This process works perfectly in UART debug mode, which means I can see the GPS data on a terminal emulator that receives bluetooth receiver's input. but the terminal emulator does not show any data from GPS when I use Internal ROM mode and burn the compiled file into the flashROM.
Thank you,
P.S. As you might see, I'm using for-loops for delays....I tried to initialize DMA timers to use cpu_pause() function for delays, but I could not succeed. I would appreciate if someone help me to find an efficient delay system too.