- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Krup,
we would like to know the relationship between the /CTRIP and /Enable in the FOC software.
/Enable TP301A.15 on XMC4400 board
/CTRIP0 TP301A.13 on XMC 4400 board
/CTRIP0 is monitored by ISR. and /Enable is controlled by state machine. Can we describe the /CTRIP0 detection sequence as following.
Power ON. ----> Software will check /CTRIP0
Branch 1, if /CTRIP0 = GND, Set /ENABLE to high.
Branch 2, if / CTRIP0 = High, Set /Enable to Low, ( enable the invertor).
Question:
1. Does XMC4400 provide a filter for CTRIP0 detection? and what is the sampling rate if level detection? What is the filter value?
2. Will XMC4400 enable the invertor before detecting the /CTRIP0?
Finally, where can we find the documentation for this question? or we have to read the code? If we have to read the code, may advice which function?
Regards
Solved! Go to Solution.
- Labels:
-
XMC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @BlueSky ,
1. Does XMC4400 provide a filter for CTRIP0 detection? and what is the sampling rate if level detection? What is the filter value?
XMC_CCU8_SLICE_CaptureInit(); -> initialize the CCU8 capture
XMC_CCU8_SLICE_CAPTURE_CONFIG_t -> Use this structure to configure pre-scaler to vary the filter time
XMC_CCU8_SLICE_SetPassiveLevel(); -> can be used to set the passive level of inverter pin.
2. Will XMC4400 enable the invertor before detecting the /CTRIP0?
CTRAP - will be initiated during interrupt initialization
CTRAP will be initialized and captured before inverter initialization
Thanks,
Krupashankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @BlueSky ,
1. Does XMC4400 provide a filter for CTRIP0 detection? and what is the sampling rate if level detection? What is the filter value?
XMC_CCU8_SLICE_CaptureInit(); -> initialize the CCU8 capture
XMC_CCU8_SLICE_CAPTURE_CONFIG_t -> Use this structure to configure pre-scaler to vary the filter time
XMC_CCU8_SLICE_SetPassiveLevel(); -> can be used to set the passive level of inverter pin.
2. Will XMC4400 enable the invertor before detecting the /CTRIP0?
CTRAP - will be initiated during interrupt initialization
CTRAP will be initialized and captured before inverter initialization
Thanks,
Krupashankar