This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: DSP c66x AM5728

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

I have RTOS project for DSP c66
I want to configure interrupt to use sys_nirq1.

Code I used:

Fullscreen
1
2
3
4
HwiP_Params_init(&hwip_params);
hwip_params.priority = 0x20;
hwip_handle = HwiP_create(IrqId, (HwiP_Fxn)&IrqFunction, &hwip_params);
HwiP_enableInterrupt(IrqId);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Question is about variable IrqId;

I found in AM572x manual reference next table on page 4128. Table 17-3

DSP1_IRQ_33 2 CTRL_CORE_DSP1_IRQ_32_33[24:16] 2 EXT_SYS_IRQ_1 External interrupt (active low) via sys_nirq1 pin

I tried:
IrqId = 33
IrqId = 2
And
IrqId = 1.

But it does not work.

Also interesting, that 
hwip_params.triggerSensitivity = OSAL_ARM_GIC_TRIG_TYPE_EDGE;
this parameter triggerSensitivity is removed for dsp.

Kr,
Ilya Fedusiv