cancel
Showing results for 
Search instead for 
Did you mean: 

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?

HAgar.1
Associate II
 
5 REPLIES 5
Uwe Bonnes
Principal III

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
Associate II

.

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

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
Up vote any posts that you find helpful, it shows what's working..

Okay Okay, I can only see USART in the STM32WB30 pin description. I can use them right? I do not know much about USART or UART so I am really confused.