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

app_timer value affects twim?

I'm seeing an odd behavior where the ability for our application to communicate to peripherals via twim is being affected by the initialization values for app timers.

Timers are initialized and started before twim.

  • a single shot timer with duration 20 seconds
  • a repeated timer with duration 1 seconds
  • a repeated timer with duration of 25 milliSeconds

After setting up GPIO and the softdevice I initialize and enable TWIM

The application works fine until I increase the duration of the third timer from 25 milliSeconds to 100 millSeconds.

At 100 milliSeconds TWIM no longer works.

Can anyone posit a theory as to why this is the case?

I've not been able to confirm whether or not the pin we use for I2C_SCL has a clock signal or not. I'm primarily a software person so my hardware diagnostic skills are pretty basic.

Parents Reply Children
No Data
Related