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.

CC2541: a quick guide to start with CC2541

Part Number: CC2541
Other Parts Discussed in Thread: BLE-STACK, CC-DEBUGGER

Hi

I am new in bluetooth chips. as CC2541 is one of the famous chips in the market, we decided to have our own bluetooth module (on our specific PCB) since non other type like HM-10, works fine.

here I have a simple question:

would you please provide me some documents in order to have all information about bluetooth and its necessary parameters.

what software do we need to setup and program the chip.

in our project we have an atmel microcontroller and we should send its data to a smart phone (IOS). we need a bluetooth to act as a wireless serial port to send all data to IOS.

would you please help me to deal with this. I found lots of information on internet but they are all vague. I could not find a strait forward document to explain the bluetooth parameters and the way that

it should be programmed to be connected to an IOS device.

I wish I could find some help in this frum as  everybody recommended me.

thank you in advance 

  • You can download BLE Stack v2.4.2 which is for CC2541 from www.ti.com/.../ble-stack and you can find lots of useful information from processors.wiki.ti.com/.../Category:BluetoothLE . You will need IAR EW8051 to build examples in BLE Stack v1.4.2. For iOS example to connect with CC2541 BLE device, you can refer to www.ti.com/.../sensortag-sw
  • Thanks for your reply.
    would you please help me to understand the following points:
    1- As I understood in TI company, for each type of the hardware such as MCU, ARM, Bluetooth absed MCU or .... there is different kind of debugging software . Am I right ?!!! for example as you said for CC2541 I should use ble-stack to write the code and using it to flash the CC2541.!?

    2- Do I need more hardware to do so such as CC-debugger?

    3- IS it possible to do all with ble-stack? why do we need IAR ? it is not free and we have to pay for that!!!!!

    4- is there a versatile IDE or software like code composer to do all we need with all the TI MCUs, components and bluetooth and .... ??

    5- Would you please recommend me what do I need to write me code for a CC2541 to serve as a serial port bluetooth module (from hardware to software)?
    As far as know I need the following things:
    1- CC2541 chipe with its related PCB ready to use as bluetooth or having a small start kit
    2- ble-stack (For ????)
    3- IAR (For ???)

    am I right?

    Thanks for all you help
  • 1&3&4. BLE Stack is SW to run on CC2541 and IAR is the IDE to build/debug BLE Stack.
    2. Yes, you need CC Debugger.
    5. I couldn't understand your question. Please elaborate.
  • For the question 5 I meant, I just want to use the CC2541 as a bluetooth module and I do not need to use its embedded MCU.

    I want to use this bluetooth with serial port service. I just need to send my data to the CC2541 and it send it to my IOS based phone.

    I thought that I could just config the bluetooth module inside the cc2541 and that is it. But as you said I have to write a code for MCU which will control the bluetooth module.!!!

    Also I thought that may be there is a versatile IDE that I can control all TI chips with. because now I have to pay for IAR just to program the CC2541.!!!

    SO as you explained I need:

    1- CC2541 chip

    2- Ble-stack software ( but after installation it asked for a  device with a com port!!)

    3- CC-debugger

    4- IAR

    that's all I need.

    I am sorry for asking these null questions but I have to handle it in this week.

    again thank you for taking time and helping me.

  • If you intend to use CC2541 as network processor, there is no need to use IAR. You only need to use Flash Programmer and CC Debugger to download network processor FW to your CC2541.
  • that was a good news. But in order to prepare the FW and write it, which IDE should I use?

  • There's prebuilt hosttest hex in BLE Stack so you don't need IDE. If you still want to build FW by yourself, you would need to use IAR EW8051.