Search found 2 matches
- Wed May 29, 2024 1:10 pm
- Forum: ESP-IDF
- Topic: Unhandled exception in spi_device_polling_start()
- Replies: 2
- Views: 776
Re: Unhandled exception in spi_device_polling_start()
Turns out I needed to explicitly set the callback to NULL. I miss constructors and properly initialized structs! spi_device_interface_config_t devConfig; devConfig.command_bits = 0; devConfig.address_bits = 8; devConfig.dummy_bits = 0; devConfig.mode = 0; devConfig.clock_speed_hz = 5000000; devConfi...
- Wed May 29, 2024 2:48 am
- Forum: ESP-IDF
- Topic: Unhandled exception in spi_device_polling_start()
- Replies: 2
- Views: 776
Unhandled exception in spi_device_polling_start()
I'm trying to interface with an ADX345 (https://www.analog.com/media/en/technical-documentation/data-sheets/adxl345.pdf) using 5MHz 4-wire SPI on HSPI_HOST controller. I worked through the various error messages but now I hit an unhandled exception error in the esp_spi_driver component. Error messag...