This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem in GSM modem response handling using interrupt method of LPC2148 UART0

Actually i am getting problem while trying to receive the incoming sms from gsm modem to micro controller

controller-lpc2148
Uart- UART0 //Cpu clock-60 Mhz (using PLL 12Mhz*5=60Mhz)
VPB -15mhz //9600 baud rate ,8 bit data,1 stop bit,no parity
Enabled interrupt-Rx0

Parents
  • You really do not like to use the proper tags for source code...

    Notice the difference with source code posted using the intended tags?

    #include <stdio>
    
    int main(void) {
        printf("Hello World!\n");
        return 0;
    }
    

    By the way - you shouldn't read twice from U0IIR since reading from registers isn't identical to reading from normal RAM - that's why you have the "regVal" variable.

Reply
  • You really do not like to use the proper tags for source code...

    Notice the difference with source code posted using the intended tags?

    #include <stdio>
    
    int main(void) {
        printf("Hello World!\n");
        return 0;
    }
    

    By the way - you shouldn't read twice from U0IIR since reading from registers isn't identical to reading from normal RAM - that's why you have the "regVal" variable.

Children