Skip to content
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

Espruino WiFi neopixel disables IRQ #1960

Open
gfwilliams opened this issue Nov 26, 2020 · 3 comments
Open

Espruino WiFi neopixel disables IRQ #1960

gfwilliams opened this issue Nov 26, 2020 · 3 comments

Comments

@gfwilliams
Copy link
Member

From: http://forum.espruino.com/conversations/356951

We have two options:

  • Properly implement SPI DMA via jshSPISendMany, and then use that to push the NeoPixel data
  • Ensure that neopixel send flips the CTS pins on any serial devices that have CTS - this would fix the WiFi case nicely but may still cause issues with other things
@gfwilliams
Copy link
Member Author

Workaround for now is to manually flip CTS:

A15.set();
neopixel.write...
A15.reset();

@GermanWarez
Copy link

GPIO15 is free to use, I don't think the workaround will work, unless the serial console is set to "AT+UART 3" during initialization. But this could break comms for some boards and users.

@gfwilliams
Copy link
Member Author

unless the serial console is set to "AT+UART 3"

It's set to 2 already here: https://github.com/espruino/EspruinoDocs/blob/master/devices/EspruinoWiFi.js#L282

Will that not do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants