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 Dual-Mode Connectivity and ECU to ECU communication format

Part Number: CC2541
Other Parts Discussed in Thread: CC2340R5

Tool/software:

Hi,

I am currently working with an ECU that features the CC2541 Bluetooth chip, and I have a few questions regarding its capabilities and usage:

  1. Dual-Mode Connectivity:

    • Does the CC2541 support dual-mode connectivity?
    • I aim to connect two identical ECUs (both using the CC2541 chip) to each other via Bluetooth while also connecting one ECU to a mobile application simultaneously. Is this configuration supported by the CC2541?
  2. Data Communication Between ECUs:

    • For sending and receiving data between two ECUs using the CC2541 chip, what is the recommended approach?
    • Should I rely on the same GATT characteristics for communication, or is there a more efficient alternative?
    • Are there specific commands or best practices I should follow to ensure reliable and efficient data exchange?

I would greatly appreciate any insights, guidance, or documentation that could help address these requirements.

Thank you!

  • Hi,

    Thank you for reaching out

    Dual-Mode Connectivity:

    • Does the CC2541 support dual-mode connectivity?
    • I aim to connect two identical ECUs (both using the CC2541 chip) to each other via Bluetooth while also connecting one ECU to a mobile application simultaneously. Is this configuration supported by the CC2541?

    If by dual-mode, then you are referring to supporting multiple simultaneous connections, then yes. A single CC2541 operating in central mode is able to support multiple connections. You should be able to connect to another CC2541 operating as a peripheral and another device also operating as a central.

    If you are referring to the CC2541 operating in both peripheral and central at the same time, then this device does not support this combination of roles. If this is required, then I would recommend a newer generation of device such as the CC2340R5

    Data Communication Between ECUs:

    • For sending and receiving data between two ECUs using the CC2541 chip, what is the recommended approach?
    • Should I rely on the same GATT characteristics for communication, or is there a more efficient alternative?
    • Are there specific commands or best practices I should follow to ensure reliable and efficient data exchange?

    This will depend on your preference and your application, but performing GATT writes back and forth may be an effective and simple way of sending data between devices. You could also look at sending notifications between devices as well.

    Best Regards,

    Jan