-
Couldn't load subscription status.
- Fork 8.1k
drivers: i2s: add sai support for stm32u5xx #82945
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
Conversation
f8ceb83 to
eaa6008
Compare
eaa6008 to
90a2b7b
Compare
0d5e107 to
0822bdf
Compare
0acc7b3 to
8648fe2
Compare
e199134 to
7ac5f73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't go into details but this is a great work. I have few initial comments but the main request would be to add a way to build and use this driver in tree (add a (simple) sample if missing or a board configuration to make use of existing sample)
drivers/i2s/i2s_stm32_sai.c
Outdated
| uint32_t dma_channel; | ||
| struct dma_config dma_cfg; | ||
|
|
||
| /* STM32U5 HAL SAI */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really U5 specific ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erwango I dont think so, but since I have build the driver around U5 and havent checked other platforms at all I wanted to specify where I got this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove. This will be soon obsolete and don't add anything.
9391608 to
0737d2c
Compare
@erwango An overlay of Nucleo U575 is added to samples/i2s/output |
drivers/i2s/i2s_stm32_sai.c
Outdated
| uint32_t dma_channel; | ||
| struct dma_config dma_cfg; | ||
|
|
||
| /* STM32U5 HAL SAI */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove. This will be soon obsolete and don't add anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your feedback. Last round of comments I hope from my part.
Add SAI1 A & B nodes on STM32U5 Series Signed-off-by: Mario Paja <mario.paja@zal.aero>
7ee77c1 to
ad44748
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
This PR adds initial sai support for STM32u5xx Signed-off-by: Mario Paja <mario.paja@zal.aero>
Adds Nucleo U575 overlay and config files Signed-off-by: Mario Paja <mario.paja@zal.aero>
|



Development status:
Board used:
B-U585I-IOT02A
Nucleo-U575
Tests (16-bit, 2-channels, 44.1KHz):
Overlays:
nucleo_u575zi_q.overlay
b_u585i_iot02a.overlay