Hello all,
i am working with CCSv5.xx on a project with the LS20216 MCU on an eval board.
I am just working on one part of a project so I am not well informed about the hardware drivers of this software yet.
I am trying just to use a System Softare Interrupt.
My main problem is the lack of Information about this and that I am workign the first time with an TI MCU.
I found in some datasheets already the following information:
- In the list of the VIM the System Software Interrupt (SSI) is on position 21.
- the SSR Registers are used to generate an Interrutp via SSI (there are 4 possible SSIs)
- the SSIVEC Register holds the key of the activated SSI and its priority or at least the information if any SSI occured
- the SSIF Register holds SSI Flags
Now what I am missing is the information how to call an initialize the SSI in the software. And even how the name of the SSI function is.
I also looked in some header files. I found:
- a VIM_CONFIG area where only a phantomInterrupt(void) is activated.(in sys_VIM.h)
- a static const with all function pointers of the VIM list (should be 64), (sys_startup.c)
So I thought I could just take the pointer on position 21. But the pointers are mainly named phantomInterrupt.
Where could I get the information from how the pointer is named. So that I can look myself next time.
Also it would be nice to get some examples on how to init and use the Registers connected to the SSIs
Thanks for any helpful information.