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: |
|
|
@deadprogram |
|
Thanks for all your work on this PR. Last thing would be to add this to the smoke tests here: https://github.com/tinygo-org/tinygo/blob/dev/GNUmakefile#L907-L926 Probably building the |
0165c21 to
3bb2067
Compare
|
@deadprogram Look, the tests are passing, but there are some random failures.. |
|
Thank you very much for all your work on this @dimajolkin now squash/merging. |
|
Thank you, I appreciate it) |

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.