This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OTA DFU hardware resources

I have a strange problem trying to use timer1 in a trivial app that's loaded via DFU. I can't get delays longer than about 1 second, despite having the prescaler set to 9. So I am wondering if the DFU initialization has changed some register associated with timer1.

Also, I would like to modify the DFU code such that the LED flashes, instead of being on solidly, and I wondered if I can use a timer and PPI channel to do this without screwing the bootloader.

Parents
  • Hi JohnBrown

    I dont think the bootloader uses any PPI channels or TIMER peripherals. There are only limitations of the softdevice that apply. The softdevice blocks TIMER0 but the other timers should be available. Take a look in the softdevice specification (SDS) for the softdevice you are using to find out what PPI channels are occupied by the softdevice. You should anyhow be free to use all TIMERs and PPI channels before enabling the softdevice.

Reply
  • Hi JohnBrown

    I dont think the bootloader uses any PPI channels or TIMER peripherals. There are only limitations of the softdevice that apply. The softdevice blocks TIMER0 but the other timers should be available. Take a look in the softdevice specification (SDS) for the softdevice you are using to find out what PPI channels are occupied by the softdevice. You should anyhow be free to use all TIMERs and PPI channels before enabling the softdevice.

Children
Related