1921 views|2 replies

9702

Posts

24

Resources
The OP
 

B-U585I-IOT02A Bluetooth communication problem [Copy link]

Previously, when testing the Bluetooth routine STM32Cube\Repository\STM32Cube_FW_U5_V1.0.0\Projects\B-U585I-IOT02A\Applications\BLE\BLE_AT_Client, the serial port prompted this error.

TX: AT
RX:

RX: ERROR
TX: AT+BLE_SVC=1
RX: ERROR

Problems encountered in debugging B-U585I-IOT02A WIFI module

Considering that the STM32WB may need to be flashed with firmware, I tested the USB DFU of the STM32WB at that time. I wanted to burn the firmware of the STM32WB through USB, but the system could not find the hardware.

Later I tried to use the onboard ST-LINK to connect to the STM32WB but it still didn't work.

The specific debugging process includes:

1. Make sure the 3V3_BT power supply voltage is normal

2. Remove the jumper cap on JP3 and disconnect the power supply of VDD_MCU

3. Connect CN5 and CN6 (because the board needs to be recycled, no soldering was done this time. Instead, a long row of pins was used. When debugging, they were fixed by hand. This is how I often downloaded programs before)

4. Open STM32CubeProgrammer, select ST-LINK and connect. It prompts that STM32 cannot be found. After many attempts, the cable connection problem should be ruled out.

5. Currently, only the voltage is tested to be normal. In the past, you could use an oscilloscope to test the crystal oscillator to determine whether the microcontroller is working. I read the data sheet of this module and did not find the corresponding pins. They should all be internal. The power switch uses a dip switch such as SW3. If you use a jumper, you can also measure the working current and the current waveform when powered on. Now I can only suspect that the STM32WB module is not working.

image.png (41.52 KB, downloads: 0)

image.png
This post is from stm32/stm8

Latest reply

How about testing the associated pins to determine whether it works?   Details Published on 2021-10-14 11:19
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 

9702

Posts

24

Resources
From 3
 

After looking at the schematic again, I found that CN6 is not the output port of ST-LINK, but the debugging port of the U23 emulator microcontroller.

This is why the above wiring method cannot simulate STM32WB. Later, another ST-LINK was used and it worked.

https://en.eeworld.com/bbs/thread-1182469-1-1.html

This post is from stm32/stm8
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 

1412

Posts

3

Resources
2
 

How about testing the associated pins to determine whether it works?

This post is from stm32/stm8
 
Personal signature

没有什么不可以,我就是我,不一样的烟火! 

 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list