STM32 USB to I2S multi channel - log - ask for help

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.
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.
 

Attachments

  • I2S_CKIN.JPG
    I2S_CKIN.JPG
    19.2 KB · Views: 92
  • Like
Reactions: JMF11
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.
Thats a good idea, to follow the mini dsp pinout! Then maybe some of the add on cards also could be used with both.
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...
 
  • Like
Reactions: TNT
  • Like
Reactions: JMF11
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 🤔
 
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:
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.
 
  • Like
Reactions: torgeirs
Last edited: