My goal is to convert a USB bulk example from Stellarisware to the new Tiva CPU running TI RTOS. We have a product that uses a 9D96 Stellaris CPU that we need to migrate to a Tiva CPU due to obsolesce of the Stellaris 9D96 CPU. I understood how the Stellaris CPU worked and how to add and manage IRQ’s but I do not understand the IRQ’s are managed with the Tiva CPU’s when running the TI RTOS.
With the Stellarisware, there was a file in every example project Startup_ccs.c that had all the IRQ vectors listed. The unused vectors were all mapped to the function IntDefaultHandler() and to add a IRQ handler, I would create a function a plug it in the right location in the vector table and everything would work.
I have been looking at Tiva Examples using CCS 6.0.1 and a Tiva C eval board TM4C1294. One example I found was the example gpiointerrupt_TivaTM4C1294NCPDT that I can load and run to understand the interrupts. In the example gpiointerrupt_TivaTM4C1294NCPDT, I was looking at how the IRQ’s are configured. I would have thought that IRQ handlers are added through the GUI by opening the file gpiointerrupt.cfg and going to the Hwi button and adding an instance of a hardware interrupt. The example gpiointerrupt_TivaTM4C1294NCPDT does not add the IRQ via the GUI as I thought it would be. I see all the RTOS examples have files EK_TM4C1294XL.c and EK_TM4C1294XL.h included but I don’t see the vectors or how to add and manage them.
Can someone explain the recommended way the interrupts are managed with the TI RTOS for the Tiva C?
Thanks,
Doug