Hi, Harsh,
Q1] In KV10 when fault interrupt occurs?1] In KV10 when fault interrupt occurs?
>>>>>>The Fault signal is an input signal from FTM perspective, they are from the external,pin or on-chip Comparator. I copy from UM of KV10 for the fault signal.
3.9.1.5 FTM Fault Detection Inputs
The following fault detection input options for the FTM modules are selected via the
SIM_SOPT4 register in the SIM module. The external pin option is selected by default.
• FTM0 FAULT0 = FTM0_FLT0 pin or CMP0_OUT
• FTM0 FAULT1 = FTM0_FLT1 pin or CMP1_OUT
• FTM0 FAULT2 = FTM0_FLT2 pin
• FTM0 FAULT3 = FTM0_FLT3 pin
• FTM1 FAULT0 = FTM1_FLT0 pin or CMP0_OUT
• FTM1 FAULT1 = CMP1_OUT
• FTM2 FAULT0 = FTM2_FLT0 pin or CMP0_OUT
• FTM2 FAULT1 = CMP1_OUT
Q2] when fault int occurs then whats happen with FTM generated PWM signals?
after proper configuration, When the fault signal appears, the FTM channel signals are disabled, and kept to a safe logic, which is defined in FTM_POL register. For example, if the POL0=0, when fault signals happen, the FTM_CH0 pin PWM signal is disabled, the FTM_CH0 pin is forced to become low logic. If the POL0=1, when fault signals happen, the FTM_CH0 pin PWM signal is disabled, the FTM_CH0 pin is forced to become high logic. After fault signals disappear, the PWM signals will recover automatically or manually.
Q3] How fault pin is related to Quadrature decoder?
>>>I do not think the fault signal takes effect on the Quadrature decoder.
Hope it can help you
BR
Xiangjun Rong