2013-06-13 07:04 AM
Hi everyone!
Could you give me a complete example for SDIO raw read/write with 4-bits wide bus and DMA?I'm trying to do it in Coocox CoIDE. Unfortunately there are no examples included. Could you write a manual step-by-step how to read and write data using CooCox DMA and SDIO library?2013-06-13 07:14 AM
There is no support for Coocox here, try their forum.
For SDIO STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Examples\SDIO\SDIO_uSDCard2013-06-14 12:29 AM
Thank you!
But it seems that someone is troilling me. When I include stm324xg_eval_sdio_sd.h it asks for another file and circle rounds.Where can I find a normal working project?2013-06-14 01:34 AM
Finally, I've found such project.
WriteMultiBlock is ok but reading returns error: Start bit not detected on all data signals in widE bus mode. Any ideas?Are pull-ups needed on PCB or internal pull-up is enough?2013-06-14 04:27 AM
Yes, you'll want pull-up's in the 33-47K range should suffice. Review circuit diagrams for boards supporting SD Cards.
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32%20sdio%20sdhc%204gb%20problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx?Paged%3DTRUE%26p_StickyPost%3D%26p_DiscussionLastUpdated%3D20130611%252013%253a49%253a06%26p_ID%3D31401%26View%3D%257bF47A9ED8%252dE726%252d42BE%252dACED%252d732F13B66581%257d%26FolderCTID%3D0x012001%26PageFirstRow%3D41¤tviews=1302]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fSTM32%20sdio%20sdhc%204gb%20problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex%5Fmx%5Fstm32%2FAllItems%2Easpx%3FPaged%3DTRUE%26p%5FStickyPost%3D%26p%5FDiscussionLastUpdated%3D20130611%252013%253a49%253a06%26p%5FID%3D31401%26View%3D%257bF47A9ED8%252dE726%252d42BE%252dACED%252d732F13B66581%257d%26FolderCTID%3D0x012001%26PageFirstRow%3D41¤tviews=13022013-07-16 11:08 PM
Hi Clive1,
Do you have to use external pull-up resistors or could you rely on the internal pull-up resistors (approx 40K) (which seem I noticed seems to be set in your sample code too)?2013-07-17 04:28 AM
You're welcome to try without them, I've been pretty unambiguous about my use of external pull-ups. A lot of people seem to have problems without them, and the internal ones are at the wrong end of the transmission line. Keep the traces short and uniform, place the resistors as close as possible to the card socket.