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.

Make CC2541 support proprietary mode

Other Parts Discussed in Thread: CC2541

Hi :

As CC2541 can support proprietary mode, now we would like to configure its data rate to 250Kbps and still keep everything the same as BLE. (same GFSK, same BLE stack).  Based on our understanding, what we need to do is only to revise the modulation bits in MDMCTRL0 register to be "0100". but in source code, we can not  find the related code to modify ? can you advise us where is it or how we get our code to support 250Kbps.  The sample code we are using now CC2541 KeyFob. 

Thanks a lot,

Ray

  • Is it possible to get TI support team's input for the question. Appreciated !!

  • Hi Ray,

    You may be right, but the routine that writes to this register is called from various places in the code, so it won't be a simple fix from your end.

    You could potentially modify the assembly instructions in the hex file, wherever it is, by hand to do what you want;

    90 61 90 MOV DPTR,#0x6190
    74 04    MOV A,#0x04 // Default value
    F0       MOVX @DPTR,A

    From our end, this is not a feature we support or plan to support until it becomes a part of the BLE specification, and I will not be able to assist you in getting this to work.

    Best regards,
    Aslak 

  • It is not possible to run BLE on 250 kbps. When set in BLE mode, the link layer engine has hard-coded timeouts that are not compatible with that symbol rate. In proprietary mode, the link layer engine has a different command set, so the stack would not be able to run unmodified.

    If you did the modification that Aslak N. proposed, you would not be able to get any communications through, as all timing would be wrong.

    If you want to communicate on 250 kbps, you will therefore have to use a different  communications protocol than BLE.