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.

CCS/CC2564: CC2564B (PAN1326B) with TM4C123x - Step by step implementation

Part Number: CC2564
Other Parts Discussed in Thread: TM4C123GH6PZ, CC256XM4BTBLESW

Tool/software: Code Composer Studio

Gentlemen,

IDE is CCSv7 in Windows. Hardware is TM4C123GH6PZ connected to a PAN1326B (CC2564B) on a custom board.

I'm trying to implement the Bluetopia (CC256XM4BTBLESW) into our existing firmware, to add, initially, BT classic SPP communication. Our existing firmware uses TivaWare, and NOT TI-RTOS.

Given the specific board, the fact that there is already a whole firmware working "for the rest of the product", and that I do not own a TM4C129X evaluation kit just to see Bluetopia running on the example's environment, I'm having a hard time to achieve my goal. The WIKI example is way specific for the example to run, but it mentions nothing regarding porting the stack into one's existing project.

Is it possible for the TI fellows here to provide some guidance for such mission? Some questions:

- Given that I get the paths sorted out on my project configuration, which headers exactly do I need to include?

- Because I'm noOS, it appears that I need to create my own functions for some basic tasks: ready system elapsed milliseconds (no problem) - and also for other things that I would not expect, such as to initialize a memory section with a certain value. Is that really the case?

Any further literature or real-life examples for this implementation will be much appreciated!

Regards

Bruno

  • Vihang,
    It appears that you are the most active TI fellow engineer on this forum. I strongly believe you are the person to help on this issue.
    Please take a look and help us - this matter is getting kind of urgent within our firm, and this is not "school kids trying to learn how to lit a led", it is real product requirement. Your colleagues on other TI forums will confirm that we do as much as possible to help users on other matters, and that we are a firm TI supporter!
    Thanks in advance for the help.
    Bruno
  • Hi Bruno,

    Sorry for the delay. I had missed this thread somehow.

    Are you still having issues integrating the ti dual-mode Bluetooth stack in your application?

    If yes, can you explain a bit more what issues are you facing? 

    Bruno Saraiva said:

    - Given that I get the paths sorted out on my project configuration, which headers exactly do I need to include?

    You can refer to the SPPDemo CCS project for the complete list. In addition to the header files in the project directory (SPPDemo.h and main.h), there will be headers included from Cortex_M4/Hardware/ and Cortex_M4/Bluetopia/ directories.

    Bruno Saraiva said:

    - Because I'm noOS, it appears that I need to create my own functions for some basic tasks: ready system elapsed milliseconds (no problem) - and also for other things that I would not expect, such as to initialize a memory section with a certain value. Is that really the case?

    Any further literature or real-life examples for this implementation will be much appreciated!

    The CC256XM4BTBLESW Sample Applications also support the DK-TM4C123G platform for out of the box Demo. The MCU on this platform is pretty similar (just more GPIO) compared to the TM4C you are using. So you can just use the HAL (that includes the tasks you mentioned above) in your project. You will only need to do some board level porting like pin definitions (in HALCFG.h), etc.

    Hope this helps.

    Best regards,
    VIhang