#s32k396 sgen

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

#s32k396 sgen

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

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