LPC55S69 USB fs host causes issues with ADC0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC55S69 USB fs host causes issues with ADC0

659 次查看
johan_carlsson
Contributor I

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

0 项奖励
回复
2 回复数

617 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

634 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复