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.

Strange behaviour of CTS and RTS pins of MSP432+CC2564

Other Parts Discussed in Thread: CC2564MODNEM

Hello,

I'm developing an application for MSP432 which requires wireless communication with a server so I added a CC2564MODNEM (linked via EM Adapter BoosterPack).

I was able to run the SPPDemo in server mode and establish a serial port communication with a PC acting as a client.

However (and this is the strange part), this test only works if I have CTS and RTS pins connected to an oscilloscope. Below are some test I made that made me think there is some problem with HCI driver and/or CTS and RTS signals:

  1. If I don't make the connection to the oscilloscope prior to the stack initialization, I get BTPS_ERROR_HCI_INITIALIZATION_ERROR (-4) from the function OpenStack().
  2. With the device correctly initialized and in server mode, if I disconnect the signals from the oscilloscope, some functions fail with the error BTPS_ERROR_HCI_DRIVER_ERROR (-14). For example: Inquiry, SetDiscoverabilityMode and SetConnectabilityMode.

So the question is. What may be causing this behaviour and how can I avoid it (without having to carry an oscilloscope around)?

One more thing, besides from a short pulse duration at startup, CTS and RTS signals are always low.

Thanks in advance,

Federico

  • Hola Federico,

     Which pins are you using for the CTS and RTS??

    If I'm not mistaken, the SW by default (CC256XMS432BTBLESW) is using P5.6 for RTS and P6.6 for CTS. Some time ago I went thru the same exercise (connecting an MSP432LP + CC2564MODNEM using the EM Adapter BoosterPack) and I put together this table.

    Just wanted to confirm that your SW is configured correctly. One other thing for the CTS, you will need to enable the INT_PORT3 (instead of the PORT6) interrupt, so you will also need to change your msp432_startup_ccs.c.

    defaultISR,                             /* PORT1 ISR                 */
    defaultISR,                             /* PORT2 ISR                 */
    CTS_Port_ISR,                      /* PORT3 ISR                 */
    defaultISR,                             /* PORT4 ISR                 */
    defaultISR,                             /* PORT5 ISR                 */
    defaultISR,                             /* PORT6 ISR                 */

    Hopefully this helps.

     David

  • Hola David,

    Thank you very much for your answer! I had RTS and CTS pins configured wrong, now it works like a charm (without the oscilloscope). For some reason (don't ask me why), I thought the demo software was correctly configured for my platform.

    Thank you again for your support.

    Regards,

    Federico

**Attention** This is a public forum