Hi,
I've got a problem with the newest SDKv2.1 library. I'd like to make a project that uses all of the UART modules. After I initialize the peripherals, and call the UART_TransferReceiveNonBlocking(); function, the program will wait for at least one character to run. However, if I skip the function call, the appropriate interrupt for the actual UART won't be activated. Is it a bug in the IRQ handler, or a "feature"? I tried to enable the interrupts manually, instead of using the non-blocking transfer function, but the result is the same. I created my own callbacks for each modules.
Hello,
It is a feature because the RX interrupt is activated in the UART_TransferReceiveNonBlocking(); function. So if you skip it and enable it in other part, it will work fine.
Regards,
Ivan.
Clear the appropriate interrupt flags solved my problem. The only thing I cannot understand that why the IRQ handler does not clear them automatically, after an interrupt occured?