Hi all
when using TL16C550DPTR to implement UART function
device crystal is 14.7456MHz. connect BAUDOUT pin and RCLK pin directly.
I set the registers by the following sequence and value:
IER = 0x00
IIR = 0x01
FCR = 0x00
*LCR = 0x83
MCR = 0x00
LSR = 0x60
MSR = 0x00
SCR = 0x1B
(set baud rate 19200)
*DLL = 0x30
*DLM = 0x00
*LCR = 0x03
Actually I only modified registers with * mark above .The others remain power on default value.
I connected TL16C550DPTR with a RS-232 transceivers to PC's RS-232 port.
Then start to transmit data to PC and PC received correct data at its RS232 port.
But TL16C550DPTR received nothing from PC's response.I porobe the BAUDOUT pin appear a 3.686 MHz frequency
It is not match with datasheet(16× baud rate clock for the receiver).I tried to modify DLL and DLM again but BAUDOUT still remain the same frequency.
Did I miss something to set with registers? Any suggest setting?
When will BAUDOUT be affected by new DLM & DLL value?immediately or need to be something triggered?
Thanks