- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
one customer wanted to use xmc4200 for digital power, they want to know the response time of the TRAP function work ,such as Overvoltage and overcurrent。is there any different between xmc1000 and xmc4000。they said TI28035 response time is less in 100 ns。
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1: You can use the fast compare mode in VADC, Comparison in Fast Compare
Mode can last a minimum of 150ns, but depends on the sampling time chosen. :
2: From the linker file, you can find the : generating a CCU8 TRAP with ADC fast compare :
3: From the linker, you can find the code example: Please search AP32288
Thanks,
Lingling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1: Please refer to the following interrupt subsystem AN about XMC1000/XMC4000.
2: As my understanding, the TRAP belongs to one kind of "interrupt", from the AN, we can find the XMC4000 core response time is 12 CPU cycles. If the CPU running at 144MHZ, then the response time is (1/144)x12 =83ns. The value depending on the CPU rate.
3: There are some differences between XMC1000 and XMC4000, you can also refer to the AN which present in point 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for your reply。befor the trap function,we may detect the voltage through the adc compare mode,How do we calculate this time? in one chinese spec, i find the adc Conversion time is 550ns @ 120MHz @ 1ch/1kernel for xmc4000 series.that is too slow.is the adc compare can faster?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1: You can use the fast compare mode in VADC, Comparison in Fast Compare
Mode can last a minimum of 150ns, but depends on the sampling time chosen. :
2: From the linker file, you can find the : generating a CCU8 TRAP with ADC fast compare :
3: From the linker, you can find the code example: Please search AP32288
Thanks,
Lingling