EMIOS_PWM - S32k344 with WS2812B

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EMIOS_PWM - S32k344 with WS2812B

298 Views
Salomi
Contributor I

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,

Salomi_0-1713172225915.png

Salomi_1-1713172225911.png

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.

0 Kudos
Reply
1 Reply

262 Views
PetrS
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply