Part Number: TL16C752C
Hi,
Q1.
I tried to change the value of register IER based on the timing chart in the data sheet, but the value read out was not changed from the initial value. Please check if the method of changing register IER is correct.
1. set RESET = Low->Hi->Low to initialise. 2.
2. set IOW = Hi. 3.
3. delay (approx. 1 ms).
4. set A[2:0] = 001.
5. delay (approx. 1 ms)
6. Set CSA = Lo. 7.
7. delay (approx. 1 ms)
8. Set IOW = Lo.
9. delay (approx. 1 ms)
10. set D[7:0] = 0000 0001.
11. delay (approx. 1 ms)
12.Set IOW = Hi.
13. delay (approx. 1 ms)
14.Set CSA = Hi.
15. delay (approx. 1 ms)
※The delay (approx. 1 ms) is calculated from the clock 19.6608 MHz and obtained by the following process.
----
for(i = 0; i < 5; i++)
{
NOP();
}
----
Q2.
Please check whether the register settings are correct for the specification.
Specification.
Input clock: 19.6608 MHz
Baud rate: 2400 bps
Data length: 8 bits
Parity check: none
Stop bit: 1
Register settings
DLL = 0000 0000
DLH = 0000 0010
LCR = 0000 0011
LSR = 0110 0001
FCR = 0000 1001
MCR = 0000 0100
IER = 0000 0001
Q3.
Are values not stored in the RHR or RX FIFO for communication to the RXA unless there is a start bit, parity bit or stop bit?
Q4.
Is the value not saved in the RHR or RX FIFO unless the data bit between the start bit and parity bit is between 5 and 8 bits? Also, what happens if noise is mixed in the data bits?
Q5.
I understand that when the RHR is read out, the RHR is overwritten by the next data stored in the RX FIFO.
For example, if there is data that is wanted one after the other, the RHR value is read out once and then the RHR is read out again. Is my understanding correct?
Thanks,

