This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

disable sd for sometime

Hello devzone... My setup: nRF51422 and S110 peripheral My setup transmits IR data on reception of Bluetooth data from a central device. I have used PWM for generating IR pulses. It is configured as GPIOTE, the timer compare event toggles the pin. This works fine without the softdevice enabled. If the softdevice is enabled, it blocks the CPU for sometime to serve the radio events which mess up the IR mark and space timings. I have to start and stop the timer tasks and events at proper intervals. Since softdevice blocks the CPU there is delay which increases the IR data timings. The IR is an integral part of my application, so i would like to avoid ble events till the application sends IR data. Any suggestions and design improvements where in i can have a sync between IR and ble? Can i disable the events from sd for the time IR data is being sent?

Thanks..:-)

Related