- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Initial info:
. ADC scanns 4 channels, one with single range detect, 2 with dif mode
.conversion triggered by software (ADC_startConv...) 4 sample averaging on all channels
.between conversions flash is written using API (EEPROM_WRITE..) into a single buffer ( interrupts not disabled)
.when entering intr read ADCSAR_SAR_INTR_REG, and written reg at the end
After few minutes of adc performace triggering interrups ( I can chatch this point) the interrupts stop firing anymore. reset is required and story repeats.
Conversion trigger bit is never cleared (acc. to TRM should be cleared by hardware). intr vector table is not modified during run.
I'm already contacting support case, but does not move thing forward.
Any ideas?
bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to make sure:
Are you using Creator 3.0 SP 7 and emulated EEProm version 1.10 (the former version had a bug)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, forgotten:
When possible, will you please create a Workspace Bundle and upload the project here, so that we all can have a look at or even reproduce the error.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a longshot, any variables modified in ISR not declared as volatile ?
Some additional info on volatile -
http://en.wikipedia.org/wiki/Volatile_variable
http://www.barrgroup.com/Embedded-Systems/How-To/C-Volatile-Keyword
Regards, Dana.