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

Serial communication help.................

Hi ,

I'm getting the output on simulation serial window.I have programmed the uC,But I am not getting output on flash-magic terminal window ,even-though I'm getting the output on simulation serial window.......

Anyone please help me....

I'm using LPC1114.....

Parents
  • Hi,

    the following is the part of my code configuring UART pins & enabling CLK for UART

                    LPC_IOCON->PIO1_6 &= ~0x07;    /*  UART I/O config */
                    LPC_IOCON->PIO1_6 |= 0x01;     /* UART RXD */
                    LPC_IOCON->PIO1_7 &= ~0x07;
                    LPC_IOCON->PIO1_7 |= 0x01;     /* UART TXD */
    
                    LPC_SYSCON->SYSAHBCLKCTRL |= (1<<12);  // UART CLK
    

Reply
  • Hi,

    the following is the part of my code configuring UART pins & enabling CLK for UART

                    LPC_IOCON->PIO1_6 &= ~0x07;    /*  UART I/O config */
                    LPC_IOCON->PIO1_6 |= 0x01;     /* UART RXD */
                    LPC_IOCON->PIO1_7 &= ~0x07;
                    LPC_IOCON->PIO1_7 |= 0x01;     /* UART TXD */
    
                    LPC_SYSCON->SYSAHBCLKCTRL |= (1<<12);  // UART CLK
    

Children