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.

CC2564MODN: STM32 STLink COM port driver problem on Windows 10

Part Number: CC2564MODN

Hello guys,

 

I am using de STM32DiscoveryF4 in my project and the CC2564MODN bluetooth module with the adapter kit to make a bluetooth serial port profile with the API's that TI brings (SPPLE), but once the code is flashed and the board programmed I can't make the COM port appear, even connecting the micro-usb to the PC too.

 

I read the API documentacion, 'Enable_STM32_Discovery.pdf' and make all the changes that I've to.

   - Device, HSE_VALUE

   - HALCFG.h

   - Put the Bluetopia/hcitrans/HCITRANS.c

   - HCITRCFG.h

I install the driver that ST brings which is STSW-009, to program via miniUSB, but it only flashed the code into the board it doesn't open any COM port when I plugged  the miniUSB again or the micro-usb to the PC and reset the board. I'm programming with the Keil uvision 4 and using the API: 'CC256x STM32 Bluetopia SDK v4.0.2.2'

 

In the API's demo example says that "Once the code is flashed, connect the board to a PC using a miniUSB or microUSB cable. Once connected, wait for the driver to install. It will show up as MSP-EXP430F5438 USB - Serial Port(COM x), Tiva Virtual COM Port (COM x), XDS110 Class Application/User UART (COM x) for MSP432, under Ports (COM & LPT) in the Device manager."

 

So reading that I tough that just flashing the code into the board It will make the COM port appear, when a I plugged the microUSB but don't happen.

 

So, I ask if someone has the same problem and know how to resolve it, please contact to me and let me know. ASAP !!

 

Regards and thanks.

  • Juan,

    The sample apps use a UART interface on the STM32 which is available thru the pin connectors. A UART-to-USB or UART-to-RS232 converter is required to connect to a PC/laptop.

    For more information, please refer to the following thread about the same topic.
    e2e.ti.com/.../477260

    Best regards,
    Vihang
  • Thank you for the quick answer!

  • Thank you, now I have another issue.

    I connect the Rx, Tx and Ground pins via TTL-USB 3.3v converter to the PC. And it works great for the SPPDemo, open the stack on terminal and I can choose the utilities that brings.

    But when I try to initialize the SPPLEDemo it don't open the stack. The terminal just show "OpenSt"... and nothing more.

    It's maybe because I have to connect also the 3V Pin, and the flow controls pins ?

    I really appreciate your answer and your help, thanks !!

    Juanjo
  • Juan,

    If it works for the SPPDemo, it should work just fine for other sample applications like the SPPLEDemo as well.

    BR,
    Vihang
  • So, it isn't working.
    Maybe it's some problem with the code or anything else that I'm missing ?
  • After a big research, I've change the bluetooth libraries and the port.c document. I take the ones that make me able to work with HW floating point library to see if this a solution. For the SPPDemo still works fine.

    And on the SPPLEDemo when I open the terminal shows up this.

    OpenStack().
    Bluetooth Stack ID: 1
    BLE Support not initialized -104.
    Device Chipset: 4.1
    BTPS Version : 4.0.2.1
    Project Type : 6
    FW Version : 7.26
    App Name : SPPLEDemo
    App Version : 0.5
    LOCAL BD_ADDR: 0x0017E9E56200
    GAP_LE_Set_Pairability_Mode F

    I'm working on the CC256x STM32 Bluetopia SDK v4.0.2.2 for both projects with keil v4, because on CC256x STM32 Bluetopia SDK v4.2.1.0 I can't even use one of them, the SPPDemo and the SPPLEDemo don't work for me with keil v5.

    Is there anything else I could do or I'm missing ??

    Really appreciate your help !!