Need sample code for CAN and PWM

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

Need sample code for CAN and PWM

1,394 次查看
pratayay123
Contributor III

Dear Team,

Could you please share below sample code for S32k144 series MCUS,

1. Can communication

2.PWM

is there any sample code for CAN signal to PWM signal conversion, if so then pls share that code also.

Thanks,

Pratyay

0 项奖励
回复
1 回复

1,385 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@pratayay123

 

1.About CAN communication you can refer to example:'flexcan_enerypted_s32k144' or "can_pal_s32k144",those two examples will show the usage of the FlexCAN module.

2.About PWM ,you can refer to example:"ftm_pwm_s32k144",this example using a single channel to light a LED on the S32K144EVB board.The light's intensity is increased and decreased periodically.

 

Above example code can be found in SDK: S32K1xx RTM 3.0.0.

And there is no such sample code for CAN signal related to PWM signal conversion ,so you need to write the application program by youself.

BR!

     Jim,

----------------------------------------------------------------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
----------------------------------------------------------------------------------------------------------------------------------------

0 项奖励
回复