Timeline for How to configure watchdog for the arduino Nano 33 BLE Sense board?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 11, 2023 at 22:04 | vote | accept | tjbtjbtjb | ||
Feb 11, 2023 at 22:01 | answer | added | tjbtjbtjb | timeline score: 0 | |
Feb 10, 2023 at 15:34 | comment | added | datenheim |
You did see they used other defines than you? NRF_WDT->CONFIG = 0x01; and so on. I don't see that in your code. Your code in setup directly writes to MCU registers that do not exist on the nano 33 BLE. To configure it, you must take over those parts. If and how the watchdog interrupt can be intercepted on the nRF processor is another question. Typically the watchdog interrupt just does reset - normally it is intended not to happen within your firmware. If your idea is to time the execution of some code you might use a timer interrupt for this - not the watchdog.
|
|
Feb 10, 2023 at 9:06 | comment | added | tjbtjbtjb | I've just added in a simple code example, working with a uno. Looking for equivalent code for the nano BLE. | |
Feb 10, 2023 at 9:04 | history | edited | tjbtjbtjb | CC BY-SA 4.0 |
Adding a code example
|
Feb 10, 2023 at 9:03 | comment | added | tjbtjbtjb |
Yes but your link provides the same information as I pointed out. It's only about the set of watchdog with simple reboot, not the set of ISR() mechanism at the end of the counting of the watchdog timer.
|
|
Feb 10, 2023 at 7:41 | comment | added | datenheim | A little searching gave this link and that code seems to have worked: devzone.nordicsemi.com/f/nordic-q-a/53904/… | |
Feb 10, 2023 at 1:40 | answer | added | Gil | timeline score: -1 | |
S Feb 9, 2023 at 21:42 | review | First questions | |||
Feb 9, 2023 at 21:50 | |||||
S Feb 9, 2023 at 21:42 | history | asked | tjbtjbtjb | CC BY-SA 4.0 |