I'm using ADC0 with interrupts on CPU0 which works good, but when i enable USB FS Host on CPU1 i get random crashes on CPU0.
What happens is that the ADC0 irq is triggered but the fifo is empty.
It seems like it's a spurious irq but if the irq is just ignored there will be no additional irq that signals that data is available on in the fifo.
CPU0 runs in secure mode and CPU1 uses the unsecured memory space.
Could there be an issue with using USB-FS host and ADC0 from different cores?
I see that both are connected to the same AHB bus and both are also quite close in the memory map.
Regards, Johan
Hello, my apologize for the delay response, we are experiencing a backlog, I reviewed your question and for this custom application I recommend review this document and thread.
LPC55xx/LPC55Sxx Dual-Core Debug in MCUXpresso (nxp.com)
Solved: LPC55S6x Dual Core Best Practice - NXP Community
Best regards,
Pavel
Hello, my name is Pavel, and I will be supporting our case, I will review your case, when I have more information, I will contact you.
Best regards,
Pavel