2025-02-23 11:39 PM
I am using an ESP32S3 as an I2C master and an STM32G0 as an I2C slave. The STM32G0 is performing two tasks:
Whenever the STM32G0 processes an I2C interrupt, it misses a ZCD interrupt, causing a visible jerk in the dimming process. This likely happens because the I2C interrupt temporarily blocks the ZCD interrupt, leading to skipped TRIAC triggering.
ESP32S3 (I2C Master):
STM32G0 (I2C Slave + Dimmer Control):
Github link for dimmer control example : https://github.com/RobotDynOfficial/RBDDimmer/blob/master/examples/SimpleToggleDimmer/SimpleToggleDimmer.ino
NOTE: The code has been ported from Arduino library to STM32 Cube IDE to control dimmer.
Any kind of help or suggestions is appreciated .
2025-03-05 2:56 AM
Hello everyone !!!
Is there anyone who can help me out with this , as I am stuck here . I have not got any reply from anyone out there . If there is anyone out there , who can help me out , will be appreciated .
Thank you in advance .
Regards
Rahil