AnsweredAssumed Answered

INTC HW vector mode

Question asked by Aurelien.Leclercq on Nov 17, 2016
Latest reply on Nov 24, 2016 by Erwan Y

Hello e2e,
Is there any exemple demonstrating the INTC HW vector mode? I'm using SPC564B74 and I don't know how to add my vectors in the linker script. I added .extern pit1_ISR in ivor.s:

 * INTC registers address.
.equ  INTC_IACKR, 0xfff48010
.equ  INTC_EOIR,  0xfff48018

.extern pit1_ISR

but I was getting the assembler error:

../bsp/components/spc56ecxx_osal_component/lib/src/ivor.s:49: error: unrecognized external symbol type "" must be STT_OBJECT/STT_FUNC

So I removed it since the manual says that extern is ignored. It compiles then but the PIT is not generating interrupts...

My goal is to use FlexCAN, LINFlex and PIT1 using HW vector mode to be as fast as possible.

By the way, I'm following SPC5Studio since V2, and with V5, I have to say that it has never been so easy to start from scratch! (especially the license setup since node locked detection is just a click away) Thanks a lot!