I'm facing a strange problem. Whenever device starts and tries to connect to access point, it accesses DCT API to read the configuration and my GPIO pins toggle for flash of a second.
I have a few LEDs connected to GPIOs, and they create a flash every time device tries to access DCT API. I'm unable to solve and am clueless about how to go ahead.
Anyone else faced similar problem??
- dct api
I figured out what was the issue. I was periodically changing the state of GPIO pin inside an ISR, but when DCT write is happening, ISR does not get fired unless DCT write is over, and I was seeing unpredictable behaviour.
Now I've moved DCT application data to external flash and its working fine.