cancel
Showing results for 
Search instead for 
Did you mean: 

USE_BUFF_WO_ALIGNMENT with FatFS in STM32CubeMX

diverger
Senior
Posted on July 12, 2016 at 04:44

I's using STm32CubeMX to generate code for 429's OTG-FS. But I find there is a grayed option 'USE_BUFF_WO_ALIGNMENT', it's fixed to 'Enable', and on USB_OTG_FS configuration wizard, the 'Enable internal IP DMA' is fixed to 'Disable', why? Does it mean F429 OTG-FS can't use DMA?

#dma #otg
1 REPLY 1
slimen
Senior
Posted on July 13, 2016 at 15:31

Hi,

DMA transfer is only available in HS mode, but you can using the OTG HS in Full Speed mode to achieve your goal.

You can look into the STM32F4

http://www.st.com/content/ccc/resource/technical/document/datasheet/03/b4/b2/36/4c/72/49/29/DM00071990.pdf/files/DM00071990.pdf/jcr:content/translations/en.DM00071990.pdf

 and 

http://www.st.com/content/ccc/resource/technical/document/user_manual/1c/6b/06/e6/19/6c/46/bf/CD00289278.pdf/files/CD00289278.pdf/jcr:content/translations/en.CD00289278.pdf

 , that can be helpful for you.

Regards