Not applicable
Feb 19, 2015
03:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2015
03:59 PM
Hi,
I am trying to drive a a pair of ADC conversions at 100kHz. I have a PWMSP001 set up at 100kHz, edge aligned, 50% duty cycle and start at initialization. It's not connected to a pin. I have an ADC001 set up like example2 (two groups, 1 channel per group, enable all), no gate, external trigger on rising edge, enable background arbitration. I have the period event connected to the adc trigger in signal connections.
When I run it, it never hits the breakpoint ant the beginning of the interrupt routine. If I send a ADC001_GenerateLoadEvent, the interrupt routine breakpoint fires just fine.
What's wrong and how can I trigger the pair conversion at 100kHz?
Also, it looks like the interrupt routine gets called for each result rather than each start request. Is there a way to tell which conversion happened (by group or channel)?
thanks,
jerry
I am trying to drive a a pair of ADC conversions at 100kHz. I have a PWMSP001 set up at 100kHz, edge aligned, 50% duty cycle and start at initialization. It's not connected to a pin. I have an ADC001 set up like example2 (two groups, 1 channel per group, enable all), no gate, external trigger on rising edge, enable background arbitration. I have the period event connected to the adc trigger in signal connections.
When I run it, it never hits the breakpoint ant the beginning of the interrupt routine. If I send a ADC001_GenerateLoadEvent, the interrupt routine breakpoint fires just fine.
What's wrong and how can I trigger the pair conversion at 100kHz?
Also, it looks like the interrupt routine gets called for each result rather than each start request. Is there a way to tell which conversion happened (by group or channel)?
thanks,
jerry
- Tags:
- IFX
2 Replies
Not applicable
Feb 19, 2015
04:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2015
04:38 PM
Another data point for what I am doing. I also have trouble getting the RTC001 app set to trigger on each second to hit the interrupt routine breakpoint. Same is also true for a SYSTM001 timer set up for 20ms repeating.
So there seems to be something more fundamental here.
jerry
So there seems to be something more fundamental here.
jerry
Not applicable
Feb 25, 2015
01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 25, 2015
01:03 AM
jerrys wrote:
Hi,
I am trying to drive a a pair of ADC conversions at 100kHz. I have a PWMSP001 set up at 100kHz, edge aligned, 50% duty cycle and start at initialization. It's not connected to a pin. I have an ADC001 set up like example2 (two groups, 1 channel per group, enable all), no gate, external trigger on rising edge, enable background arbitration. I have the period event connected to the adc trigger in signal connections.
When I run it, it never hits the breakpoint ant the beginning of the interrupt routine. If I send a ADC001_GenerateLoadEvent, the interrupt routine breakpoint fires just fine.
What's wrong and how can I trigger the pair conversion at 100kHz?
Also, it looks like the interrupt routine gets called for each result rather than each start request. Is there a way to tell which conversion happened (by group or channel)?
thanks,
jerry
Do you have problem using ADC002 with PWMSP001 at 100kHz triggering? Do you aware of erratum ADC_AI.008?
BR,
Zain