AnsweredAssumed Answered

USB interrupt reset

Question asked by Joey Gouly on Mar 8, 2015
Latest reply on Mar 17, 2015 by Joey Gouly

Hi all,


I recently got a FRDM-MKL26Z dev board and I'm having trouble getting USB up and running.


I took some code from the Teensy repository ( cores/teensy3 at master · PaulStoffregen/cores · GitHub ) and the USB code from this project ( kcuzner/teensy-oscilloscope · GitHub )


However, when I compile and flash the board the only USB interrupt that fires are 'reset' and 'sleep'.


I was wondering if someone could look at my code, and see if anything looks wrong.


I guess the main points of interest would be the following:


init_clocks_ref() : frdm-mkl26z/mkl26z64.c at master · jgouly/frdm-mkl26z · GitHub

usb_init() : frdm-mkl26z/usb.c at master · jgouly/frdm-mkl26z · GitHub

USBOTG_IRQHandler() : frdm-mkl26z/usb.c at master · jgouly/frdm-mkl26z · GitHub


Any help or guidance would be great, and if you need more information, let me know!






This question seems similar to USB k20_100: no TOKENDNE interrupt. Please help.  but it was never resolved.