CCS 5.2, Sys/Bios 6.33
I want to transfer data from M3 to C28 and vice versa triggered by an interrupt on both parts. While the interrupt on C28 fires when I set the IPC flag 1, the interrupt on M3 does not. The image below shows my settings in Sys/Bios. Actually I am not sure whether the interrupt number must be 80 or 96 and the priority 3 or (3*32). So the values I used might be wrong.
The code in C28 is "CtoMIpcRegs.CTOMIPCSET.all |= 1". What else must be done to make it work?
Thanks and regards,
Walter
Walter,For the interrupt number you’ll need to specify the corresponding NVIC “Vector Number” for the appropriate CTOMIPC interrupt:
So instead of a Hwi interrupt number of ‘80’ for CTOMIPC1, you’ll need to specify ‘96’.How to determine the value to specify for the interrupt priority is described here: http://processors.wiki.ti.com/index.php/SYS/BIOS_for_Stellaris_Devices#Supported_Priority_ValuesScott
Thanks, Scott. That was it. It's a bit unfortunate though, that in the configuration tool it says "Interrupt number" and the documentation also has a column "Interrupt number" which however is the wrong choice ...
Walter,
Yes, agreed! There is significant sharing of the Hwi configuration and runtime code with other Cortex M3 devices, and the terminology in the data sheets for the different devices is a bit different. I’m going to look for a good place to document this difference on Concerto…
Scott