Tool/software:
Hello, I'm trying to develop an application that uses two TL16C752's that is interrupt driven. They are configured to use the receive and transmit interrupts, however the INT pin never clears to low. I have setup the most minimal example attempting to get the INT pin de-asserted. From power up I run the code.
patDuart2A->MCR = 0x10; //disable interrupt line with loopback int interrupt_status = patDuart2A->IIR_FCR; patDuart2A->IER = 0; patDuart2A->MCR = 0x18; //enable interrupts int interrupt_status1 = patDuart2A->IIR_FCR;
Inspecting interrupt_status and interrupt_status1 through GDB I find that the value is 193 = 0b1100 0001. This indicates that no interrupts are pending, however when I probe the INT pin with a scope it remains high as soon as the board is powered up. Separately, I have checked the functionality of the UART chip by enabling loopback mode and being able to read back what I write to it. I also checked the functionality of the IIR register by modifying the FCR register and observing the 2 most significant bits in IIR change. The chip seems to be functioning normally except that the INT pin is high from power up and nothing seems to be able to bring it low.