Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STMG0 UART DMA Tx/Rx #586

Open
ItamarEliakim-R opened this issue Feb 12, 2024 · 1 comment
Open

STMG0 UART DMA Tx/Rx #586

ItamarEliakim-R opened this issue Feb 12, 2024 · 1 comment

Comments

@ItamarEliakim-R
Copy link

ItamarEliakim-R commented Feb 12, 2024

Description

Feature Request:
I am trying to implement UART DMA TX/RX for the STM32G0B1.
For some reason, the DMA doesn't trigger the DMA callback functions.

HAL_UART_RxCpltCallback

Or

DMA1_Ch4_7_DMA2_Ch1_5_DMAMUX1_OVR_IRQHandler

image

Usage example

Minimal example of STM32G0B1, using STM32CubeMX.
With TX/RX DMA enabled on UART1/UART2.

Additional information

Under certain infrastructure modifications, I see that the IRQ is triggered for the RX functions, meaning that the

USART1_IRQHandler

Is triggered properly.
The issues arise when working/testing the DMA functions, which are defined by startup_stm32g0xx.s.

Do you plan to address this issue and file a PR?

Yes

@mateusz-holenko
Copy link
Member

Hi @ItamarEliakim-R, thanks for opening the issue.

Could you create a CI setup based on our reproduction template?

We provide a support for STM32 DMA controller models in Renode already, so it might be a matter of properly configuring the platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants