OVMS3-idf/components/driver
Ivan Grokhotkov f02cff13cc sdmmc: set highest possible host clock divider
SDMMC host suffers from an issue that it outputs data near the rising
edge of the card clock, which is the edge used by the card to sample
data. If sampling time constraint is not satisfied, card may read data
after the transition.

The phases of output/input data can, in fact, be adjusted. However this
adjustment happens in the clock generation block outside of the host.
So the maximum phase change which can be created this way is equal to
half of the host clock period. So if the host clock is set to the lowest
possible frequency (for the given card frequency), then the phase offset
(and hence the hold time) will be the highest. This change modifies the
logic used to determine clock dividers accordingly.

sdmmc host: set correct dout phase and print correct frequency
2018-04-11 11:06:50 +08:00
..
include/driver sdspi: handle error flags for R3/R7 responses 2018-03-30 18:49:42 +08:00
test test(spi_master): test spi master speed performance by median value. 2018-03-16 16:37:19 +08:00
adc1_i2s_private.h driver(i2s): fix broken i2s adc mode 2018-02-07 17:17:20 +08:00
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
gpio.c esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM 2018-01-30 17:09:37 +08:00
i2c.c driver(i2c): Fixed ack_err interrupt can't exit bug. 2018-03-26 16:31:17 +08:00
i2s.c Add a new i2s feature to expand the original i2s width 2018-03-22 18:52:55 +08:00
Kconfig bugfix(rtc): make sure peripherals (DAC, HALL) are turned off before conversion. 2018-03-28 17:10:01 +08:00
ledc.c Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master' 2017-12-01 19:33:53 +08:00
mcpwm.c feature: add Motor Control PWM(mcpwm) driver 2017-05-12 15:47:59 +08:00
pcnt.c PCNT: fix for pcnt_set_pin API, it can now use all pcnt channels 2017-06-16 11:18:00 +05:30
periph_ctrl.c refractor WiFi clock setting 2017-11-02 15:24:21 +08:00
rmt.c rmt: Fix LoadProhibited on RX END 2018-04-09 12:29:05 +10:00
rtc_module.c bugfix(rtc): make sure peripherals (DAC, HALL) are turned off before conversion. 2018-03-28 17:10:01 +08:00
sdmmc_host.c sdmmc: set highest possible host clock divider 2018-04-11 11:06:50 +08:00
sdmmc_private.h sdmmc: add peripheral driver and protocol layer 2017-01-09 04:51:24 +08:00
sdmmc_transaction.c sdmmc: don't set data_expected on SET_BUS_WIDTH command 2018-04-11 11:06:50 +08:00
sdspi_crc.c driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_crc.h driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_host.c sdspi: fix compatibility issue in multi block read 2018-03-30 18:49:42 +08:00
sdspi_private.h sdspi: use response timeout passed from upper layer 2017-12-11 11:07:08 +08:00
sdspi_transaction.c sdspi: handle error flags for R3/R7 responses 2018-03-30 18:49:42 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_common.c fix(spi): fix pin issue with GPIO0 (other pins than CS). 2018-01-29 17:44:36 +08:00
spi_master.c feat(spi_master): allow output high speed data when dummy bits are not used. 2018-03-26 21:24:32 +08:00
spi_slave.c fix(spi_slave): add interrupt free into bus free process. 2017-11-17 12:14:40 +08:00
timer.c Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
uart.c bugfix(uart): patten detect function 2018-01-22 13:33:51 +08:00