CY_NORETURN, How to Debug?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

We are working on a power application based on CY8C4245AXI, when the PWM starts frequently the PSoC gets stuck in,

CY_NORETURN

CY_ISR(IntDefaultHandler).

Can any one suggest, how can we debug?

We could not see a way to read internal registers of PSoC4.. can some one pls help?

Pls feel free what information is required to understand the case.

Regards,

Nilesh

0 Likes
1 Solution
Anonymous
Not applicable

Hello Bob and Arh,

The issue with getting stuck into IntDefaultHandler, was addressed.

I am not sure which interrupt triggered it, as could not found a way to diagnose that.. but taking clue from what Bob said. It seems the root of the problem was in the hardware board.

PSoC creator don't configure the unused port pins, so it seem the electric noise due to induction coil was picked up and creating havoc, we simply configured all the unused pins for output with 0 output. The problem vanished.. now it runs smoothly.

But now there was another new issue, which I took up with Cypress MyCase. The issue was one of the ADC channel was intermittently shows 0xFFFF and the ADC is configured as 12 bit!

AS per Cypress team , it is due to negative noise/spike present on the pin, which I am unable to see on a DSO and that particular channel is only creating this problem. As the noise might be seen by all other pins...?

Now working on that issue, temporarily I am ignoring the ADC raw data if it's more than 2048. Wondering what could help further..

I think PSoC team should see the CubeMX configuration utility from ST. It will help making creator more unique than it is now!!

Guys thanks a lot you are taking interest in our problem!

Regards.

Nilesh

View solution in original post

0 Likes
8 Replies