This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TL16C550D: Initial setting

Part Number: TL16C550D

Hi all

Would you mind if we ask TL16C550D?

We would like to confirm the setting of this device.
The customer setting's are as follows;

1. LSR's register DLAB=1
2. DLL's, DMM's register Divisor setting = XXX -> Baud rate setting
3. LSR's register=0x03 DLAB=0, WLS0=WLS1=1, STB=0, PEN=0 -> Data length=8, Parity bit = none, stop bit=1
4. FCR's register=0x06

Is this procedure correct?


Kind regards,

Hirotaka Matsumoto

  • Hi Hirotaka,

    "1. LSR's register DLAB=1"

    It needs to be LCR register bit 7 set to '1' NOT LSR

    "2. DLL's, DMM's register Divisor setting = XXX -> Baud rate setting"

    Okay.

    "3. LSR's register=0x03 DLAB=0, WLS0=WLS1=1, STB=0, PEN=0 -> Data length=8, Parity bit = none, stop bit=1"

    It sounds like you're describing LCR. If so, this looks correct.
    "4. FCR's register=0x06"

    This looks correct as well. If you want to enable the FIFO as well, you can write 0x07h into FCR

     

    -Bobby

  • BOBBY san

    "1. LSR's register DLAB=1"

    It needs to be LCR register bit 7 set to '1' NOT LSR

    ->We are sorry that there are typo.  "LCR's register DLAB=1" is correct.

    Kind regards,

    Hirotaka Matsumoto