This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TIDA-00489: Simulating TIDA using CC1310 Launchpad + BOOSTXL-TLV8544PIR

Part Number: TIDA-00489
Other Parts Discussed in Thread: BOOSTXL-TLV8544PIR, CC1310, , CC2650

Hey guys,

I have adopted the TIDA-00489 Firmware by changing the RF settings, using the export function of SmartRF Studio 7. I exchanged the smartRF_Settings files in the project. Since I don't have the actual TIDA-00489 module yet, I wanted to "simulate" the board using a CC1310 launchpad and a BOOSTXL-TLV8544PIR module.

I noticed in the board.c file, that

#include <ti/sysbios/family/arm/cc26xx/PowerCC2650.h>

is included. Thus I thought, that the pin map of CC2650 is equivalent to the one of CC1310. Furthermore, I checked the CC2650 launchpad, which looks very similar to the CC1310 ones (comparing the jumper pin lanes).

Altogether I have two cc1310launchpads and the BOOSTXL device. I want to see if I can make some tests using the sensor + cc1310 on the one hand and on the other hand I'd like to use SmartRF Studio - "Continuos RX" feature to see if it works.

Question:

Can I use the TIDA firmware in this hardware setup, without making changes to the code, especially the PIN-mapping?

I hope you guys can help me getting started. Please notice, that I am more or less a beginner in C/C++ programming, although I have some experience with MATLAB or LabVIEW.

kind regards

Stefan

  • Stefan,

    Code modification is required to get the sensor running on CC1310+BOOSTXL-TLV8544PIR.

    In TIDA-00489, the digital high and low threshold pins go to DIO_16 and DIO_17.  The boosterpack digital high/low threshold pins (PIR_OUT_HI and PIR_OUT_LO) might go to different DIO pins.  Find the corresponding DIO pin and modify TIDA-00489_Board.h with the correct pin assignment.

    After modifying the sensor code with the correct pins, flash it onto CC1310+BOOSTXL-TLV8544PIR.

    Then with another CC1310, you can set this as a receiver only with SmartRF Studio 7 (no code modification needed).  Configure the RF parameters to match the settings as defined by cc13xx_smartrf_settings.c located in the smartrf_settings folder.  Click on "Packet RX" tab.  Change the Sync Word to match the 32-bit Sync Word defined in cc13xx_smartrf_settings.c (see line 180).  Uncheck 802.15.4g Mode, and click start.  Any packet sent from the sensor should be displayed in the white text box. 

    Also, make sure you read the TIDA-00489 software flow chart in the design guide to understand when the sensor will send out packets. 

    --Christina

  • Hi clam,

    I changed the PIN_OUT_hi to IOID_27 and PIN_OUT_lo to IOID_10. I used the pic below to see, which pin of the CC1310 launchpad is occupied by the BOOSTXL module.

    I than adapted the smartRF_settings. In my first try I always got CRC errors in SmartRF Studio, but I received a lot of packages, though I did not know what they were telling me. I than checked the RF settings twice and found an error. Afterwards, I was able to receive the packages properly, but the launchpad was going into sleep, as it should after powering up, waiting for movements. Now the board wasn't waking up again.

    I think something with the BOOSTXL shield is wrong now. I remember windows giving some sort of sound, like if another USB device is plugged in, when I connected the shield with CC1310 launchpad. This sound is not occuring anymore. I will make some tests with my voltmeter to see if the BOOSTXL - module is still communicating/working properly.

    I will give feedback if I informations are available.

    kind regards

    Stefan

  • Stefan,

    Glad you were able to receive packets!

    If you reset the CC1310, will you receive a packet? At the very beginning, the firmware will send one packet to indicate that the board is alive.  After sending the one packet, it will wait two minutes for the PIR sensor to settle.  During this time, all movements are ignored, and the board will seem unresponsive at this time.  For more information about the software flow, see Figure 9 in the TIDA-00489 design guide. 

    --Christina

  • Hey Clam,

    I receive the first package indicating the system is starting I think it was 0x00. Than it takes 2 min to settle down and then I receive the second package 0x11. Afterwards, nothing more happens, which supports my impression, that the BOOSTXL System is not working atm. I will get in touch with you again, after a few tests. I didnt have time so far.

    kind regards
    Stefan
  • Stefan,

    That is correct. You will see 0x00 when it first starts. After the two minutes, you should see 0x11. When there is movement, you should see 0xAA.

    If you do not see any packet, please confirm that the DIO pins are set correctly. Instead of using the picture, please cross check with the schematic (seen on page 22 of the BOOSTXL-TLV8544PIR user guide). Based on the schematic, PIR_OUT_HI goes to J1/pin 10, and PIR_OUT_LO goes to J1/pin 12, which looks different from from the picture.

    --Christina
  • Hey Christina,

    I was now able to use the PIR sensor. It was working with my previously outlined pin definition. I checked page 22, it could be that the CC2650 board has another pin layout than the CC1310. There was also the sound again when I plugged the BOOSTXL on the CC1310 launchpad.

    So adopting the smartRF_Settings using smartRF studio and the pin attachments like outlined above was enough.

    kind regards

    Stefan