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,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 ...
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…
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.