Neopixel LED color changes after interrupt from the peripheral

rana.roy
Posts: 2
Joined: Thu Feb 15, 2024 11:54 am

Neopixel LED color changes after interrupt from the peripheral

Postby rana.roy » Wed Jul 17, 2024 7:40 am

Description
I am using the NFC frontend chip to communicate with the ESP32C3. After the completion of the communication, the PI42TAS neopixel LED is operated.
Environment:
- MCU: ESP32C3
- RTOS: Zephyr
- Clock frequency: 160MHz
- Neopixel LED: Inolux PI42TAS
- Protocol: SPI with interrupt

Issue
During every first operation of the LED after the completion of SPI communication of ESP with the NFC frontend, the first bit of 24 bits has random behavior and the bit is getting stretched resulting in the change of color. The following LED operations work fine and the color remains as expected. The waveform of the stretched bit is attached for reference.

I would be grateful to get any insights on fixing this issue.
Attachments
Screenshot from 2024-07-17 13-06-32.png
The LED waveform after the interrupt.
Screenshot from 2024-07-17 13-06-32.png (27.18 KiB) Viewed 2460 times

Who is online

Users browsing this forum: No registered users and 5 guests