Output duplication with XBAR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Output duplication with XBAR

500件の閲覧回数
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 返信

475件の閲覧回数
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 件の賞賛
返信