Question

Hello,

I am attempting to communicate to a Pmod RF2: IEEE 802.15 RF Transceiver with a Basys3 board using the SPI protocol in VHDL. The microchip on the pmod is the MRF24J40. How do I identify the address of the MRF24J40? To my understanding, if I want to write/read a memory location on the MRF24J40, I need to send the address followed by the address of the specific memory location on the MRF24J40. Is it written on the microchip itself?

The master and slave SPI modules that I am attempting to use are linked to this post. The documentation for the master and slave links are below. The specification sheets for the pmod and MRF24J40 are included as well.

Master: https://eewiki.net/pages/viewpage.action?pageId=4096096#SerialPeripheralInterface(SPI)Master(VHDL)-Transactions

Slave: https://eewiki.net/pages/viewpage.action?pageId=7569477

Pmod: https://www.digilentinc.com/Pmods/Digilent-Pmod_ Interface_Specification.pdf

MRF24J40http://ww1.microchip.com/downloads/en/DeviceDoc/39776C.pdf

Thank you.

spi_slave.vhd

spi_master.vhd

Edited by waberrio
add files and links to documentation

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @waberrio,

We have not had time to make a library/demo for the Pmod RF2. We would not have any good advice for using the Pmod RF2. I believe Microchip has a library stack for the Pmod RF2. It would be for the pic32 and not an FPGA. I would suggest  making sure to look at the initialization sequence on page 90 of the datasheet. 

thank you,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now