Looks it ok, or maybe some things are wrong?
furthermore:
Finding the problem I discovered the sequence in module code:
masterHandler func waiting for non-zero dataReady func result,
which can be non-zero in case when func getReg(STATUS=7) returns not 14 value, but it returns exactly 14. inside of getReg I see spi.send which returns 14.
>nrf.spi.send([7,0],B0)[1]
=14
Gordon, does It mean than something is wrong with the SPI settings, or NRF module?
I checked 2 brand-new modules with the same results.
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.
Additionaly here is the registers content of master side:
Looks it ok, or maybe some things are wrong?
furthermore:
Finding the problem I discovered the sequence in module code:
masterHandler func waiting for non-zero dataReady func result,
which can be non-zero in case when func getReg(STATUS=7) returns not 14 value, but it returns exactly 14. inside of getReg I see spi.send which returns 14.
Gordon, does It mean than something is wrong with the SPI settings, or NRF module?
I checked 2 brand-new modules with the same results.