OVMS3-idf/components/driver
Ivan Grokhotkov 4a2489b99a sdspi: fix compatibility issue in multi block read
SDSPI driver optimized polling of the response tokens by requesting
two extra bytes on top of the block size (512) and CRC (2), and
checking whether these bytes contained the data response token or
not. In case the token was there, further polling would not need to
happen, thereby reducing latency between two consecutive blocks
transferred. However this caused compatibility issues when these two
extra bytes were sent after reading the final block. When
STOP_TRANSMISSION command was sent, these extra two bytes were
treated as part of the command, causing an invalid command error.

This fixes the logic by only requesting extra two bytes if the block
being read is not the final block. In addition to that, more strict
error checking is implemented for command response tokens.
2018-03-30 18:49:42 +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 fix(adc2): fix cct and xpd configurations to improve precision of ADCs 2018-03-26 12:02:26 +00: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: Add void * argument for end-of-transmission callback 2018-01-05 17:31:59 +11:00
rtc_module.c fix(adc2): fix cct and xpd configurations to improve precision of ADCs 2018-03-26 12:02:26 +00:00
sdmmc_host.c fix(sdmmc_host): fix the issue when slot and host flag are not compatible. 2018-02-07 12:05:05 +08:00
sdmmc_private.h sdmmc: add peripheral driver and protocol layer 2017-01-09 04:51:24 +08:00
sdmmc_transaction.c sdmmc: lock APB frequency while in transaction 2017-10-18 14:19:20 +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