cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

I have an advertiser that is generating advertising packets every 50ms.  My observer has scan window and interval of 30ms.  I'm watching the CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT and for some reason it occurs 9 times and then just stops.

   

Shouldn't I be able to get an interrupt every time the 50ms advertising packet and the scan window overlap?

   

There is no CYBLE_EVT_GAPC_SCAN_START_STOP or CYBLE_EVT_TIMEOUT occurring.  

   

I don't think it is the advertiser because every time I reset the observer I get the same 9 packets.

   

Any ideas?

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Nevermind, figured it out, I wasn't clearing my Timer 1 interrupt which was causing some sort of overflow that was shutting down my main loop.

View solution in original post

0 Likes
Reply
2 Replies
Anonymous
Not applicable

Nevermind, figured it out, I wasn't clearing my Timer 1 interrupt which was causing some sort of overflow that was shutting down my main loop.

View solution in original post

0 Likes
Reply
Anonymous
Not applicable

If you have Watchdog enabled, upon receiving 3 unhandled interrupts, the unit will shutdown/reset; But I think it is only for the WDT explicitly.

0 Likes
Reply