mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'fix_c5_spi_master_slave_rx_issue' into 'master'
fix(driver_spi): fixed c5/c61/h21 rx issue and support c61 eco3 changes Closes IDF-12880 and IDF-9300 See merge request espressif/esp-idf!40026
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
/*******************************************************************************
|
||||
* NOTICE
|
||||
* The LL layer for SPI register operations
|
||||
* Not public api, don't use in application code.
|
||||
* The LL layer for ESP32H21 SPI register operations
|
||||
* It is NOT public api, don't use in application code.
|
||||
******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
@@ -162,6 +162,10 @@ static inline void spi_ll_master_init(spi_dev_t *hw)
|
||||
hw->user.usr_miso_highpart = 0;
|
||||
hw->user.usr_mosi_highpart = 0;
|
||||
|
||||
//Disable unused error_end condition
|
||||
hw->user1.mst_wfull_err_end_en = 0;
|
||||
hw->user2.mst_rempty_err_end_en = 0;
|
||||
|
||||
//Disable unneeded ints
|
||||
hw->slave.val = 0;
|
||||
hw->user.val = 0;
|
||||
|
||||
Reference in New Issue
Block a user