I use PSP UART driver and set it in PSP_OPMODE_INTERRUPT.
Also I configure HWI_INT4:
void isrUART0()
{
PSP_DEBUG_PRINT("It's interrupt UART");
}
GIE bit set 1 and IE04 set 1, but when I send data to UART, function isrUart() doesn't invoke.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I use PSP UART driver and set it in PSP_OPMODE_INTERRUPT.
Also I configure HWI_INT4:
void isrUART0()
{
PSP_DEBUG_PRINT("It's interrupt UART");
}
GIE bit set 1 and IE04 set 1, but when I send data to UART, function isrUart() doesn't invoke.
I resolved this problem!
Interrupt didn't invoke, because my PC stop bit is 1, UART driver 1.5 stop bits are only supported with data character length of 5 and 2 stop bits are only
supported with data character lengths of 6, 7, and 8 due to hardware limitation.