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: CC2541

Part Number: CC2541


Hello Everybody,

I'm facing an issue and I think I'm not the first to have this problem.

I'm using a CC2541 chip, mounted on a home made BLE module. I have to connect this module to a Rhode Schwartz CBT DB9.

To do this, I have loaded into the chip the CC2541_SmartRF_HostTestRelease_All.hex file, put an external power supply on the module, take the Rx, Tx, GND from my module, connect to an adapter UART/RS232, and then connect the adapter to the CBT. I put P0.4 to GND, to put the module in test mode. I have checked the CBT settings on TI wiki 

It doesn't work and honestly I don't know why

Maybe someone can help me?

Best Regards,

Thomas

  • Hello Thomas,

    The CC2541_SmartRF_HostTestRelease_All.hex firmware is designed to run on the CC2541EM module. It uses USART 0 with RTS/CTS flow control and a default baud rate of 115200 bps.

    Have you verified that you can run the SimpleBLEPeripheral with LED/LCD disabled? If you have a SmartRF05 and CC2541EM, it would be good to validate your setup with the TI EVM to ensure you don't have any setup issues.

    Best wishes
  • Hello JSX,

    Thank you very much for your quick reply.

    First do you know if it exists a CC2541_SmartRF_HostTestRelease_All.hex software without the RTS and CTS ? The CBT doesn't use it.
    If we say that the home made hardware on my module is OK (I have to confirm), there is no other settings than adapt the UART to RS232, put pin P0.4 to GND (CTS), and load the CC2541_SmartRF_HostTestRelease_All.hex ?
    I'm surprised to put the chip in test mode we have to put CTS to GND, and above you say that the software use the CTS and the RTS, what is the truth?

    I have on hand a SmartRF05 demo board rev 1.8.1, with CC2540DK_EM Peripheral and CC2540DK_EM Central rev 1.5.1.1 and a CC debugger.
    I've got these tools from a colleague who left the company.
    Honestly I think all settings are not ok.

    For the SmartRF05, I have jumpers on all switch on P10, jumpers from 17 to 35 on P1, the first jumper on P18, nothing on P20, P11 on USB/DC, jumper on P13 and jumper on P15, do you have a datasheet which describes how it should set?
    For the CC2540DK_EM peripheral, the software inside has been modified. do you know how I can load back the CC2541_SmartRF_SimpleBLEPeripheral.hex ?

    I'm sorry, I believe it is a huge support. I'm working in parallel with TI French technical supporting team but it is difficult to progress, and I hope than maybe someone on the forum is facing or faced the same issue.

    Thank you.

    Regards,
    Thomas.
  • Hello Thomas ,

    The CC2541_SmartRF_HostTestRelease_All.hex is a prebuilt firmware configuration for the CC2541EM and enables the LCD & LED interface on this module. If you want a different configuration of the UART, or the LCD/LED disabled, you will need to rebuild the Host Test project according to your desired changes using IAR 9.10.3. The UART configuration is set in NPI_InitTransport [npi.c].

    The SmartRF05 User Guide SWRU210 www.ti.com/.../swru210 details the UART setup.

    It might be helpful if you attach your schematic showing the connections to the CC2541 in your board.

    Best wishes
  • Hello JXS,

    Thank you for your feedback.

    I will try to modify the software. Just about that, do you confirm than it is necessary to put the chip in test mode, to connect P0.4 (CTS) to GND ?

    Below, you will find the schematic

    BR,

    Thomas.

  • Hi Thomas,

    With the Host Test firmware, test mode is entered via sending the relevant HCI Bluetooth DTM commands and not by HW pin.

    Best wishes
  • Hi JSX,

    OK that's clear, I have removed the shunt, Thank you. I will make the test on the CBT this afternoon.

    So based on the explanations done here : processors.wiki.ti.com/.../PTM

    I have loaded the CC2541_SmartRF_HostTestRelease_All.hex file

    The CBT has the option CBT-K57

    I have checked the HCI/RS232 setup and that's ok.

    is there other points to check?

    I found maybe a back up plan. The goal of the communication with the CBT is to calculate the bit error rate. But we can do it by hand, if thanks to the UART, we can get the number of received bytes it solved my issue. I have already realized this connection, with a FTTI cable. I'm using docklight software, but I don't know which software I have to load into the chip (to communicate on the UART) and what command I have to send to the chip to get from it the number of bytes received.

    Maybe you know it ?

    BR,

    Thomas.