Search found 5 matches
- Wed Jun 14, 2023 3:53 pm
- Forum: ESP-IDF
- Topic: SPI Multibyte read seems to drop the first two bytes
- Replies: 3
- Views: 1889
Re: SPI Multibyte read seems to drop the first two bytes
Thank-you very much for your ideas and quick response! Note that, for a read, the command is only one byte. This was the key point for me. I started out doing register writes (16 bit command) and reads (16-bit command still works, register value is in the first byte of t.rx_data) but apparently a 16...
- Wed Jun 14, 2023 2:31 am
- Forum: ESP-IDF
- Topic: SPI Multibyte read seems to drop the first two bytes
- Replies: 3
- Views: 1889
Re: SPI Multibyte read seems to drop the first two bytes
Further to this, I decided to look at the multibyte transactions on an oscilloscope with a SPI decoder. I was able to capture and analyze a transaction with the board upright (positive 1g on Z) and upside down (-1g on Z). Both transactions seem to be fine, except an extra unexpected couple of bytes ...
- Tue Jun 13, 2023 9:14 pm
- Forum: ESP-IDF
- Topic: SPI Multibyte read seems to drop the first two bytes
- Replies: 3
- Views: 1889
SPI Multibyte read seems to drop the first two bytes
Hi. I'm having a lot of trouble getting a multi-byte read working using the SPI. I've connected an ADXL345 accelerometer to an ESP32-S2-Solo-2 module. When I read the x, y and z accelerometer settings using MB I don't seem to get the x value. The read_buffer locations for x contain the y value and t...
- Wed Jun 07, 2023 4:31 pm
- Forum: ESP-IDF
- Topic: usb_host_lib example won't enumerate Launchpad Mk2
- Replies: 1
- Views: 1097
Re: usb_host_lib example won't enumerate Launchpad Mk2
I opened an issue on esp-idf github: https://github.com/espressif/esp-idf/issues/11616
- Tue Jun 06, 2023 7:07 pm
- Forum: ESP-IDF
- Topic: usb_host_lib example won't enumerate Launchpad Mk2
- Replies: 1
- Views: 1097
usb_host_lib example won't enumerate Launchpad Mk2
Hi, I've been trying to use the usb_host_lib example with a Novation Launchpad Mk2 and it is always failing: I (829) DAEMON: Installing USB Host Library V (829) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args V (839) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting fl...