You are reading a single comment by @Andrey and its replies. Click here to read the full conversation.
  • Additionaly here is the registers content of master side:

    =undefined
    >nrf.getAddr(0x00)
    =[0,0,0,0,0]
    >nrf.getAddr(0x01) 
    =[63,63,63,63,63]
    >nrf.getAddr(0x02) 
    =[3,3,3,3,3]
    >nrf.getAddr(0x03) 
    =[3,3,3,3,3]
    >nrf.getAddr(0x04) 
    =[3,3,3,3,3]
    >nrf.getAddr(0x05) 
    =[2,2,2,2,2]
    >nrf.getAddr(0x06) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x07) 
    =[14,14,14,14,14]
    >nrf.getAddr(0x08) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x09) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x0A)
    =[1,0,0,0,1]
    >nrf.getAddr(0x0B) 
    =[2,0,0,0,2]
    >nrf.getAddr(0x0C) 
    =[195,195,195,195,195]
    >nrf.getAddr(0x0D) 
    =[196,196,196,196,196]
    >nrf.getAddr(0x0E) 
    =[197,197,197,197,197]
    >nrf.getAddr(0x0F) 
    =[198,198,198,198,198]
    >nrf.getAddr(0x10) 
    =[1,0,0,0,1]
    >nrf.getAddr(0x11) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x12) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x13) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x14) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x15) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x16) 
    =[0,0,0,0,0]
    >nrf.getAddr(0x17)
    =[1,1,1,1,1]
    >
    

    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.

About

Avatar for Andrey @Andrey started