2021-07-09 08:35 AM
Hello Community,
I use the STM32L4R9ZITx and would like to save data on a MicroSD card via SDMMC1. Usually I use the SD 4 bit wide bus mode. After an update of CubeMX and the HAL layers now two more options are offered. One is "Auto Dir Voltage Converter", which occupies another pin (SDMMC1_CDIR) and the other is "Dir Voltage Converter", which selects an other pin (CKIN) in addition to CDIR. Since the identifiers are unknown to me and until now the pure 4 bit mode worked, I wanted to know what these two options are used for? Googling the identifiers was not very informative. I look forward to more information.
Solved! Go to Solution.
2021-07-09 09:38 AM
I'd imagine the reference manual has pictures, the H7 where these transceivers were first used did. Look at the H7 docs if the L4+ ones aren't illustrative.
The transceivers were use where the card voltages are dropped to support high data rates, clocks and DDR modes.
The CKIN provides a full-loop feedback to understand how the clock/data has been skewed end-to-end, allowing for correct recovery of data placed on those edges.
The direction pin controlling the buffers and it transitions through phases of the data/command transfers with the cards.
If you're driving your cards at 2.9V - 3.3V, probably should just stick to the D0..D3, CLK, CMD wiring, and SDR data clocking. Should be able to hit 50 MHz with minimal design effort.
NXP SDMMC Transceiver
The original STM32H743I-EVAL used this now obsolete IP4856CX25
Not entirely on point, but good foundation
2021-07-09 09:38 AM
I'd imagine the reference manual has pictures, the H7 where these transceivers were first used did. Look at the H7 docs if the L4+ ones aren't illustrative.
The transceivers were use where the card voltages are dropped to support high data rates, clocks and DDR modes.
The CKIN provides a full-loop feedback to understand how the clock/data has been skewed end-to-end, allowing for correct recovery of data placed on those edges.
The direction pin controlling the buffers and it transitions through phases of the data/command transfers with the cards.
If you're driving your cards at 2.9V - 3.3V, probably should just stick to the D0..D3, CLK, CMD wiring, and SDR data clocking. Should be able to hit 50 MHz with minimal design effort.
NXP SDMMC Transceiver
The original STM32H743I-EVAL used this now obsolete IP4856CX25
Not entirely on point, but good foundation