Jump to content

ccc_ffs

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Thanks, tested all GPIOx. Unfortunately, after starting "gettingstarted.cpp": ./gettingstarted i saw this in my terminal: STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0 RX_ADDR_P0-1 = 0x0000000000 0xff00000000 RX_ADDR_P2-5 = 0xff 0xff 0xff 0xff TX_ADDR = 0xffffffffff RX_PW_P0-6 = 0xff 0xff 0xff 0xff 0xff 0xff EN_AA = 0xff EN_RXADDR = 0xff RF_CH = 0x00 RF_SETUP = 0x00 CONFIG = 0x00 DYNPD/FEATURE = 0x00 0x00 Data Rate = 1MBPS Model = nRF24L01 CRC Length = Disabled PA Power = PA_MIN ************ Role Setup *********** Choose a role: Enter 0 for pong_back, 1 for ping_out (CTRL+C to exit) >1 Role: Ping Out, starting transmission Now sending... RF24 HARDWARE FAIL: Radio not responding, verify pin connections, wiring, etc. RF24 HARDWARE FAIL: Radio not responding, verify pin connections, wiring, etc. As I understood, all the addresses can not be known because of wrong connection with NRF24L01+. I definitely have no idea how to fix it. In gettingstarted.cpp: RF24 radio(7,0); Connections: NRF24L01+ ----- NRF func ----- Orange Pi Zero ----- Orange func 1 GND 9 GND 2 VCC 1 3.3 v 3 CE 12 PA07 / GPIO7 4 CSN 13 PA00 / GPIO0 5 SCK 23 SPI1_CLK / PA14 / GPIO14 6 MOSI 19 SPI1_MOSI / PA15 / GPIO15 7 MISO 21 SPI1_MISO / PA16 / GPIO16 8 IRQ - - What's wrong?
  2. Hi, martinayoutte! Thanks for your answer! But there is no problems with nrf24l01, its pins and so on. There are problems with Orange Pi Zero. In RF24 libruary there is function radio(ce_pin, csn_pin). The arguments are pins. For example, in the code there was: RF24 radio(7,0); That does not mean that GPIO.7 is CE-pin and not GPIO.0 is CSN-pin. Actually, "0" means CE0-pin on Orange Pi Zero. Here is the problem. I don't kow what to write instead of "7". What I know is that arguments are not GPIO names of pins and not H2+ numbers of pins. So, what are they?
  3. I face with a problem using OrangePi Zero. There is no gpio22 as well as IO-7, so I can not use "RF24 radio(7,0)". I'm a beginner with Orange, and have some questions. I would be happy to be these questions answered) 1. Which pins can I put in this function (radio(?,?)) 2. What are these pins? Are they simply phisical numbers of H2+ processor? Or they are GPIO pins?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines