XMC4500 USB Flash drive - SLTHA001 / USBBL001_USBMS001- Stuck in IRQ

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I'm using the XMC4500 and attempting to run the Dave3 example USBBL001_USBMS001.
- When plug in the USB drive, it doesn't create a dir/file
- I'm using XMC4500-1024-F144 AB

- I have updated all the Dave tools
- I've looked at the ERRATA and i don't believe the 2 issues listed are what I'm seeing.
- Ive tried rebuilding the example from the dave app SLTHA001

In Main, it does recognizes the drive and calls FATFS_TestDemo() when it plugs in.
- Once it tries to access the drive by f_mkdir OR f_open a USB interrupt occurs indefinitely and never returns to back to MAIN
- the USB drive light turns on, the VBUS_DRIVE works
- I've verified USB ID P0.9 is grounded to signal HOST Mode

GINTSTS_HOSTMODE is 0x600003b or 0x400003b at the start of every interrupt
- ModeMis = 1 (Mode Mismatch Interrupt is set, i think this is part of the main problem)
- Sof = 1
- RxFLvl = 1
- HChInt = 1 / 0
- PTxFEmp = 1

Have you seen this before? What can I try next?

Thanks
0 Likes
0 Replies