Dear Specialists,
My customer is evaluating NS16C2552 and encountering the problem.
I would be grateful if you could advise.
---
Regarding NS16C2552,
We are trying to receive data with the following settings.
However, the data cannot be received correctly.
Can you please let us know what is the cause?
[UART (NS16C2552) setting]
IER: 0x05 (reception-related interrupts enabled)
FCR: 0xc1 (FIFO enabled, Trigger Level = 14)
LCR: 0x1b (DataBIT'8'StopBIT'1' Parity_BIT'even')
DLM, DLL: Stores the value of 18432000/38400/16 (18.432MHz, 38400bps)
【Status】
Received data 4 bytes (0x06 0x01 0x00 0x07)
It is received by the following two interrupts (1) and (2). (Confirm that interrupts are output in the waveform for (1) and (2))
(1) RXRDY (Receive data ready) interrupt: Receive the first byte (0x06)
(2) RXRDY (Receive data time-out) interrupt: Receives 3 bytes (0x01 0x00 0x83) * The 4th byte should be 0x07, but it is 0x83.
When RXRDY (Receive data time-out) was executed, we assumed that 4 bytes of data would be received with one interrupt.
(3) Is the RXRDY (Receive data ready) interrupt generated according to the specifications?
(4) Also, what could be the cause of the garbled data at the end as described above?
---
I appreciate your great help in advance.
Best regards,
Shinichi