-
Notifications
You must be signed in to change notification settings - Fork 1k
Esp32s3 implement spi #5169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Esp32s3 implement spi #5169
Conversation
|
/cc @ysoldak |
|
Sorry, I have esp32c3 only, not "s", otherwise would help testing, of course. |
|
I have a esp32-s3 to test with, and will take a look. |
|
So far I have not been able to get SPI working on my Xiao ESP32s3 with this PR. Any thoughts on this @dimajolkin ? |
|
I will check docs for this MC) And order this for test @deadprogram I made a quick fix to the frequency calculation. Can you check it? |
|
I've placed an order for this MK. When it arrives, I'll debug it for him too, if the fix doesn't work. Additions: const (
TFT_SCLK machine.Pin = 7 // SCK - Serial Clock (GPIO7)
TFT_MOSI machine.Pin = 8 // MOSI / SDO (GPIO8)
)
func main() {
spi := machine.SPI1
spi.Configure(machine.SPIConfig{
SCK: TFT_SCLK,
SDO: TFT_MOSI,
})7, 8 - pins tested too |
|
@dimajolkin looks like you need to run the linter: |
|
Hi, thanks for the SPI work and the T-Deck test. Could you please share the test code you used to drive the display on the T-Deck (the one shown in the screenshot)? |
Hi, for tdeck need specific driver, you can find here: |
Hi! I tried to create a SPI, and it seems to have worked. I tested it on esp32s3-wroom1
I ran LILYGO T-Deck Plus.
It also changed to a gradual frequency increase. My esp32s3-wroom1 would freeze if I set it to 240 immediately.