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.

UART baud rate limitation for Communication b/w MSP432P401R(SAP) and CC2650MODA(SNP)

Part Number: MSP432P401R
Other Parts Discussed in Thread: CC2650, CC2650MODA

Tool/software: TI-RTOS

Board setup:

1. I am using MSP432P401R launchpad as the SAP and CC2650 launchpad for BLE - SNP. The example project "Simple_Application_Processor_MSP432P401R_tirtos" works for the baud rate of 115200 and 230400. But doesn't work for baud rates of 460800 and 921600.

For the baud rate of 460800, the response is unstable. The SAP task receives the 'PUI' sometimes and for other times there is no 'PUI'. Please refer to the attached images,

Case 1:: Baud rate = 460800, received PUI

Case 2:: Baud rate = 460800, Didnt recieve PUI. The MRDY and SRDY pins remain "LOW".

Case 3:: Baud rate = 921600, No data sent from SNP, MRDY and SRDY remain LOW.

2. I am using MSP432P401R IC as SAP and CC2650MODA as BLE-SNP in a custom PCB. The example project "Simple_Application_Processor_MSP432P401R_tirtos" works for a baud rate of 115200. But doesn't work for baud rates of 230400,460800 and 921600. The pin mapping is as follows 

MSP432 CC2650MODA
UART - TX P2.2 IOID_03
UART - RX P2.3 IOID_02
MRDY P6.3 IOID_10
SRDY P7.4 IOID_09

Board file - MSP_EXP432P401R.c ::

1. Power configuration: initialPerfLevel = 3

2.  UART baud rate config settings:
     {230400, 24000000, 6,8,32,1},
     {460800, 24000000, 3,4,2  ,1},
     {921600, 24000000, 1, 10, 0,1} 

In the above set-up, I am able to stream at 921600 baud rate when CC2650MODA is used as "spp_ble_server". But when used as SAP and SNP set up the baud rate is limited to 115200. There is no limitation of Baud-rate mentioned in the MSP432 BLE-Plugin documentation. What could be the reason for this?

Can the SAP and SNP set-up in UART mode operate in 921600 baud rate?

  • This discussion sounds similar. Can you confirm the settings align with the discussion here:
    e2e.ti.com/.../2797570

    Thanks,
    Chris
  • Hello Tejas,

    Did you also update the UART baud rate of the SNP Image that is programmed onto the CC2650? The hex images in the plugin are built for baud rate of 115200.

    The SNP images for the CC2650 can be built using the CC2650 SDK, BLE Stack 2.2.2 from www.ti.com/.../ble-stack

    Thanks,
    Sai
  • Chris,

    As mentioned above I am operating at 24Mhz SMCLK and the UART config register values are calculated from this website [http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430BaudRateConverter/index.html]. The values I am using are correct.

    The UART baud rate config values are:

         {230400, 24000000, 6,8,32,1},
         {460800, 24000000, 3,4,2  ,1},
         {921600, 24000000, 1, 10, 0,1} 

    I have used these values for different application and I values are proper.

  • Sai Reddy,

    I have updated the UART baud rate of CC2650 and checked. It works for baud rate of 115200 and 230400.
    For baud rate of 460800, I recieve "PUI" event at times and it doesnt work other times.

    I have attached the logic analyzer capture for 460800[both the cases of working and Not-working] and 921600 baud.
    I assume the problem is MRDY and SRDY pins are LOW and donot return to HIGH state. Can you check the images and comfirm?

    Thank You,
    Tejas
  • Chris Sterzik and Sai reddy,

    were you able replicate the above issue ?

    Is there a baud rate limitation in implementing SAP and SNP in MSP432 and CC2650MODA?

    Thank you,
    Tejas SJ
  • I have not attempted to recreate the issue due to a lack of resources. I am concerned that there is a system level issue at the higher baud rates the callback mechanisms are not fast enough or even possibly the transmission/reception error is starting to impact the communication. I will submit a bug against the drivers asking for characterization at the speeds you have provided.

    Regards,
    Chris

**Attention** This is a public forum