Output duplication with XBAR

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

Output duplication with XBAR

505 次查看
ecorini
Contributor I

Hi,

I'm using NXP IMX RT 1062 and i need to get the same PWM signal (controllable through the FlexPWM peripheral) out of the uC on these 2 pins GPIO_SD_B0_04 and GPIO_EMC_09.
Unfortunately it is not possible to associate the same FlexPWM submodule to both pins, and i need the signals to be synchronous.
I was wondering if it is possible to achieve a similar result driving one pin as FLEXPWM output and the other as duplicated output using XBAR matrix without CPU intervention.

I have no experience on XBAR peripheral, add all examples that i have found on SDK are not about FlexPWM and GPIO.

Is this possible? any examples?

Thank you very much!

Best Regards

Emanuele

 

0 项奖励
回复
1 回复

480 次查看
MultipleMonomials
Contributor IV

Yes, this is possible!  See my post here: https://community.nxp.com/t5/i-MX-RT/imxrt1052-connect-pwm-out-to-xbar-out-pin-by-xbar/m-p/1724065/h....  After routing the PWM signal to the XBAR, you can then configure the needed pin(s) as XBAR outputs (using IOMUXC_GPR->GPR6) and then connect them to FLEXPWMn_PWMx_OUT_TRIGy in the XBAR.  That should duplicate the XBAR signal on those pin(s).

0 项奖励
回复