Hi to you all,
I'm working with lpclink2 and its LPC4370.
My goal is to build a multicore project where the m4 triggers the m0sub and the latter transfers data to a pc via USB.
I already have a working multicore setup, with M$ correctly triggering m0sub via IRQ.
My problem is USB. I use the LPCOpen driver provided with the usbd_rom_cdc example and it works as expected when implemented on the m4.
I want to run it from the M0sub so I took the example code and added to my m0sub application. The project compiles and the code seems to run, but actually the connection with the pc never happens.
You can look at my code here. It never executes this line.
So my question is: is it possible to use USB from m0sub? How to do so?