Other Parts Discussed in Thread: CC3200
Hi,
I am using cc3220MODA for my application.
I have problem in dimming fan.
I use one thread for mqtt client which receive dimming value of appliance.
Fan dimming is working in cc3200 device but that same dimming code i put in cc3220 it is not working. My dimming code is active when zero crossing (ZCD) interrupt is detected.
I tried dimming in 2 case:
CASE 1 > I put all logic of dimming in ZCD interrupt.
CASE 2 > Set one variable when ZCD interrupt detect. then one separate thread with highest priority which handle logic of dimming.
In both case there is no dimming happen. some time device power failure restart.
Thanks,
Dinkar