Skip to main content
juyec
Associate II
May 31, 2022 6:38 PM UTC
Question

How to send AT commands through UART on B-U585I-IOT02A?

Hello!

I have a question - I'm working on interfacing with the STM32WB5M module on the B-U585I-IOT02A. From what I understand, the STM32WB5M module is already flashed with an example for AT commands (in the STM32Cube_FW_WB_V1.13.3/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MultiAppAt).

I was hoping to be able to create a STM32 project for the B-U585I-IOT02A board without flashing anything to the STM32WB5M module. For now, I just wanted to be able to send an AT command according to the AN5379 application notes and receive some sort of info back from the module. If there is a way to do this, or if I have some conceptual error, please let me know!

Thank you,

Jake U.

This topic has been closed for replies.

4 replies

Andrew Neil
Super User
May 31, 2022 10:19 PM UTC

AT Commands are just text strings.

The important thing to remember about AT Commands is that you need to pay attention to the responses to the commands you send - don't send the next command until the device has confirmed that it has completed the previous one.

https://community.st.com/s/question/0D53W00001VtdLySAJ/how-to-write-good-cellular-modem-driver

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Remy ISSALYS
ST Technical Moderator
Jun 1, 2022 7:14 AM UTC

Hello,

You can find many information about AT commands on the following wiki page:

https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_AT_Server

You can look BLE_AT_Client example available in STM32CubeU5 package:

https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/B-U585I-IOT02A/Applications/BLE/BLE_AT_Client

Concerning the STM32WB5MMG module, BLE_AT_Server application can be used, this application is available in STM32CubeWB package.

Best Regards

PM.6
Visitor II
Jun 8, 2022 9:40 AM UTC

Can you also please send some STM wiki page to work on throughput and power measurement on B-U585I-IOT02A??

Remy ISSALYS
ST Technical Moderator
Jun 9, 2022 7:40 AM UTC

Hello,

You can look this wiki page which describes how to improve the data throughput while updating the STM32WB application or wireless stack.

Best Regards