Replies: 1 comment 4 replies
-
Did you setup the pins before opening SPI1? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
the following code tries to create SPI1 device, it will crash on my ESP32-C3 device.
try to get the clock frequency for SPI1 will also crash
SpiDevice.GetBusInfo(1).MinClockFrequency
I did some research, seems C3 chips has different SPI layout than ESP32. ref:https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/spi_master.html#:~:text=Overview%20of%20ESP32%E2%80%99s%20SPI%20peripherals%20ESP32%20integrates%204,arbiter%20to%20determine%20which%20can%20access%20the%20bus.
Not sure if my code is not correct or missing some something, many thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions