HI! I am using FRMD ke16z for a project. I want to get the data from a receiver using serial protocol IBUS. For that i used LPUART1 bc LPUART0 doesn t have a RX pin on arduino outputs. For using the LPUART1 i configed it with the ibus settings and init it. After that i used the HW Interrupt. The code doesn t work and i tried everything. TY!
I will attach the relevant code parts.
this is outside main:
Andrei13_0-1682336501493.png
in int main(void)
Andrei13_1-1682336552124.png
and after that, in while (1)
Andrei13_2-1682336579375.png
the the code never gets trough that if, so i think the interrupt never gets called.
Maybe it s a pin problem, i used PTC6 wich is pin 2 from J1.