Closed SaraNassef closed 2 years ago
I used this function pos_irq_set_fc_vector_base(pos_irq_vector_base());
before pos_irq_set_handler(IRQ_NUMBER, IRQ_HANDLER);
and together with these functions pos_irq_cl_mask_set(1<<IRQ_NUMBER);
& pos_irq_clr(1<<IRQ_NUMBER);
I managed to handle the interrupt.
With this I can close the issue.
In order to set an interrupt handler I use this function
pos_irq_set_handler(IRQ_NUMBER, IRQ_HANDLER);
and it works fine. Does this function work for cluster cores as well ? I tried using it but I got this error messageIllegal instruction (core 1) at PC 0x00000000:
Or is there another one that should be used ?Thanks in advance.