Example ASR S32K312 EMIO PWM Generation & Duty capture using Polling DS3.5 RTD300

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

Example ASR S32K312 EMIO PWM Generation & Duty capture using Polling DS3.5 RTD300

Example ASR S32K312 EMIO PWM Generation & Duty capture using Polling DS3.5 RTD300

*******************************************************************************

The purpose of this demo application is to present a usage of the
EMIOS IP Driver in Polling mode for the S32K3xx MCU.

The example use to :--
EMIOS-1 - ch-0  --> PTC24 --> Generate the PWM
EMIOS-1 - ch-1  --> PTC25 --> is the ICU channel to measure the duty


Pins used :--

Dinesh_Guleria_0-1733896956186.png

Dinesh_Guleria_4-1733897197653.png

 

Dinesh_Guleria_5-1733897299281.jpeg

 


This example is tested for IPWM mode .  :--

Dinesh_Guleria_1-1733899599108.png

 

 
 
IPWM mode ,  ICU Driver User Manual :--

Dinesh_Guleria_2-1733897086528.png

 

Result :--

Dinesh_Guleria_0-1733899546647.png


Sometimes Compiling error comes, in Autogenerated RTD file.   
Change the Header file name :--

Dinesh_Guleria_1-1733900303954.png

 


 


 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************

Attachments
No ratings
Version history
Last update:
yesterday
Updated by: