Hello, Does anyone know the proper pin for the SCK line from a teensy 4.1 to an NRF24 module ?
I thought it was pin 13 but it seems when I use that pin the module works but I am getting errors but when I leave SCK unhooked from the Teensy, the nrf24 module looks offline .....here is the results I get below
nrf24 SCK - > 13 unplugged
13:33:15.886 -> RF24/examples/GettingStarted
13:33:15.886 -> *** PRESS 'T' to begin transmitting to the other node
13:33:15.886 -> SPI Speedz = 10 Mhz
13:33:15.886 -> STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
13:33:15.886 -> RX_ADDR_P0-1 = 0x0000000000 0x0000000000
13:33:15.886 -> RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
13:33:15.886 -> TX_ADDR = 0x0000000000
13:33:15.886 -> RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
13:33:15.886 -> EN_AA = 0x00
13:33:15.886 -> EN_RXADDR = 0x00
13:33:15.886 -> RF_CH = 0x00
13:33:15.886 -> RF_SETUP = 0x00
13:33:15.886 -> CONFIG = 0x00
13:33:15.886 -> DYNPD/FEATURE = 0x00 0x00
13:33:15.886 -> Data Rate = 1MBPS
13:33:15.886 -> Model = nRF24L01
13:33:15.886 -> CRC Length = Disabled
13:33:15.886 -> PA Power = PA_MIN
13:33:15.886 -> Now sending
13:33:15.979 -> failed
13:33:15.979 -> Sent 7274202, Got response 0, Round-trip delay 100928 microseconds
13:33:17.011 -> Now sending
13:33:17.104 -> failed
13:33:17.104 -> Sent 8375444, Got response 0, Round-trip delay 95679 microseconds
13:33:18.089 -> Now sending
13:33:18.183 -> failed
13:33:18.183 -> Sent 9471437, Got response 0, Round-trip delay 95690 microseconds
nrf24 SCK - > 13 plugged
13:34:32.031 -> RF24/examples/GettingStarted
13:34:32.031 -> *** PRESS 'T' to begin transmitting to the other node
13:34:32.031 -> SPI Speedz = 10 Mhz
13:34:32.031 -> STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
13:34:32.031 -> RX_ADDR_P0-1 = 0x3a00000101 0x3130303030
13:34:32.031 -> RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
13:34:32.031 -> TX_ADDR = 0x3a00000101
13:34:32.031 -> RX_PW_P0-6 = 0x20 0x20 0x00 0x00 0x00 0x00
13:34:32.031 -> EN_AA = 0x00
13:34:32.031 -> EN_RXADDR = 0x02
13:34:32.031 -> RF_CH = 0x4c
13:34:32.031 -> RF_SETUP = 0x21
13:34:32.031 -> CONFIG = 0x0f
13:34:32.031 -> DYNPD/FEATURE = 0x00 0x00
13:34:32.031 -> Data Rate = 250KBPS
13:34:32.031 -> Model = nRF24L01+
13:34:32.031 -> CRC Length = 16 bits
13:34:32.031 -> PA Power = PA_MIN
13:34:32.031 -> Now sending
13:34:32.265 -> Failed, response timed out.
13:34:33.249 -> Now sending
13:34:33.437 -> Failed, response timed out.
13:34:34.468 -> Now sending
13:34:34.656 -> Failed, response timed out.
I thought it was pin 13 but it seems when I use that pin the module works but I am getting errors but when I leave SCK unhooked from the Teensy, the nrf24 module looks offline .....here is the results I get below
nrf24 SCK - > 13 unplugged
13:33:15.886 -> RF24/examples/GettingStarted
13:33:15.886 -> *** PRESS 'T' to begin transmitting to the other node
13:33:15.886 -> SPI Speedz = 10 Mhz
13:33:15.886 -> STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
13:33:15.886 -> RX_ADDR_P0-1 = 0x0000000000 0x0000000000
13:33:15.886 -> RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
13:33:15.886 -> TX_ADDR = 0x0000000000
13:33:15.886 -> RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
13:33:15.886 -> EN_AA = 0x00
13:33:15.886 -> EN_RXADDR = 0x00
13:33:15.886 -> RF_CH = 0x00
13:33:15.886 -> RF_SETUP = 0x00
13:33:15.886 -> CONFIG = 0x00
13:33:15.886 -> DYNPD/FEATURE = 0x00 0x00
13:33:15.886 -> Data Rate = 1MBPS
13:33:15.886 -> Model = nRF24L01
13:33:15.886 -> CRC Length = Disabled
13:33:15.886 -> PA Power = PA_MIN
13:33:15.886 -> Now sending
13:33:15.979 -> failed
13:33:15.979 -> Sent 7274202, Got response 0, Round-trip delay 100928 microseconds
13:33:17.011 -> Now sending
13:33:17.104 -> failed
13:33:17.104 -> Sent 8375444, Got response 0, Round-trip delay 95679 microseconds
13:33:18.089 -> Now sending
13:33:18.183 -> failed
13:33:18.183 -> Sent 9471437, Got response 0, Round-trip delay 95690 microseconds
nrf24 SCK - > 13 plugged
13:34:32.031 -> RF24/examples/GettingStarted
13:34:32.031 -> *** PRESS 'T' to begin transmitting to the other node
13:34:32.031 -> SPI Speedz = 10 Mhz
13:34:32.031 -> STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
13:34:32.031 -> RX_ADDR_P0-1 = 0x3a00000101 0x3130303030
13:34:32.031 -> RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
13:34:32.031 -> TX_ADDR = 0x3a00000101
13:34:32.031 -> RX_PW_P0-6 = 0x20 0x20 0x00 0x00 0x00 0x00
13:34:32.031 -> EN_AA = 0x00
13:34:32.031 -> EN_RXADDR = 0x02
13:34:32.031 -> RF_CH = 0x4c
13:34:32.031 -> RF_SETUP = 0x21
13:34:32.031 -> CONFIG = 0x0f
13:34:32.031 -> DYNPD/FEATURE = 0x00 0x00
13:34:32.031 -> Data Rate = 250KBPS
13:34:32.031 -> Model = nRF24L01+
13:34:32.031 -> CRC Length = 16 bits
13:34:32.031 -> PA Power = PA_MIN
13:34:32.031 -> Now sending
13:34:32.265 -> Failed, response timed out.
13:34:33.249 -> Now sending
13:34:33.437 -> Failed, response timed out.
13:34:34.468 -> Now sending
13:34:34.656 -> Failed, response timed out.