GPIO Pins toggle when using DCT APIs for Internal Flash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

HI,

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??

0 Likes
2 Replies
Anonymous
Not applicable

Hey AB,

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.

Anonymous
Not applicable

Awesome. Thanks.

Best Regards,

AB

0 Likes