Using nRF24Z1 Example Code for the nRF24LE1

Discussion about wireless devices

Using nRF24Z1 Example Code for the nRF24LE1

Postby ARice84 » Sun Jan 22, 2017 6:34 pm

Hello All,

I've got the full set of Brennen's breakout boards that are needed to use the nRF24L01 example code for the nRF24Z1. I have successfully programmed each nRF24L01 with the RX and TX example code. I have gone wrong somewhere in attempting to wire the audio transmitter breakout boards together and/or attempting to wire the audio receiver breakout boards together.

Before I post my complete wiring schematic, I wondered if anyone would check my figure below to verify I have the 30,000ft view correct. Any help would be greatly appreciated.
http://i1333.photobucket.com/albums/w63 ... hpt3pr.png

Best,
Aaron
Last edited by ARice84 on Wed Feb 22, 2017 1:23 pm, edited 1 time in total.
ARice84
 
Posts: 4
Joined: Sat Sep 24, 2016 10:50 pm

Re: Using nRF24Z1 Example Code for the nRF24L01

Postby brennen » Mon Jan 23, 2017 2:39 pm

I'm going to assume you mean example code for the nRF24LE1. ;)

For my tests, the master SPI (MSCK, MMOSI, and MMISO) on the nRF24LE1 is connected to the slave SPI of the nRF24Z1 on both sides of the link, and to the slave SPI of either the ADC or DAC depending on the side link (note that the master SPI pins on the nRF24LE1 are different for each of the three package sizes, so consult the manual for those).

P0.0 on the nRF24LE1 is connected to the nRF24Z1's slave SPI CSN input.

P0.1 on the nRF24LE1 is used as the slave SPI CSN input on the ADC or DAC, depending on the side of the link.

You will need to wire the I2S pins (CLK, WS, and DATA) from the nRF24Z1 to the ADC or DAC, as well as the MCLK signal.

The nRF24Z1 you're using as TX needs to have its SSEL pin wired to GND and its MODE pin wired to VDD.

The nRF24Z1 you're using as RX needs to have its REQ and SSEL pins both wired to GND.

I would recommend that the MMISO pin on each nRF24Z1 be wired to GND (that's master MISO, not the slave MISO line that the nRF24LE1 is connected to). This way, the nRF24Z1 doesn't think you have an EEPROM connected.

I *think* this is everything.
brennen
Site Admin
 
Posts: 395
Joined: Sun Aug 17, 2008 2:15 pm

Re: Using nRF24Z1 Example Code for the nRF24L01

Postby ARice84 » Wed Feb 01, 2017 4:11 pm

Thanks for the quick reply, Brennen!

I will let you know how it goes.

Best,
Aaron
ARice84
 
Posts: 4
Joined: Sat Sep 24, 2016 10:50 pm

Re: Using nRF24Z1 Example Code for the nRF24L01

Postby ARice84 » Thu Feb 09, 2017 10:13 pm

Hi Brennen,

If you ever get a chance, could you look over these wiring diagrams linked below and tell me if you see anything wrong?

https://www.dropbox.com/s/wnho83auxb4v12y/Wireless%20Receiver.png?dl=0
https://www.dropbox.com/s/pqx1ccwgrr0ytq7/Wireless%20Transmitter.png?dl=0

This is how I have things wired up now. I'm using an amplified electret mic connected between the left line input pin of the ADC and GND, and headphones connected between the L/R headphone amp output pins of the DAC and GND.

Best,
Aaron
ARice84
 
Posts: 4
Joined: Sat Sep 24, 2016 10:50 pm

Re: Using nRF24Z1 Example Code for the nRF24L01

Postby brennen » Tue Feb 14, 2017 3:39 pm

Looks good to me at first blush. :ugeek:
brennen
Site Admin
 
Posts: 395
Joined: Sun Aug 17, 2008 2:15 pm

Re: Using nRF24Z1 Example Code for the nRF24L01

Postby ARice84 » Tue Feb 21, 2017 9:24 pm

Update:

I got it all working! Not sure how it happened, just sort of jiggled a wire at some point and it all started working. Sounds pretty good with the electret mic. I get a lot of noise and no music from TX to RX when I connect the aux output of my phone to the line input of the ADC, not sure what that's about yet. Once I figure that part out, I want to take some latency measurements and possibly tweak the SW to reduce it if possible.

Below you can find schematics and a pic of my breadboards :)

Best,
Aaron

Wireless Receiver:
Image

Wireless Transmitter:
Image

Breadboards:
Image
ARice84
 
Posts: 4
Joined: Sat Sep 24, 2016 10:50 pm

Re: Using nRF24Z1 Example Code for the nRF24LE1

Postby brennen » Wed Feb 22, 2017 1:43 pm

Sweet! Definitely keep us up-to-date on your progress!
brennen
Site Admin
 
Posts: 395
Joined: Sun Aug 17, 2008 2:15 pm


Return to Wireless

Who is online

Users browsing this forum: No registered users and 1 guest

cron