Need sample code for CAN and PWM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need sample code for CAN and PWM

807 Views
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 Kudos
Reply
1 Reply

798 Views
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 Kudos
Reply