Farhan Husain

USB Host Stack and K20 TWR/FRDM

Discussion created by Farhan Husain on Jun 7, 2013
Latest reply on Aug 18, 2017 by Ariel Yegier

Does anyone know if there are any issues with the PE USB Host stack and the K20 boards? I didn't see any examples so I created a new one and incorporated the source from the examples. I have found that the USB interrupt doesn't seem to work. When you plug in or remove a device the ISR routine for PE USB isn't called and non of the interrupt registers show anything.


When I use the non-PE files/project, the programs run fine. I checked the NVIC and USB0 settings between the PE and non-PE versions and they are fine. All the correct interrupts are enabled, the USB interrupt enable registers are correct as well. The Vectors file layout pretty closely matches the non-PE version.


Any ideas? I would prefer to use PE if possible.