Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The usb_dev_msc doesn't work when DMA functionality for sector transmissions is enabled #4

Open
dollop80 opened this issue Feb 25, 2022 · 0 comments

Comments

@dollop80
Copy link

Hi Jon ,
thank you for the tm4c driver with DMA functionality. It really works great.
The only issue I've found that it doesn't work with USB device MSC once the DMA is defines

#define USE_SCATTERGATHER
#define USE_DMA_TX
#define USE_DMA_RX

are enabled. Once the DMA functionality is used the SS0 interrupt does not fire at all
It is easy to reproduce: open the examples\boards\dk-tm4c123g\usb_dev_msc project, replace the mmc-dk-tm4c123g.c with your driver and comment out the line #425 in the usb_dev_msc.c
ROM_uDMAControlBaseSet(&sDMAControlTable[0]);

Will appreciate your help
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant