Hello All ,
I am trying to generate the PWM frequency using EMIOS_PWM for two sets Set '0' ( TOH - 0.4ns,TOL - 0.85ns) and Set '1' (T1H - 0.8ns,T1L - 0.45ns )which is given below,
Note: Using the following pattern ,to control the LED strip (WS2812B).
Core_CLk - 160MHz , EMIOS_0_CH17 , Mode: OPWMB , Counter Bus : A
kindly help me .
Thanks.
Hi,
using EMIOS you should be able to generate such periods/duty cycles, but I do not know a way to make desired bitstream just using eMIOS. Maybe together with LCU somehow. I am not aware or ready solution for that.
Maybe Flexio is better, some solution is mentioned in https://mcuoneclipse.com/2016/05/22/nxp-flexio-generator-for-the-ws2812b-led-stripe-protocol/, but you will need to port that to S32K3
BR, Petr