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.

CC2640R2F: BT scanner & Beacon role

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

I am having some queries as ,mentioned below:

1)  If CC2640R2 is use in BT scanner & BT beacon mode,then during switching from scanner role to beacon role is there any re-boot needed or we can simply switch from one role to other???

      (For beacon role need to configure in broadcaster or peripheral role??which one is better)

2)  If we are implementing both the role in same chip,then what will be the memory requirement????

  • Hi,

    1) If you use the multi role project you can switch at runtime.

    (If you need to be able to connect, use peripheral. If not you can use Beacon role. Multi role uses peripheral role per default.)

    2. Per default the multi role example takes up around 94 kB of flash. You can probably shrink this some by removing the menu function etc.

  • Hi,

    Thank you for your valuable reply....

    I checked functionality with multi role project.....

    1) I am having one beacon,one LAUNCHXL-CC2640R2

    2) when i connect launchpad with my laptop....as per the main menu selection,launch pad can scan or advertise ..

    3) If i select scan then i can see beacon on terminal.

    4) simultaneously i am observing on BLE scanner mobile app. In that i found , even if i put the launchpad in scan mode, mobile app will detect that launchpad.

    Is there any case that it will continuously broadcast a msg & as per user selection do the scan for only limited time??

    I want to know exactly how it switches its role from scanner to advertiser & reverse.....

    Another point is as i checked with datasheet of cc2640r2 chip, it is having 28KB  RAM, from which 20KB can be use during runtime  ......If application needed more than the available memory we can use cache as GPRAM....if still user want more memory can we run external RAM??

  • Hi,

    You can stop the device from advertising with the GAPRole API. To learn more about scanning and advertising in BLE and with the TI BLE-Stack, please see the BLE Scanning and Advertising SimpleLink Academy lab:

    It's not possible to use external RAM with this device.