Other Parts Discussed in Thread: SYSBIOS, LM3S6965
We're having an issue assigning some interrupts to control an ADC sequence. Here's my code:
ADCSequenceConfigure(ADC0_BASE, ADC_SEQUENCER, ADC_TRIGGER_TIMER, 0);
ADCSequenceStepConfigure(ADC0_BASE, ADC_SEQUENCER, 0, ADC_CTL_CH0 | ADC_CTL_IE | ADC_CTL_END);
ADCSequenceEnable(ADC0_BASE, ADC_SEQUENCER);
ADCIntRegister(ADC0_BASE, ADC_SEQUENCER, task_timer);
ADCIntEnable(ADC0_BASE, ADC_SEQUENCER);
The problem we're seeing is that when we put in the ADCIntRegister call, we get "run placement fails for object ".vtable""
Looking at some other forum posts, the typical comment on issues with ADCIntRegister seems to be "Oh yeah, that'll happen. Don't do interrupts with ADCIntRegister, instead manually assign them using your .s file"
I'm using Sys/Bios though, and don't appear to have a .s file, nor do I see anything in my .cfg file that lets me manually assign these interrupts to fire when the ADC sequence completes. Any assistance with either creating a .s file and incorporating it into my project to handle this, or with assigning my interrupts using the .cfg file would be appreciated.