This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C8051F380 USB FIFO in XRAM

Hello everyone,

I am working with C8051F380, and I am implementing a USB CDC device.

I do not need to access the USB FIFO from XRAM, so I left USBFAE bit in register EMI0CF clear as the datasheet says (chapter 14.2).

The problem is that when I work with XRAM data stuctures from my code, the USB CDC communication stops working (I get a serial open incorrect parameter error from the host side).

So I limited the XRAM usage of my software to 0x000-0x3FF (leaving the USB FIFO dedicated space untouched) and all worked fine.

What am I missing? Can I rely on what I am seeing?

Thank you,

Mattia