Is there a setting that determines the mapping between interrupts and modules in SoC Blockset R2025b?
8 views (last 30 days)
Show older comments
MathWorks Support Team
on 16 Dec 2025 at 0:00
Answered: MathWorks Support Team
on 23 Dec 2025 at 21:37
I am using the Hardware Mapping tool to configure interrupts for ADC operations. I typically set the "Module" parameter to ADC module A or B and then select an interrupt such as ADCINT1 for the "ADC Read" block. However, I’m unsure how these settings determine which interrupt event should be used to trigger tasks in the Task Manager.
Is there a specific setting that links the selected interrupt to the correct module, and how do I ensure that the Task Manager is triggered by the appropriate ADC interrupt event when I change the module or interrupt selection?
Accepted Answer
MathWorks Support Team
on 16 Dec 2025 at 0:00
The interrupt selected in the Hardware Mapping tool under "Interrupt selection" for the "ADC Read" block is tied to the corresponding "Module" parameter selection. If the module is changed, then the event triggering the Task Manager needs to be changed appropriately in the Hardware Mapping tool.
For example, if you set the "Module" to "B" and the "Interrupt selection" to "ADCINT1", then you must select "ADCB1_INT" as the "Interrupt name" for the Task Manager in the Hardware Mapping tool. For reference, please see the attached image, "TaskManagerEvents.png".
For more information on this workflow, please see our documentation on configuring interrupts and events using the Hardware Mapping tool.
0 Comments
More Answers (0)
See Also
Categories
Find more on Processor Software in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!