Relative Content

Tag Archive for cembeddeddriveresp32

ESP-IDF SPI write function does not work properly, read functions works

The thing is that I need to implement to functions: spiRegisterRead(uint16_t reg_addr) and spiRegisterWrite(uint_16t reg_addr, uit32_t reg_value). These two functions have a main goal of reading the full 32-bit register and writing to it. The read function works as expected, but the write function does not write anything. I have tried multiple versions of that, including using the TXDATA instead of TXBUFFERS etc.