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.

Running BSC_StartTimer In RAM

Other Parts Discussed in Thread: CC2564

Hello All,

We are working with CC2564+STM32F4 and with Keil compiler. To save the Power we need to run certain part of the code from RAM. We are able to successfully put C files in to Ram and execute. We need to place a file which contains BSC_StartTimer function. We tried putting the Bluetopia.lib file into RAM in the same way as we did for C files. But the timer part is not getting executed from RAM. I have a few questions regarding the same

1. Is the BSC_StartTimer declared in Bluetopia.lib?

2. If so how can i place the Bluetopia.lib library file in to RAM? 

3. To run the BSC_StartTimer function in RAM, do i need to add any more files apart from Bluetopia.lib?

Thanks in advance

Best,

Krish

  • Hi,
    I have assigned your query to our TI Bluetooth stack expert.
    BR,
    Eyal
  • Hi,

    krishna narayanan said:

    1. Is the BSC_StartTimer declared in Bluetopia.lib?

    Yes, the BSC_StartTimer API is part of the Bluetopia.lib.

    krishna narayanan said:

    2. If so how can i place the Bluetopia.lib library file in to RAM? 

    Running the Bluetopia.lib from RAM on the STM32 platform is not something that is tested on this release and it is not supported.

    krishna narayanan said:

    3. To run the BSC_StartTimer function in RAM, do i need to add any more files apart from Bluetopia.lib?

    The BSC_StartTimer function of the stack has dependencies in the HAL (clock/timer module). Hope this helps you move forward. I am not an expert on running code from RAM on this MCU platform and as mentioned above, the Bluetopia.lib execution from RAM is not tested. Sorry I cannot provide a decisive answer on what else need to be added to execute the timer from RAM.

    Best regards,

    Vihang