#s32k396 sgen

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

#s32k396 sgen

708 次查看
maaong
Contributor I

Hello,

I am currently working with the S32K396 MCU and would like to implement RDC-less functionality using the SGEN peripheral.

I am using the S32 Design Studio and the RTD model for Basic Software configuration.

Assuming that the SGEN is properly configured, I would like to know which peripheral I can use to output the signal generated by SGEN so that I can observe it on an oscilloscope.

Additionally, which MCAL driver(s) should be configured in order to use the SGEN module?

Lastly, is it even possible to output a sine wave generated by SGEN to a physical pin?

Thank you for your support.

标记 (1)
0 项奖励
回复
1 回复

683 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am using the S32 Design Studio and the RTD model for Basic Software configuration.

SGEN is not currently supported by RTD.

You can use baremetal example code which is on our web for single motor control kit:

https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTR2AK396

There is set HW trigger, but you can modify it according to your needs.

Lastly, is it even possible to output a sine wave generated by SGEN to a physical pin?

Yes. Refer to IOMUX table attached to reference manual.

petervlna_0-1750235715575.pngpetervlna_0-1750235715575.png

Best regards,

Peter

0 项奖励
回复