I use internal pullups, its OK.
For test you'd better try SDC example testhal\STM32F4xx\SDC, you may throw out everythyng from main.c and use only the folowing functions:
halInit
chSysInit
sdcStart
sdcConnect
and finally sdcRead/sdcWrite
no need in any pin manipulations in this case.
Search found 5 matches
- Sun Apr 19, 2015 5:29 pm
- Forum: STM32 Support
- Topic: stm32f407 SDIO problem
- Replies: 11
- Views: 9962
- Sat Apr 18, 2015 1:27 am
- Forum: STM32 Support
- Topic: ULPI not supported?
- Replies: 1
- Views: 1736
ULPI not supported?
Do I understand right that ULPI is not officially supported?
- Thu Apr 16, 2015 4:58 pm
- Forum: STM32 Support
- Topic: STM32F429/439 SD+DMA big trouble
- Replies: 3
- Views: 3291
Re: STM32F429/439 SD+DMA big trouble
Thanks Giovanni!
Digging chibios surprisingly gave me the only set of DMA and FIFO settings that works.
Digging chibios surprisingly gave me the only set of DMA and FIFO settings that works.
- Wed Apr 15, 2015 5:06 pm
- Forum: STM32 Support
- Topic: STM32F429/439 SD+DMA big trouble
- Replies: 3
- Views: 3291
STM32F429/439 SD+DMA big trouble
First of all, I use STMcube HAL, but the STM's support is useless, so excuse me for bugging you guys here.
When write to SD card, SDIO controller ALWAYS stops exactly at the last 16 bytes of data (DCOUNT = 0x10), TXUNDERR flag raises in STA register.
At the same time, the corresponding DMA stops ...
When write to SD card, SDIO controller ALWAYS stops exactly at the last 16 bytes of data (DCOUNT = 0x10), TXUNDERR flag raises in STA register.
At the same time, the corresponding DMA stops ...
- Sat Nov 29, 2014 12:19 pm
- Forum: STM32 Support
- Topic: Please advise if HAL for SDIO can use DMA or not?
- Replies: 1
- Views: 1798
Please advise if HAL for SDIO can use DMA or not?
I am not yet really familiar with ChibiOS, so I ask because I am searching an alternative to STM's native HAL.