Hello
We have designed a CC2530 RF front end.
We were able to establish communication between two CC2530 radio front ends we designed using SmartRF studio setup
The CC2530 radio board [RF front end] are with the following h/w details.
- We use SPI to interface LPC1347 and CC2530(256k).
- We intend to use CC2530 as SPI-slave and LPC1347 as SPI-master
- Following are the pin configurations
- We have a 32Mhz oscillator interfaced with pin number 22 and 23 of the CC2530
- We also have an optional 32.768Khz crystal interfaced with pin/port number 32 and 33 of the CC2530
- The CFG0 pin( interfaced with P0_1) can be optionally pulled high always (to Vcc-indicating the presence of RTC (32.768Khz) clock) or pulled low always indicating the non usage of the above crystal
- The CFG1 (interfaced with P0_0 ) is pulled high always(to Vcc-indicating only to operate in SPI mode)
- The SPI MISO pin/port ( to the master) is interfaced with pin number 17 (P0_2) of the slave
- The SPI MOSI pin/port (from the master) is interfaced with pin number 16 (P0_3) of the slave
- The SPI-slave select pin/port (from the master) is interfaced with pin number 15( P0_4) of the slave
- The SPI clock pin/port(from the master) is interfaced with pin number 14(P0_5) of the slave
- The Reset pin/port (from the master) is interfaced with pin number 20 of the slave
- The Slave ready pin/port (from the slave) is interfaced with pin number 11(P1_0) of the slave
- The Master ready pin/port(from the master) is interfaced with pin number 36(P2_0) of the slave
We intend to us the above setup[The CC2530 radio board ] as an end device , In our final application there can be number of such end devices
We also have a CC2531EMK connected to a PC intended to be used as a coordinator communicating with a head-end P.C [through usb/virtual communication port]
We want to do the following things
The CC2530 setup must be configured as a end device and the CC2531-PC Setup as a Coordinator- head end
To do this , we have burnt ZNP (CC2530-MK-Pro.hex )image available from the extracted Zip file downloaded from ( http://www.ti.com/cc2530znp (swrc211a.zip)). into CC2530 [We understand that any ZNP image/source files by default is always a SPI slave]
We were also able communicate between the LPC1347 (SPI master) to CC2530 (SPI slave)[the spi communication was established after a radio reset assertion from lpc1347 master following a slave ready signal from cc2530).
We also have a CC2531 burnt with serial app (rf_modem.hex on top of Zstack) from- http://e2e.ti.com/support/low_power_rf/f/158/t/151438.aspx intend to capture the radio packets from our custom CC2530 radio board design setup [as explained before].
But we are not able to see the packets reception at the PC end.
Alternatively,we are also trying to setup CC2531 as seen in this thread ( serial port-cc 2531 communication ) -MT command using Z-tool
But we are stuck here ( as seen below) essentially indicating that
- We do not know how to
- configure CC2531 to support MT commands
- in which source/header files the above setup configuration must be done
- We also do not know the image that we burnt (CC2530-MK-Pro.hex) into the CC2530 is that of a Coordinator or of an end device
- If we have to configure this as an end device
- what configuration must be changed
- in which source/ files this configuration must be done.
Any help, Any pointers in the above direction will be deeply appreciated.
best
Venkat