This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Designing a TI-RTOS project with a TIVA C Launchpad

Other Parts Discussed in Thread: TM4C123GH6PM

Hello all,

Here is my quandry. I am trying to set up a HWI to catch the interrupt from an ADC conversion result from ADC0 sequence 0. According to the TM4C123GH6PM Data Sheet, Interrupt Table, this should be interrupt number 14, vector number 30.

Sys/Bios refuses to allow me to set an HWI on anything below 16. I have tried to set an HWI on 30, and it does not hit. I can debug the processor and I see interrupt number 14 firing. Can anyone help me out here to see how to resolve this situation?

Thank you,

Michael Jordan

  • Hello Michael

    TI-RTOS Forum will be the right place to help you out

    Regards

    Amit

  • Michael,

    You should use the “vector number” as specified in the datasheet.  Which will be “30” for the ADC0 sequence 0 interrupt.  Numbers 0-15 are exceptions.  

    How are you configuring and enabling this interrupt?

    Can you describe “I see interrupt number 14 firing”?  Are you looking at status bits in the ADC0 registers to verify that the peripheral is raising the interrupt to the CPU?

    Thanks,
    Scott

  • I thank you for your reply, but I have decided to toss RTOS. What I am doing is fairly simple. All I want to do is run a continuous sampling of the ADC and send the samples up the USB link to the PC. Then I will write a GUI to catch and analyze the data. RTOS seems like it might be overkill for this project.

    Between an adc interrupt example and the usb_bulk_dev example I am managing to patch things together to get what I want done.

    Thanks again.