All Questions
47 questions
0
votes
1
answer
342
views
STM32 FDCAN filters not filtering anything
The problem
I am unable to get the HAL CAN filters to filter anything. I have FDCAN working perfectly on my STM32H723VGT6 uController. I would like to now implement CAN filters, but when I configure ...
1
vote
0
answers
93
views
Issues Establishing CAN FD on STM32U575
I'm trying to establish CAN FD communication using the STM32U575 microcontroller, but I've encountered some difficulties. While I successfully set up loop-back mode using the HAL library, I keep ...
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 ...
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 ...
2
votes
1
answer
444
views
Why is HAL_UART_Transmit_DMA not transmitting my adc_buf array properly?
Using:
STM32CubeMX Version: 6.10.0
STM32CubeIDE Version: 1.13.1
Nucleo-F767ZI
I am working on a DIY oscilloscope project where I want to try and push the speed and accuracy of the STM32F7 series' ...
0
votes
1
answer
324
views
Using CMSIS with baremetal ARM cortex-M0 on Texas Instruments
I'm trying to integrate CMSIS-Core into a project that uses the MSPMOL-1306-Q1 MCU from Texas Instruments. Most examples seem to be for STM32 Cube MCUs. For instance, this and this.
I am facing an ...
0
votes
1
answer
438
views
STM32F407VG with LAN8742A through RMII protocol doesn't run
I am looking for help with my own PCB design first running process. I have PCB with STM32F407VG and LAN8742A PHY. After powering on, the orange LED is on constantly, and nothing else. I tried it with ...
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 ...
0
votes
1
answer
248
views
Assertion error while trying to debug program STM32CubeIDE, using NUCLEO board: exit error 3
EDIT: Problem solved. The IDE didn't install properly - apparently some files got corrupted. Works fine after reinstallation.
I just started learning how to program STM32 boards and my first project ...
1
vote
1
answer
322
views
STM FDCAN Rx has wrong DataLength value
The problem
I am trying to receive a CAN message using FDCAN on my STM32H723 uController. But when I call the function HAL_FDCAN_GetRxMessage(hfdcan, FDCAN_RX_FIFO0, &CAN1RxHeader, CAN1Rx_buffer); ...
0
votes
1
answer
57
views
What type is `peripherals.APB_SARADC.split()`?
In Demystifying .. Split.. and .. using the ADC blog:
// Promote ADC peripheral to HAL-level Struct
let analog = peripherals.APB_SARADC.split();
But I cannot figure out what the return type is of ....
0
votes
1
answer
1k
views
Displaying ADC values in LCD1602 using STM32
I'm working on a project that calls for displaying ADC values on an LCD screen. I don't know much about coding because I'm new to STM32IDE. In essence, I'm utilising a (0–25 v) voltage sensor and an ...
1
vote
0
answers
526
views
How to Use BSP Library in a Project?
I'd like to create a program by which I can record and listen sound by using my board, STM32F746G-Disco. I'd like to use BSP library, however, I have some questions.
When I looked at the ...
8
votes
3
answers
2k
views
Use of Generics for Embedded HAL Structs
I am writing an embedded program for an STM32 microcontroller. I would like to be able to store the GPIO pins that represent buttons in a nice, consolidated struct.
Because embedded-hal encodes the ...
0
votes
1
answer
1k
views
UART Transmit DMA. no UART_IRQ_Handler call after transmit complete (it works in debug mode)
So I'm trying to send some data using DMA via UART (so using UART_Transmit_DMA() function).
Looking at the source code it setups a callback for the dma transfer complete and calls HAL_DMA_Start_IT(). ...