S32K344_Example_Ocu_Overflow_Icu_Edge_S32DS34_RTD200_v2

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

S32K344_Example_Ocu_Overflow_Icu_Edge_S32DS34_RTD200_v2

S32K344_Example_Ocu_Overflow_Icu_Edge_S32DS34_RTD200_v2

****************************************************************************************************
 Detailed Description:

 The current RTD RTM 2.0.0 does not support overflow notification
 if EMIOS ICU is used in the Edge Detect mode.
 Workaround is to use another channel in ECU mode
 clocked by the same counter bus as the ICU channel.

 Emios_0 input clock: 48MHz CORE_CLK

 MCL EMIOS_0_Ch_23 (BUS_A)
 Global clock devider: 48
 MCB prescaler: 1
 MCB clock: 1MHz
 MCB tick: 1us
 MCB period: 65_535 ticks

 Both OCU (Emios_0_Ch0) and ICU (Emios_0_ch3) use the same BUS_A counter clock.

 GPIO generated PWM period: ~0.5s
 That's 500_000 ticks

 ICU routed to PTB0
 GPIO PWM to PTB1

 -----------------------------------------------------------------------------------------------
 Test HW: S32K3X4EVB-Q172
 MCU: S32K344
 Debugger: S32DS 3.4, PEMicro Multilink rev.C
 Target: internal_FLASH
****************************************************************************************************

Attachments
No ratings
Version history
Last update:
‎05-10-2022 06:04 AM
Updated by: