Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
146 views

USB in STM32 microcontroller - HAL_PCD_EP_Receive does not write the data into buffer

I'm developing an STM32-based USB device. It has to receive some data via bulk endpoint 2. So I'm calling HAL_PCD_EP_Receive function, giving it pointer to a buffer (audio_data), then sending the data ...
larts's user avatar
  • 67
0 votes
1 answer
103 views

How might one support cross-platform development in embedded systems (32-bit mcu board level primarily) - cross-vendor and cross-boards of a vendor?

I am trying to find an existing open source platform that abstracts hardware and boards-specifics, and allows jumping right in to application development on embedded mcu's. Ideally, I'd be able to use ...
cwx's user avatar
  • 11
1 vote
1 answer
210 views

interfaces for uncommon features in HAL layer

I am trying to make a layered architecture and apply hardware abstraction using the HAL concept (hardware abstraction layer). But I have to stick to the common features only between MCUs, in order to ...
A.Mak's user avatar
  • 23
0 votes
3 answers
392 views

Pin configurator and database for bare metal embedded systems [closed]

Exploring the best ways to architect, code and test the configuration of the many pins, of a bare metal embedded system (~80MHz, ~64kRAM). One facet of this code (/layer) I see as a tiny databasecor ...
almost_linear's user avatar
1 vote
3 answers
2k views

How convert raw data to useful temperature which comes from LSM303DLHC sensor

I use STM32F4 microcontroller and HAL library. I would like to read temperature from LSM303DLHC sensor. Following code is responsible for this task. LSM303DLHC_Status_t LSM303DLHC_get_temp(int16_t *...
J. Doe's user avatar
  • 87