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.

CC2531: build a SampleTemperatureSensor based on Z-Stack 3.0.2 project CC2530DB

Part Number: CC2531
Other Parts Discussed in Thread: CC2538, Z-STACK

Hello,

We need to build ZED SampleTemperatureSensor  on CC2531, but we only found CC2530DB and CC2538 in folder 

\Z-Stack 3.0.2\Projects\zstack\HomeAutomation\SampleTemperatureSensor

I think the HW pin define might be different with CC2531, WHAT FURTHER CHANGE needed to build out SampleTemperatureSensor  endDeviceEB for CC2531?

Thanks

  • I suppose you only need to setup IO pins correctly and it should work.

  • Hello,

    As YK stated, you can reference Components/hal/target/CC3530USB and OnBoard.c/h for necessary changes.  You can also review the GenericApp and ZNP project which already have a CC2531 configuration.  Please note that Sample Applications use the SmartRF05EB hardware for interacting with LEDs, buttons, and a LCD.

    Regards,
    Ryan

  • Hi Ryan,

    I reference th CC2531 ZNP to modify the necessary change, and modify output format to intel-extended to generate hex file.

    use flash programmer to flash image to CC2531, but can't boot up

    and looks like output file didn't include SBL, not caused by my changes.

    Do you know how to generate normal image for SampleTemperatureSensor (even for CC2530DB ) or should i change to another download tool for this example?

  • You should build and debug the SampleTemperatureSensor project in IAR EW8051 v10.20, and do not add the SBL while testing the functionality of your setup.

    Regards,
    Ryan