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.

LAUNCHXL-CC2640R2: BLE-Stack - Pre-built hexfiles for the SNP

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640R2F, CC2538

Hi every one, 

I got the CC2640R2 LaunchPad for knowing if I can add the IC CC2640R2F to my projects. The point is that I just want to use the IC as Simple Networ Processor unit and comunicate to it using the UART, so that I just loaded the prebuit hex files for the SNP. My problem is that  there are four diferent images to this and I don't know the real diferences among them, the only thing that I iknow is not all works equals.

¿Can you exlplain me the differences among these four versions?

  • cc2640r2lp_simple_np_uart_pm_sbl.hex
  • cc2640r2lp_simple_np_uart_pm_xsbl.hex
  • cc2640r2lp_simple_np_uart_xpm_sbl.hex
  • cc2640r2lp_simple_np_uart_xpm_xsbl.hex

I guess pm = power managemente and sbl=serial boot loader (and the x disabled it), but I don't really know how affects that to the implementation.

Thank you in advance.

  • Hello,

     Sure, as you pointed out, sbl stands for serial boot and pm for power management. And the x means that feature is disabled. Now in regards to your question please read below.

    Ruben Garcia74 said:
    cc2640r2lp_simple_np_uart_pm_sbl.hex

    This image has both features enabled, pm and sbl. For pm you will need 2 extra GPIO's on the host as it is explained in here (MRDY and SRDY)

    http://processors.wiki.ti.com/index.php/Unified_Network_Processor_Interface

    And this image will give you the SNP best power consumption.

    When the sbl is enabled, the ROM serial boot loader backdoor will be enabled. And in the plugin the MRDY pin is re-used to invoke the ROM serial bootloader (at reset). Updating the device firmware over serial connection from a host MCU using the CC26xx embedded ROM serial boot loader (sbl) is covered in application note CC2538/CC26xx Bootloader Interface (SWRA466).

    Ruben Garcia74 said:
    cc2640r2lp_simple_np_uart_xpm_xsbl.hex

    This image has both features disabled. So there is no need for the MRDY and SRDY pins. The advantage is that you will only require the UART GPIO's but the disadvantage is that the SNP will not enter to the lowest power mode available.

      Hopefully this helps.

         David 

  • Thank you David, 

    That was exactly what I needed to know. 

  • David:

    I am also using this hex file for our project. My question is when we change the CC2640R2F RG2 package(31 IO pin) to smaller RSM package (10 IO pin) this hex file does not work any more. where can I find source code to rebuild this hex file for my project?

    best regards,

    Scott Chiang
  • Hi Scott,

    The SNP project is part of the CC2640R2 SDK - dev.ti.com/.../README.html

    Hopefully this helps.

    David
  • David:

    thanks

    Scott