Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Advice
1 vote
0 replies
52 views

The STM32H573 Ethernet HAL (header implementation) defines a callback, HAL_ETH_RxLinkCallback(), that it appears to call after it discovers that the hardware has populated a data buffer with received ...
1 vote
1 answer
88 views

So I want to use a capture compare to measure an input frequency 0.1 Hz to 100 kHz. The peripheral clock is set to 32 MHz to cover the full range and maximise the speed of calculations. At lower ...
1 vote
0 answers
38 views

After upgrading from Quarkus 3.16 to 3.17 my builds fail because HalLink constructor now takes 3 arguments instead of 1. I see that title and type have been added. I want to keep the same ...
Nik's user avatar
  • 13
1 vote
1 answer
127 views

There is a HAL library of functions for working with flash memory. I want all the functions of this library to work from RAM. How can I do this correctly, without writing _attribute_((section("....
1 vote
1 answer
99 views

I am writing C++ wrapper classes for STM32 HAL functions, and ran into the following problem. The HAL function is declared as: HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t ...
1 vote
0 answers
92 views

I'm programming in C on STM32f103rbT6. I'm using STM32CubeIDE. For some strange reason, the __WFI function, instead of waiting for an interrupt to occur, automatically calls itself and doesn't wait ...
2 votes
0 answers
79 views

I am referring to the book Mastering STM32 by Carmine Noviello. I came across an example code which talks about Interrupt priorities. He showed an example which is given below where he makes a low ...
2 votes
1 answer
127 views

In different hardware libraries for MCU I've seen (STM32 HAL, GD32 SPL, MDR32 SPL, LibOpenCM3), for operating with registers bits, logic operations (shifts, ands, ors, nots, etc) are used. But why not ...
lazba's user avatar
  • 181
2 votes
2 answers
448 views

I'm facing an issue with the update event triggering in STM32G4 TIM1. I've configured TIM1 to generate PWM signals and set the update event to Center-Aligned Mode 1. However, I've noticed that the ...
0 votes
1 answer
208 views

It’s all in the title I want to be able to change the device's i2c slave address upon reception of a certain i2c command. I'm currently using a nucleo 144 f207gz. I've been trying to achieve this ...
0 votes
1 answer
105 views

I am working on RF communication in STM32 using the NRF24L01+ module via SPI. This module raises an interrupt on a GPIO pin whenever a new message is received so I handle the interrupt to read and ...
1 vote
1 answer
231 views

Consider this code portion: ... typedef struct gyro_s { int16_t x; int16_t y; int16_t z; } gyro_t; ... /* Configuration of: - Gyroscopes' Full Scale Range. - Deactivated Sleep Mode *...
Glitch's user avatar
  • 406
0 votes
1 answer
244 views

I want to sent commands (Read, Write, etc.) to a 93C46 EEPROM with a STM32 micro-controller through the SPI interface. The data sheet of 93C46 says that we should send (e.g.) 20 clock cycles for a ...
MHBagh's user avatar
  • 31
0 votes
0 answers
75 views

I need to dial an emergency number from my app and from what I understand by reading the docs, I need to implement emergencyDial in IRadio.hal and implement emergencyDialResponse in IRadioResponse.hal ...
1 vote
1 answer
78 views

I'm trying to test I2C communication between a board(Master) and stm32 board(Slave) with I2c-tools. And I found some troubles. I thought the slave address is 0x12, but in the ownaddress info of i2c.c,...

15 30 50 per page
1
2 3 4 5
...
37

AltStyle によって変換されたページ (->オリジナル) /