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.

DSP/BIOS HWI initialization

Currently I'm learning how to use DSP/BIOS from DSP educational ROMs, which can be found on ti website (C5000 & C6000 families). RTOS described there is relatively old, so there are some thing which have to be done different in version I use (5.41 for C5505). Some of them I could reveal myself, but can't solve problem with Hardware Interrupts. That older version have supported peripherals initialization from Configuration Tool and source of HWI was set also there. Newer version don't allow to do that in GUI, so I guess that peripheral initialization should be done in main() function using CSL. I've created function for HWI and set proper function name for HWI18 (i'm interested in RTC interrupt) in Configuration Tool. Is that all what need to be done to make that HWI work? Or there should be used some DSP/BIOS API function first (e.g. in main() ). Are the sources of interrupts permanently connected with certain HWI (RTC with HWI18 etc, like it is described in DSP System guide) or they have to be somehow "plugged in" in source code? Unfortunately any of CCS examples shows how to use HWI.

 Thanks in advance. Regards.   

 

EDIT:

Ok, I've finally make it work by adding CSL interrupt enable IRQ_enable(RTC_EVENT) to main and CSL_FINST(CSL_RTC_REGS->RTCINTFL, RTC_RTCINTFL_SECFL, SET) at end of HWI function. To be honest, I thought that I shouldn't use any interrupt related CSL functions, but seems that I've interpreted something wrong. Anyway, I would be grateful for feedback, that what I've done is correct.