20737 keep button(ing) causes system reset !!!!

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

cross mob
Anonymous
Not applicable

we use Cypress 20737 SOC and based on hello-sensor for ur application
in some sensor query and calculation at timer thread (1sec-base).

However, we suddenly find that if user keeps pressing button without stop,

it will cause system reset. Is it that in timer thread, our app is too busy so that if keeping button-press,
SOC will spends more time on button behavior and delay the timer thread tasks.

so how can we handle this situation if it happens???

0 Likes
1 Solution
Anonymous
Not applicable

How fast are you pressing the button? Is there a while or a for loop in the interrupt handler?

My surmise is that the reset is because of a watchdog timeout. Can you try removing loops from your interrupt handler?

View solution in original post

0 Likes
2 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

Perhaps let me re-phrase. You have a button interrupt configured to a GPIO. If you press and hold that button for long enough, you observed that occasionally the soc resets itself. Is this correct?

0 Likes
Anonymous
Not applicable

How fast are you pressing the button? Is there a while or a for loop in the interrupt handler?

My surmise is that the reset is because of a watchdog timeout. Can you try removing loops from your interrupt handler?

0 Likes