assertion"ret_trans==trans_desc"failed: file"C:/msys32/home/heged/esp/esp-idf/components/driver/spi_master.c", line892, function:spi_device_transmitabort() was cassertion alled at PC 0"ret_transx400d2fbfon==trans_decore0 I know that, the standard anwser is the following: "You can...
I'm currently building a LED Matrix which is multiplexed. I want to achieve this by calling an ISR every x ms and send the data inside the ISR via SPI. When I do this it doesn't work, because it fails getting a result from spi_device_get_trans_result Can I even use spi_device_...
For communicating with an NFC reader peripheral, I am using SPI protocol. In the code, I only use synchronous communication with the SPI device (i.e. I only call spi_device_transmit() function). Once in a while, I would get the following...
A bit more checks: when putting a mutex around each handle id in spi_device_polling_transmit, the problem still happens unchanged, proving that this is not a self-reentrance issue. More interesting, when putting a global mutex for the whole spi_device_polling_transmit, then the problem goes...
(pn532_t*obj,uint8_tdata){spi_transaction_tt;memset(&t,0,sizeof(t));//Zero out the transactiont.length=8;t.tx_buffer=&data;ESP_ERROR_CHECK(spi_device_polling_transmit(obj->spi,&t));}/***//*! @brief Low-level SPI read wrapper @returns The 8-bit value that was read from ...