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 crystal selection and default keyfob services

Other Parts Discussed in Thread: CC2541

Hi,

1>    First of all, I would like to say that my first proto board is giving me some good response after few hours of debugging. First I couldn't find the recommended murata crystal for 30MHz and 32768Hz.. So I searched in digikey for same specs, I matched all the specifications of the recommended crystal but it doesn't works. Then in my board I removed the two crystals and connected the murata crystals which I removed from the cc2541DK_EM board. Then I loaded the simple broadcaster example and I am able to scan it on my andriod from max distance of around 8 meters. This is same range I gets for normal bluetooth also, so does it means my antenna part is fine?

2> I have one more question, my schematic is not same as the keyfob, I mean the peripherals like accelerometer, temp sensor etc is not there. No sensors is there. Only cc2541 circult. Now I loaded the keyfob demo binaries to it and I am able to scan it if I am pulling and releasing P0_1 pin to ground (button pin in keyfob). I connected an led at P1_1 and I can see it is blinking similar to keyfob as it is in discoverable mode. I can scan it and I can connect it from my android phone. Now my only question is, I can't see many services in it compared to keyfob. in keyffob I was able to find a lot of services but here only two. What will be the reason? Is the firmware in keyfob first checking all the sensors are connected or not and accordingly enabling the services?


3> How will I create a service which will works little bit similar to classic bluetooth SPP profile? Any example code available? I just need to send few bytes and receive few bytes between phone and cc2541. How will I approach this? Till now I did not dig into the code sample and didn't tried to modify any thing in the example code related to the radio/ble, I only tried peripheral examples like gpio, spi, i2c , uart etc.

  • Hi Vinod,

    Which specific crystal did you use? If all the specs are the same (or within the requirements in the CC2541 datsheet) it should work fine. You wrote 30 MHz, but I guess that was just a typo? The crystal frequency must be 32 MHz.

    8 meters is not very good range, you should be able to acheive quite a bit better than that with a well tuned antenna. That being said, if 8 meters is ok for your application, then there is no need to change anything.

    Cheers,
    Fredrik

  • Hi Fredrik,

           It was a crystal selection problem, by mistake I selected 30MHz. Now that is solved :)

    I have few more questions,

    1> How will I create services for sending 20KB in both direction? Like SPP but doesn't require high speed.

    Is there any documentation for service creation?

    2> What are all the procedures and how difficult is it to get the board certified so that we can sell the product all around the word?

    3> What kind of certificate we require ?

  • Hi Vinod,

    1) For this question I have to point you to the SW section of the BLE wiki: http://processors.wiki.ti.com/index.php/Category:BluetoothLE . If your question is not answered there I recommend opening a new thread.

    2) 3) You must get a BLE certification, this is documented on the wiki. Additionally you must certify your HW to be compliant with the applicable standards where you want to sell your product. This is typically FCC 15.247 for the US and ETSI EN 300 328 for Europe. You must also do a BLE PHY HW certification. The best way to tackle this is to contact a local certified test lab and get a quote for the complete job from them.

    Cheers,

    Fredrik