Schema is very simple (see attachment). In my implementation GPIOs and CLK go through digital isolator but that is not absolutely needed. MCK divider is set in register SAI_ACRx. Reference manual has all the required information.Would you have a schema for that, with typical components? Without such thing I won't be able to implement this config, and will have to go to the system clock reference from the OpenUac Bridge.
Attachments
Thats a good idea, to follow the mini dsp pinout! Then maybe some of the add on cards also could be used with both.Last time I checked, on JLCPCB, they had stm32H7 and no stm32F7. So it would ne the natural way to go. The mchstreamer-lite could be a good inspiration source for the pinouts. But I won't be able to all the functions they do. It looks like a really versatile product a reasonable price.
I understand that it is not a priority, but still:
If there are free ADC analog in pins, the H7 has a 16 bit ADC that can be downsampled to realy good SNR values. If one ore more could be exposed it would be great. (Exposing unused pins is a bonus, but I understand if you choose to save board space)
Keep it simple is my idea. Expose few digita I/O and an analog input in the NeatAmp for few simple controls, but not more. Traces routing take time. There are a lot of constraints. Less signals, less traces, less time, more chances that something is achieved 🙂
And as schematics are available, someone can get it to next level...
And as schematics are available, someone can get it to next level...
OK😄
But last request. If the choice is between a mcu that also is on a nucleo and another, chose the nucleo one.
Then it is easyer for others to join codevelopment.
But last request. If the choice is between a mcu that also is on a nucleo and another, chose the nucleo one.
Then it is easyer for others to join codevelopment.
And lets say you only need some of the outputs, maybe the nucleo board is enough and the code can be used without modification
https://www.st.com/en/microcontrollers-microprocessors/stm32h723zg.html
https://www.st.com/en/evaluation-tools/nucleo-h723zg.html
USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip FS PHY and ULPI for external HS PHY
https://www.st.com/en/evaluation-tools/nucleo-h723zg.html
USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip FS PHY and ULPI for external HS PHY
- Up to 6 SPIs with 4 with muxed duplex I2S for audio class accuracy via internal audio PLL or external clock and up to 5 x SPI (from 5 x USART when configured in synchronous mode)
- 2x SAI (serial audio interface)
I was looking if the nucleo board has USB HS. It is stated in the databrief: USB Device only, USB OTG full speed, or SNK/UFP (full-speed or high-speed mode)
What means or SNK/UFP (full-speed or high-speed mode) ? I don't understand if they have two boards models, if a single board can have full-speed or high-speed mode, or if additional hardware is needed 🤔
What means or SNK/UFP (full-speed or high-speed mode) ? I don't understand if they have two boards models, if a single board can have full-speed or high-speed mode, or if additional hardware is needed 🤔
Most Nucleo boards do not have USB HS so external PHY (ULPI) is needed. But Nucleo board layout does not work well with ULPI as required pins are scattered on different pin headers which makes it difficult to connect all ULPI pins without exceeding maximum trace length (about 75mm).
Last edited:
Syncing input and output. Interesting case. PingPong input buffer to single output buffer:
https://community.st.com/t5/stm32-mcus-products/stm-mcus-how-to-sync-audio-in-and-out/td-p/674972
https://community.st.com/t5/stm32-mcus-products/stm-mcus-how-to-sync-audio-in-and-out/td-p/674972
A bit off topic, but I wonder how USB C connectivity maps with USB 2.0 FS or HS.
Is it only a different connector format that can support Usb 2.0? Or Usb-C means different Usb spec?
Is it only a different connector format that can support Usb 2.0? Or Usb-C means different Usb spec?
Ah, irritating, seems ony the new ones support 480mbit USB without extra hardware
STM32H7S seem to support it?
STM32H7S seem to support it?
OK, this post adresses it and a very informative answer
https://community.st.com/t5/stm32-mcus-products/stm32h7-with-integrated-usb-hs-phy/td-p/604672
And The answer: "information can be found in AN4879: Introduction to USB hardware and PCB guidelines using STM32 MCUs and precisely table 5:"
I see it is now table 6
And seems et is back to F7x3 or F730 series or the H7R series
https://community.st.com/t5/stm32-mcus-products/stm32h7-with-integrated-usb-hs-phy/td-p/604672
And The answer: "information can be found in AN4879: Introduction to USB hardware and PCB guidelines using STM32 MCUs and precisely table 5:"
I see it is now table 6
And seems et is back to F7x3 or F730 series or the H7R series
Last edited:
It is fairly easy to use ULPI PHYs with these MCUs on a custom design where trace lengths can be kept very short (below 20mm). I use USB3343 with STM32H7s and to keep ULPI traces short and equal length I have placed the ULPI chip below the MCU on the opposite side of the PCB.
The new STM32H7R and STM32H7S have embedded HS PHY. But the flash size is limited.
The new STM32H7R and STM32H7S have embedded HS PHY. But the flash size is limited.
That would be great to have both USB 2.0 HS and FMAC/DSP like on F723. So that is not supported by any NUCLEO board yet.
The H7R/S don't have FMAC. The F723 don't have HS PHY
But https://www.st.com/resource/en/user...nucleo144-board-mb1737-stmicroelectronics.pdf has USB C connector for USB 2.0 HS so that feels modern🙂 .
Wonder if it is "easy" to implement USB AUDIO to I2S or TDM using DMA in that one?
The H7R/S don't have FMAC. The F723 don't have HS PHY
But https://www.st.com/resource/en/user...nucleo144-board-mb1737-stmicroelectronics.pdf has USB C connector for USB 2.0 HS so that feels modern🙂 .
Wonder if it is "easy" to implement USB AUDIO to I2S or TDM using DMA in that one?
Last edited:
Yes, that board should work quite well but flash size may be an issue.But https://www.st.com/resource/en/user...nucleo144-board-mb1737-stmicroelectronics.pdf has USB C connector for USB 2.0 HS so that feels modern🙂 .
Wonder if it is "easy" to implement USB AUDIO to I2S or TDM using DMA in that one?
- Home
- Source & Line
- Digital Line Level
- STM32 USB to I2S multi channel - log - ask for help