I have a hardware solution where I can plug via I2C different modules. Some of these modules are serial interfaces with both SC16IS752 or SC16IS750, and dynamically add serial ports to the system.
The problem is I cannot figure out how to know if the device is a 2 UART chip or a single UART one.
Is there any register I can read from these chips to exactly know how many UARTs I'm getting?
Thanks in advance,
Thanks for for reply, Paulina.
I'm fully aware of that, but my question is if there is a way to identify them via firmware. My system adds these virtual UARTs to the "UART pool", so I NEED to know if the chip is giving me one or two UARTs.