Skip to main content
HAgar.1
Associate II
Jul 22, 2021 10:07 AM UTC
Question

I want to connect HC-05 Bluetooth Module to STM32WB30 MCU. Are specific pins required or any GPIO will work to connect the module? Also is there any reference design for the STM32WB30 MCU?

..

This topic has been closed for replies.

5 replies

Uwe Bonnes
Chief
Jul 22, 2021 10:12 AM UTC

For Bitbanging drivers, any GPIO Pin will work If the module has 5 Volt IO, you need to use 5-Volt tolerant STM GPIO pins are level shifter.. If you want to connect with hardware SPI/I2C /etc, you need a GPIO where the appropriate function is mapped. Look at the datasheet chapter 4 "Pinouts and pin description"

HAgar.1
HAgar.1Author
Associate II
Jul 22, 2021 5:19 PM UTC

Okay so if I want to connect with hardware, does it mean I have to use the pins with USART?

Tesla DeLorean
Guru
Jul 22, 2021 5:27 PM UTC

Typically these devices use UART connectivity (optionally using flow control), I'd think the HC-05 datasheet would cover the basic requirements and expectations.

http://www.electronicaestudio.com/docs/istd016A.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
HAgar.1
HAgar.1Author
Associate II
Jul 22, 2021 5:15 PM UTC

.