EMIOS_PWM - S32k344 with WS2812B

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

EMIOS_PWM - S32k344 with WS2812B

250 次查看
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 项奖励
回复
1 回复

214 次查看
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 项奖励
回复