Skip to content

fix LPTIM2 IC1 request ID for STM32MP21 of HAL DMA - #10

Open
adn-dodo wants to merge 1 commit into
STMicroelectronics:mainfrom
adn-dodo:fix-lptim2-hpdma-request
Open

adn-dodo wants to merge 1 commit into
STMicroelectronics:mainfrom
adn-dodo:fix-lptim2-hpdma-request

Conversation

@adn-dodo

Copy link
Copy Markdown

Description

Fix the incorrect HPDMA request ID for LPTIM2 input capture channel 1 on STM32MP21 devices.

The HPDMA_REQUEST_LPTIM2_IC1 macro was incorrectly defined as 115U, which is already assigned to HPDMA_REQUEST_LPTIM2_IC2.

According to the STM32MP21 reference manual (RM0506), the correct request mapping is:

  • LPTIM2_IC1: 114
  • LPTIM2_IC2: 115
  • LPTIM2_UE: 116

This patch corrects the LPTIM2_IC1 request ID to 114U.

Fixes #9.

Signed-off-by: Adn Elkawass <elkawasadn@gmail.com>
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

Successfully merging this pull request may close these issues.

A possible typo in LPTIM2's HPDMA request number.

1 participant