Skip to main content

All Questions

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

Interupting CAN communication with STM32

I am working on CAN communication with STM32F429I-Disc1 with TJA1050 transceiver. Standard communication works more than fine. What I would like to do next is to interrupt communication while CAN ...
Bartosz Pieniazek's user avatar
1 vote
2 answers
30k views

STM32 SPI communication with HAL

I just started programming a STM32 and generated a code with CubeMX for an SPI communcation with a gyroscope (L3GD20) I have a problem with the HAL_SPI commands. I first try to read the WHO_AM_I ...
Anis AIT's user avatar
0 votes
1 answer
349 views

STM32F4-Discovery UART receive by DMA with included start-marker as well as an end-marker

Hi I am really new at embedded programming. I am using stm32cube IDE. I am trying to read a string to the DMA buffer but I need to implement start-marker as well as an end-marker. For example I only ...
Tea's user avatar
  • 29
0 votes
1 answer
348 views

How to use the STM32CUBE HAL library for a coninuouse i2c read

i am using the actual HAL library to read from and write to an AD7998 analog to digital converter with a stm32f407 discovery board. If I want to read several register values from the conversion ...
Falk's user avatar
  • 31
0 votes
1 answer
3k views

HAL_UART_Transmit_IT sending data twice

I am trying to establish UART communication between a PC and a STM32f407-DISC1 board using an arduino nano as a middle man. The PC sends 'r' to the arduino to indicate a request. The request is then ...
Samuel Martel's user avatar
1 vote
0 answers
5k views

I2c SLAVE HAL Transmit

I'm tring to transmit as a slave to the master with I2C in a STM32F446RE but i can't get to it. When there is no code running on the MCU i can see the master requesting me to write on the osciloscope....
Manel Vilella's user avatar
2 votes
1 answer
22k views

How receive data with HAL_UART?

I'm learning about the STM32. I'm want receive data by UART byte-to-byte with interruption. HAL_UART_Receive_IT(&huart1, buffer, length) Where &huart1 is my uart gate, buffer is the input ...
Elias Elnatã's user avatar
0 votes
1 answer
283 views

stm32f411 HAL ssd1289

Im struggling with ssd1289@ stm32f411v some time . I have problem with refreshing data on screen . Changes on variable like temperature from bmp180 etc seems to be not refreshes . Strings on screen ...
PawelW's user avatar
  • 21
0 votes
1 answer
4k views

No Data Receiving form UART with Interrupt, STM32F4, HAL drivers

When I send a request across the UART port from the PC (serial monitor) to the STM32F4 discovery board the signal will not be received. The board should normally answer with the same request which was ...
Leuchdiode's user avatar
1 vote
0 answers
204 views

SPI getting data not accoring to SCK

I have been trying to implement spi on STM32F407 discovery mode in DMA mode. I got the data, but the problem is that, I have 112 bits of data via Pulse Position Modulation, and the frequency of data ...
Almantas Karosevičius's user avatar
8 votes
1 answer
91k views

Delay in HAL Library (HAL_Delay())

I'm trying to blink LEDs on my STM32F4 Discovery. Somehow it's stuck on the delay function. I have changed the SysTick interrupt priority to 0 and added the IncTick(), GetTick() functions. What am I ...
Reactionic's user avatar
1 vote
2 answers
18k views

Can´t erase data from flash memory (STM32)

I´m trying to save some data to flash memory on my STM32F407 board. Before I can save them I need to erase memory sector. I choosed 16 Kbytes Sector1 starting with address 0x08004000 and choosed ...
Jardo421's user avatar
2 votes
1 answer
5k views

STM32F4 Discovery board hal blink not blinking

I just started to play with HAL on stm32f4 discovery board. The most basic blink doesn't work, any hint on that matter would be helpful? Code itself compiles without any problems. I was testing ...
user505160's user avatar
  • 1,216
2 votes
1 answer
3k views

Receiving data from 2 UARTs, STM32F4-Discovery, HAL drivers

I want to receive data from 2 sensors connected to my STM32F4-Discovery via 2 UARTs. Transmitting data from STM32 to sensors works but receiving doesn´t. Guarantee it isn´t a hardware problem. I found ...
Jardo421's user avatar
21 votes
6 answers
68k views

STM32F4 UART HAL Driver

I'm trying to figure out how to use this new HAL driver. I want to receive data using the HAL_UART_Receive_IT() which sets up the device to run an interrupt function when data is received. Problem ...
HammerFet's user avatar
  • 891