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.

TMS320F28388D: Interrupt driverlib module with sys bios

Part Number: TMS320F28388D
Other Parts Discussed in Thread: TMS320F28386D

Hi,

I am trying to integrate my bare metal application into sys bios application. 

I am working on CM core of TMS320F28386D.

However, I am coming across problems with interrupt library and I am unable to find any documentation related to it. 

in interrupt.h, there is macro that disables vector table. 

//*****************************************************************************
//
// Flash Vector Table defined in startup.ccs.
//
//*****************************************************************************
#ifndef USE_RTOS
extern void (*vectorTableFlash[NUM_INTERRUPTS])(void);
#endif

//*****************************************************************************
//
// RAM Vector Table to be used as dstVectorTable in
// Interrupt_initRAMVectorTable(). Set the size of the vector table to the
// largest number of interrupts of any device.
//
//*****************************************************************************
#ifndef USE_RTOS
extern void (*vectorTableRAM[NUM_INTERRUPTS])(void);
#endif
#endif

USE_RTOS. 

How is this integrated with overall sys bios? Are there any example or documentation that I can refer to related to this? 

Thanks for your help

swapnil 

  • If you're using SYS/BIOS you should let the SYS/BIOS Hwi module manage your interrupts for you.  Instead of calling the driverlib Interrupt_* functions, you should create Hwis for your interrupts and use Hwi functions if you need to enable/disable interrupts. There's more info about the SYS/BIOS Hwi module in the HAL chapter of the SYS/BIOS User's Guide.

    Whitney