OVMS3-idf/components/driver
Wangjialin 4052803e16 bugfix(uart): workaround for uart fifo reset issue
Reported from github:
https://github.com/espressif/esp-idf/issues/1219
https://github.com/espressif/esp-idf/issues/1202

After providing a simple code to digital team, they confirmed that this is a hardware bug.

Root cause:
The fifo reset signal is incorrectly connected
If we want to reset tx fifo of UART2, we have to set txfifo_rst bit of both UART1 and UART2
If we want to reset rx fifo of UART2, we have to set rxfifo_rst bit of both UART1 and UART2

Workaround:
we don't use fifo rst bit in driver.

Documentation:
Digital team would update TRM and give more explanation about this issue.
2017-11-13 15:23:00 +08:00
..
include/driver refractor WiFi clock setting 2017-11-02 15:24:21 +08:00
test example(adc2): add example and test case for adc2. 2017-10-26 14:35:30 +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 feature(gpio): add APIs to set and get pad drive capability. RTC pads use RTC registers to contol drive capability. 2017-07-19 11:23:41 +08:00
i2c.c bugfix(i2c): add I2C hardware reset if the hw FSM get stuck 2017-10-21 02:10:59 +08:00
i2s.c Merge branch 'bugfix/i2s_bck_polariy' into 'master' 2017-10-22 12:36:27 +08:00
ledc.c ledc_get_duty return type changed from int to uint32_t, target_duty changed from int to uint32_t 2017-09-13 01:43:42 +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 bugfix(rmt): fix event thresh check issue 2017-10-18 18:49:09 +08:00
rtc_module.c refactor(rtc): re-organize code in rtc_module.c 2017-10-26 14:35:30 +08:00
sdmmc_host.c sdmmc: use periph_ctrl to enable peripheral when initializing the host 2017-09-04 22:43:52 +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 fix(sdspi): fix issues causing the sdspi driver to work low efficiently with DMA. 2017-09-19 19:00:47 +08:00
sdspi_private.h driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_transaction.c driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_common.c periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround 2017-10-02 17:48:16 +11:00
spi_master.c spi master: lock APB frequency while in transaction 2017-10-18 14:19:21 +08:00
spi_slave.c spi slave: lock APB frequency while driver is in use 2017-10-18 14:37:21 +08:00
timer.c Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
uart.c bugfix(uart): workaround for uart fifo reset issue 2017-11-13 15:23:00 +08:00