Page 1 of 1

Default ISR Problem after "ready to stacked" function

Posted: Mon Sep 02, 2019 12:29 pm
by marsimrom1
Hello,

I am working with a S32K144 EVB and I have a project based on the example "lpuart-echo" of my board. I use the LPUART1 to receive information (computer to board) and I added the FlexioUART module to send information (board to computer). The project works well but, at any time, the program hangs in this part of the code. (Please, see image I attached)

Previously, I tried to use LPUART0 instead of FlexioUART module but I had the same problem.

Thank you in advance.

Image

Re: Default ISR Problem after "ready to stacked" function

Posted: Wed Sep 04, 2019 8:19 pm
by e.guidieri

Re: Default ISR Problem after "ready to stacked" function

Posted: Thu Sep 05, 2019 7:11 am
by marsimrom1
Yes, but not a WDOG_EVM interrupt. I declared interrupts for: "LPUART1", "PORTA", "PORTB", "PORTD" and "PORTE".

Re: Default ISR Problem after "ready to stacked" function

Posted: Thu Sep 05, 2019 8:24 am
by e.guidieri
Obviously,

somewhere in your code the peripheral tied with WDOG_EVM interrupt entry it is turn on (A Watchdog? [I don't know the MCU]).

You need to find where this is done and why and prevent it.

Errico Guidieri