cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting Bluetooth HID keyboard to STM32

Hi,

I'd be grateful for any suggestion what BT module supporting HID I should use to connect BT HID keyboard to the STM32. I see that many popular HC-XX modules support only SPP profile.

There are some modules supporting HID profile but all the examples I found focus only on using them to implement the HID device (not to terminate the connection from the device).

What I want to achieve:

BT_HID_KB-------------------------------BT_HID_Host_Module------STM32

So the BT_HID_Module I am looking for is supposed to have BT Host functionality.

Thanks,

Bogdan

1 ACCEPTED SOLUTION

Accepted Solutions

One solution I found (not very easy to implement):

RN42 module, HCI mode (the HW offload for profiles is disabled and the whole processing is moved to the host MCU)

https://cdn.sparkfun.com/datasheets/Wireless/Bluetooth/bluetooth_cr_UG-v1.0r.pdf

"In HCI mode, the on-board stack is bypassed a nd the module is put in a state that runs the Bluetooth baseband. The HCI provides a command reference interface to the base-band controller and the link manager, and provides access to the hardware status and control registers. This interface provides a uniform method for accessing the Bluetooth baseband capabilities.

"

View solution in original post

3 REPLIES 3
Pavel A.
Evangelist III

The suitable forum for this question is: Interface and connectivity ICs

https://community.st.com/s/topic/0TO0X000000BSqXWAW/interface-and-connectivity-ics

-- pa

One solution I found (not very easy to implement):

RN42 module, HCI mode (the HW offload for profiles is disabled and the whole processing is moved to the host MCU)

https://cdn.sparkfun.com/datasheets/Wireless/Bluetooth/bluetooth_cr_UG-v1.0r.pdf

"In HCI mode, the on-board stack is bypassed a nd the module is put in a state that runs the Bluetooth baseband. The HCI provides a command reference interface to the base-band controller and the link manager, and provides access to the hardware status and control registers. This interface provides a uniform method for accessing the Bluetooth baseband capabilities.

"

After some research:

I will consider the USB Host HID to support BT HID devices (to re-use US Host library for HID devices)

The idea is shown here:

https://blog.tkjelectronics.dk/2013/12/bluetooth-hid-devices-now-supported-by-the-usb-host-library/

There is a small version of USB Host:

http://shop.tkjelectronics.dk/product_info.php?products_id=45