Skip to main content
Topic: NRF24 module mode... (Read 2104 times) previous topic - next topic

NRF24 module mode...

It seems it will be relativly easy to implement NRF24 module mode..

using the ADC pin as the interrupt, and the aux pin for the TX/RS strart up, (CE pin of the module)
it uses simple SPI protocol, with few commands etc...we could even make a cable for it.. or a addapter pcb...

did some register read/writes, without any problems using the SPI connections..

here is the terminal
Code: [Select]
m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)

(1)>5
Set speed:
 1. 30KHz
 2. 125KHz
 3. 250KHz
 4. 1MHz

(1)>4
Clock polarity:
 1. Idle low *default
 2. Idle high

(1)>1
Output clock edge:
 1. Idle to active
 2. Active to idle *default

(2)>2
Input sample phase:
 1. Middle *default
 2. End

(1)>1
CS:
 1. CS
 2. /CS *default

(2)>2
Select output type:
 1. Open drain (H=Hi-Z, L=GND)
 2. Normal (H=3.3V, L=GND)

(1)>2
Ready
SPI>W
POWER SUPPLIES ON
SPI>[0
/CS ENABLED
WRITE: 0x00
SPI>r
READ: 0x08
SPI>r
READ: 0x08
SPI>r]
READ: 0x08
/CS DISABLED
SPI>[0rr]
/CS ENABLED
WRITE: 0x00
READ: 0x08
READ: 0x08
/CS DISABLED
SPI>[1r]
/CS ENABLED
WRITE: 0x01
READ: 0x3F
/CS DISABLED
SPI>[2r]
/CS ENABLED
WRITE: 0x02
READ: 0x03
/CS DISABLED
SPI>[3r]
/CS ENABLED
WRITE: 0x03
READ: 0x03
/CS DISABLED
SPI>[4r]
/CS ENABLED
WRITE: 0x04
READ: 0x03
/CS DISABLED
SPI>[5r]
/CS ENABLED
WRITE: 0x05
READ: 0x02
/CS DISABLED
SPI>[5r]
/CS ENABLED
WRITE: 0x05
READ: 0x02
/CS DISABLED
SPI>[0x25 100]
/CS ENABLED
WRITE: 0x25
WRITE: 0x64
/CS DISABLED
SPI>[5r]
/CS ENABLED
WRITE: 0x05
READ: 0x64
/CS DISABLED
best regards FIlip.

Re: NRF24 module mode...

Reply #1
cool,  I was thinking about buying a couple of those --- they are so cheap.

Re: NRF24 module mode...

Reply #2
I bought 20 do $23 :D
best regards FIlip.