Related Forum information is three years old and the new nRF52 chips are six months new. I'm keeping my fingers crossed that there is a simple solution (other than no it doesn't work) to driving a Neopixel using software SPI.
The WS2812 data sheet indicates a bit rate of 800Kbps
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sat 2019.01.12
Related Forum information is three years old and the new nRF52 chips are six months new. I'm keeping my fingers crossed that there is a simple solution (other than no it doesn't work) to driving a Neopixel using software SPI.
The WS2812 data sheet indicates a bit rate of 800Kbps
Do the nRF52 boards support Hardware SPI?
A note on the MDBT42Q page: "Note: The nRF52 port has one available I2C, SPI and USART (and infinite software SPI and I2C)"
Q: Does this mean there is one hardware SPI port? If so, which pin?
If yes,
Q: Does the Pixl have the same functionality? (not so hopeful here either as I'm not seeing which pin)
Software SPI
From:
but
What is 'as fast as possible' and is that rate fast enough for the WS2812 ?
Related forum posts:
Post three years old so for Orig/Pico STM32 chips?
Uses a speed of 4000000 which is five times faster than the required bit rate of the WS2812
but, from the previous link, isn't the baud rate ignored?
Checked out Tips and Tricks and found allObjects Hw/Sw SPI article
Didn't apply in the WS2812 case.
Is this the Coup de Gras that indicates software SPI is a no go for the WS2812 ?
If so is there a simple explanation such as software SPI is ten times slower than the hardware equivalent?
I'm pouring over the nRF52 datasheet, but quite frankly having some difficulty in translating to Espruino boards
Thank you in advance @Gordon for the clarification,
Robin