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.

AM3359 A8 ,,WFI'' instruction won't cause IRQ on M3

Other Parts Discussed in Thread: AM3359

Hi!

I'm using a custom board with AM3359 CPU on it and I would like to try the low power modes.
I'm using the StarterWare library.

So I have written code for the Cortex-A8 inside the AM3359 which uploads the code of the Cortex-M3 inside the AM3359 and starts it, than wait for a synchronization and then execute a ,,WFI'' instruction. On the other side the Cortex-M3 waits for the IRQ-34 (PRCM_M3_IRQ2 PRCM - irq_mpuisgated_wkup_m3, Reference Manual page 526) after the synchronization event.

This IRQ never occurred.

If the A8 gets an IRQ after the WFI and wakes up, than the M3 gets the IRQ-48 (MPU_WAKE MPU subsystem - POMWAKEUP, Reference Manual page 527).

What settings needs to be done before executing the WFI to get an IRQ on the M3 as described in the Reference Manual page 984-985?

Best Regards,
Balazs