• Serial port RX Problem - baudrate 9600 setting
    I have a strange problem in my code. I cannot receive correct characters via the serial port if I write TH1=0xFD in my code. But if I write TH1=0xFE in my code, I can run the program correctly. ...
  • Calculation of PCLK for UART (baud rate of 9600)
    Can any one help me with calculation of PCLK for UART (baud rate of 9600) According to datasheet if LPC2148 PLL calculations are as follows: 1.CCLK = M × FOSC 2.FCCO = CCLK × 2 × P but they...
  • uart receive data incorrect above 9600 baud
    Is anyone successfully receiving UART data using a UART configured with greater than 9650 Baud? I have a Keil development board. I have interrupts enabled. I'm looking forward to hearing...
  • Target memory setting
    For LPC 1768 develop using uVision 4.21. I set the target memory to: IROM1: 0x0 0x80000 IRAM1: 0x10000000 0x8000 IRAM2: 0x2007c000 0x8000 But someone told me I can also set to: IROM1: 0x0...
  • Using target's settings in the program code
    Hello, Keil uVision world! :) Keil uVision project file contains some target's settings, stored as e.g. Device (C8051F340) or DevID (3997) . How to use these values in the source text (e.g. for conditionally...