Tool/software:
Hi,
We are using the TL16C752DPFBR Dual UART, parallel interface with ATMEGA2560 MCU,
While we are executing the code to get the registers data on data lines from UART chip we are facing the issues on register values mismatch...we have verified the code properly
I'm attaching the UART & MCU schematic images for the verification of the functionality...
Also i'm attaching the observed serial data for UART register values below
LCR and IER registers are working fine
" SUCCESS: LCR SHOULD BE 0x03
LCR ACTUALLY = [0x03]
SUCCESS: IER SHOULD BE 0x03
IER ACTUALLY = [0x03]
ERROR: IIR SHOULD BE 0xC1
IIR ACTUALLY = [0x03]
ERROR: MSR SHOULD BE 0x00
MSR ACTUALLY = [0x03]
ERROR: MCR SHOULD BE 0x08
MCR ACTUALLY = [0x03]
ERROR: EFR SHOULD BE 0x02
EFR ACTUALLY = [0xBF]
ERROR: AFR SHOULD BE 0x14
AFR ACTUALLY = [0x83]
ERROR: TLR SHOULD BE 0xFF
TLR ACTUALLY = [0x43]
ERROR: TCR SHOULD BE 0x00
TCR ACTUALLY = [0x43]
ERROR: FRR SHOULD BE 0x00
FRR ACTUALLY = [0x03 ] "
Could you please verify and clarify on why these errors are getting on the registers