Skip to main content
Visitor II
December 3, 2024
Question

HAL drivers for Nordic BMD350 and CAM-M8Q

  • December 3, 2024
  • 1 reply
  • 552 views

Split from https://community.st.com/t5/stm32-mcus-embedded-software/writing-own-drivers-vs-hal-for-professional-project/td-p/310476


Hi berendi


For HAL

  • Comes with a boatload of examples for most peripherals.

I am sorry, but where exactly would I find these examples for the Cube IDE. Specifically I am looking for HAL drivers for the nordic BMD350 and CAM-M8Q which I want to connect to STM32L432KC...

Thank you so much for a short reply, since I am somehow completely stuck...

JanWi

1 reply

Andrew Neil
Super User
December 3, 2024

That's not really the function of the STM32 HAL.

The purpose of the STM32 HAL is to abstract the hardware of the STM32 - not to support 3rd-party products.

You would look to the 3rd party to provide support for their products.

 


@JanWi wrote:

the nordic BMD350 


Do you mean this: https://content.u-blox.com/sites/default/files/BMD-350_DataSheet_UBX-19033354.pdf ?

Note that this is actually a uBlox product (formerly Rigado).

 


@JanWi wrote:

and CAM-M8Q 


This: https://www.u-blox.com/en/product/cam-m8-series ?

Also uBlox.

 


@JanWi wrote:

which I want to connect to STM32L432KC...


So the HAL would provide support for the STM32's UART, SPI, or whatever, and HAL examples demonstrate UART operation, etc.

For the specifics of what these uBlox products send over those interfaces, you'd need to go to uBlox.

 

Note that there is Arduino for STM32:

https://github.com/stm32duino

https://www.stm32duino.com/

which might mean that you can use Arduino libraries for these parts ...

 

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.