Hi all,
The attached CC85xx_Ehif_Example_Code.zip includes a small example on how to use the External Host Interface (EHIF) with the MSP430F5438 as SPI host controlling a CC85xx protocol slave. Functionality for pairing, volume up/down, power toggling and automatic re-join if network drop-out are implemented.
Have a look at the code, and if you want to practically try it out keep reading...
Hardware needed:
1 pcs MSP430F5438 Experimenter Board (http://focus.ti.com/docs/toolsw/folders/print/msp-exp430f5438.html)
1 pcs MSP-FET430UIF (http://focus.ti.com/docs/toolsw/folders/print/msp-fet430uif.html) for programming the MSP
1 pcs CC85XXDK (http://focus.ti.com/docs/toolsw/folders/print/cc85xxdk.html)
Step-by-step:
1. Download and extract the zip.
2. Open the PurePath Wireless Configurator (downloadable from here: www.ti.com/ppwc), and open the project CC85XXDK Preloaded Demo (available from Start Page).
3. Flash one CC85xx device with the master device configuraton as is.
4. Flash one CC85xx device with the slave device configuraton with the following modifications:
- Select host-controlled operation.
- In the IO mapping panel set the "External host interface interrupt" pin to GIO3.
5. Connect the MSP430F5438 Experimenter Board to the slave Audio EB like shown in EHIF_Connection_MSP430.pdf (included in the zip).
6. Program the MSP430F5438 either by debugging in IAR or flash it using the SmartRF Flash Programmer.
Feel free to ask if anything is unclear. Enjoy!