I would like to use usb2 for usbx_device_mass_storage demo example.
I have modified slightly the demo with the following:
#define CONTROLLER_ID kUSB_ControllerEhci1
irqNumber = usbDeviceEhciIrq[1];
void USB_OTG2_IRQHandler(void)
{
USB_DeviceEhciIsrFunction(deviceHandle);
}
But it is not working.
Could you advised me the correct modifications to be done?
Best regards,
Solved! Go to Solution.
Hi @Mc2023
Looking into the example you can find the next function:
Did you also change the configuration to enable de USB1 clocks?
Best Regards, Miguel.
Hi @Mc2023
Looking into the example you can find the next function:
Did you also change the configuration to enable de USB1 clocks?
Best Regards, Miguel.
Hi @Miguel04,
Thanks a lot for your feedback!
In the meantime, I have found the solution. Your proposed solution is correct!
Best regards,
Mustafa
We recommend to you to read this note application to understand better the spi communication https://www.nxp.com/docs/en/application-note/AN991.pdf
The recommendation does not make sense.
In this case there is no link between SPI and USB