Skip to main content
Best answer by STTwo-32

Hello @GS2 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

It depends on the Wireless Technologie that you are looking to use on your application. If you are looking for a short range one (a few meters) I can suggest you even our STM32WBA or STM32WB MCUs with a support of BLE, Zigbee, Thread, Matter. If you are looking for a long range Technologie, you may use our STM32WL that support LoRa, Sigfox, ...

More details on this link

Best Regards.

STTwo-32

9 replies

Andrew Neil
Super User
June 12, 2024

You've titled this "Wireless controller", but tagged it "STM32F4"?

:thinking_face:

This is the STM32 "Wireless controller" range: https://www.st.com/en/microcontrollers-microprocessors/stm32-wireless-mcus.html 

The STM32F4 range does not include any "Wireless controller": https://www.st.com/en/microcontrollers-microprocessors/stm32f4-series.html

 


@GS2 wrote:

wireless air mouse with keyboard and TV controller?


Will that be Bluetooth, or something else?

 

edit:

For Bluetooth, there's also the BlueNRG range:

https://www.st.com/en/wireless-connectivity/bluetooth-low-energy-application-processors/products.html

 

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.
GS2Author
Senior
June 12, 2024

Thank you Andrew Neil. Sorry, I was thinking about STM32F411, not STM32F4. Also I thought  there are 2 options - Bluetooth and wireless USB. I do not know which one will be better for computer wireless keyboard and air mouse.

Andrew Neil
Super User
June 12, 2024

@GS2 wrote:

 STM32F411, not STM32F4. .


STM32F4 is the name of the family; STM32E411 is one member of the family - there are no wireless members of the F4 family.

 


@GS2 wrote:

Bluetooth and wireless USB. I do not know which one will be better for computer wireless keyboard and air mouse.


Wireless USB is obsolete, and has been for a long time - so that's a non-starter.

And, anyhow, there is no STM32 which supports it.

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.
STTwo-32
STTwo-32Best answer
Technical Moderator
June 12, 2024

Hello @GS2 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

It depends on the Wireless Technologie that you are looking to use on your application. If you are looking for a short range one (a few meters) I can suggest you even our STM32WBA or STM32WB MCUs with a support of BLE, Zigbee, Thread, Matter. If you are looking for a long range Technologie, you may use our STM32WL that support LoRa, Sigfox, ...

More details on this link

Best Regards.

STTwo-32

GS2Author
Senior
June 12, 2024

Thank you STTwo-32. Yes, I am looking for a short range one (a few meters) - like computer wireless keyboard and mouse - so STM32WBA or STM32WB with STM32WBA Nucleo-64 board. Is there a software samples for that ?

GS2Author
Senior
June 12, 2024

So what do you think about STM32WBA or STM32WB with STM32WBA Nucleo-64 board ?

GS2Author
Senior
June 13, 2024

Thanks, now I think that I need NUCLEO-WB55RG board with STM32WB55RG or
NUCLEO-WB15CC board with STM32WB15CC.

Andrew Neil
Super User
June 13, 2024

Yes, they all do Bluetooth Low Energy (BLE).

BLE can certainly be used for mouse & keyboard with computers.

Whether they can be used for TVs depends on what the TV supports.

EDIT:

Go to the Product Page for each board, and look on the 'Tools and Software' tab; eg,

https://www.st.com/en/evaluation-tools/nucleo-wb15cc.html#tools-software

There you will see an STM32Cube Package; eg, in this case, STM32CubeWB:

https://www.st.com/en/embedded-software/stm32cubewb.html#documentation

There you can see the Application Note AN5155 describes the available examples - HID is what you'd use for mouse, keyboard, etc:

AndrewNeil_0-1718267776805.png

 

 

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.
GS2Author
Senior
June 15, 2024

I am wondering if you can tell - can I use this as development board  for STM32WB55RG too:

https://www.aliexpress.com/item/1005007119406784.html

GS2Author
Senior
June 14, 2024

Thank you Andrew Neil very much for your support. I am learning STM32Cube now, while ordering and waiting for the parts.

GS2Author
Senior
June 18, 2024

Hi Andrew, just one more question:

As I am planning to use STM32WB5MM module - will it be better to start with STM32WB5MM-DK ?

STTwo-32
Technical Moderator
June 18, 2024

Hello @GS2 

I suggest you create a new post for each question since we want to give more visibility to each topic discussed on the community. So, others can use those answers too. On the New post, you will also receive an answer from me, @Andrew Neil or other Community members.

Best Regards.

STTwo-32

GS2Author
Senior
June 18, 2024

OK. I will create a new post for each question.

GS2Author
Senior
October 23, 2024

2. My Combo project with BLE keyboard and mouse is working only when keyboard descriptor is very small. When I start adding fields to it report descriptor - after making connection to PC - BLE driver gives error: "This device cannot start. (Code 10) - No top level collections were found in this device". HID keyboard report descriptor itself, without mouse descriptor, is working fine as mouse alone too. So this is not a HID syntax error. My experience telling me that there is some size limit that is cutting off report descriptor at the end and that why it loosing top level collection.

Same error happens when I combine Mouse and Media kyes.

I have reported this bug to Microsoft, but I am not optimistic about there interest to fix it!

GS2Author
Senior
October 24, 2024

Also this bug (HID report descriptor cut off) can be on both side, not only with BLE PC device driver, but cut off can be on STMWB55 controller side. I just do not now how to differentiate.

GS2Author
Senior
October 25, 2024

Yes, I have miss configuration setting in the ble_config.h file:

#define BLE_CFG_HIDS_REPORT_MAP_MAX_LEN 80

That why my HID report descriptor was cut at 82 bytes.

Why it was set so low? It does not protect anything! I think it should be like 255!