Skip to content

Conversation

@mariopaja
Copy link
Contributor

@mariopaja mariopaja commented Aug 19, 2025

This PR enables SAI on STM32N6xx series by:

  1. Adding SAI1 A/B & SAI2 A/B nodes
  2. Adding STM32N6 secure & privileged DMA attributes in SAI driver
  3. Adding nucleo_n657x0 in samples/drivers/i2s/output
Screenshot 2025-08-20 at 09 42 31
stm32n6_sai.mp4

Add SAI1 & SAI2 nodes to STM32N6xx series

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
erwango
erwango previously approved these changes Aug 20, 2025
@anangl anangl assigned erwango and unassigned anangl Aug 20, 2025
gautierg-st
gautierg-st previously approved these changes Aug 21, 2025
Copy link
Contributor

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a few nitpicking comments.

@mariopaja mariopaja dismissed stale reviews from gautierg-st and erwango via 220ab3a August 21, 2025 09:45
@mariopaja mariopaja force-pushed the stm32n6xx_sai branch 2 times, most recently from 220ab3a to 00d8534 Compare August 21, 2025 09:55
@mariopaja mariopaja force-pushed the stm32n6xx_sai branch 5 times, most recently from e2a77d8 to fe88927 Compare August 21, 2025 10:05
This commit adds specific DMA configuration for STM32N6xx.
STM32N6xx uses GPDMA for SAI as STM32U5xx/U3xx/H5xx/H7RS etc.
In constrast to these series, STM32N6xx DMA requires a secure
and privileged channel.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
Add nucleo_n657x0 in samples/drivers/i2s/output

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
@sonarqubecloud
Copy link

@kartben kartben merged commit c83703c into zephyrproject-rtos:main Aug 22, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants