Martin Dusek

MCF52213 USB doesn't work

Discussion created by Martin Dusek on Oct 29, 2010
Latest reply on Oct 25, 2011 by Jose Ribeiro


last week I posted here a question about MCF52213 USB (I downloaded USB stack with PHDC - and I wasn't able to detect any logic level on USB_DM and USB_DP pins).


Now I downloaded CMX USB stack, modified USB host mass storage example (it was designed for MCF52221) and run it on my MCF52213. It's like with the USB stack mentioned above - no logic level on USB pins (they should be pulled down - the routine that enables pull downs is executed). Also when I attach my USB flash drive to MCF52213 it does nothing - USB flash drive only pulls up on USB_DM pin, but no communication comes after.


I really don't know where to look for any problem. VDDUSB is tied to VDD of the MCU (so it has 3.3 V), VSSUSB in on GND. MCU is clocked using 8 MHz crystal multiplied by 6 by PLL (= 48 MHz). USB module clock source is system clock (so it should be 48 MHz).


Please give me any suggestions.