2020-01-09 04:44 PM
Hello,
I'm designing an embedded system that connects to a PC for USB data and converts it to an analog signal.
This is an HS USB device with 2 USB ports which needs to process 4 channel 40Mbps data.
This device can work as a single system, but with some setup, I want to make the device send 2 channels of the data to the same device system connected through another USB port.
Even though there are 2 USB peripherals in STM32F7 series, only 1 is HS and the other is FS. So I can't use FS port due to slow speed.
Also, I can't connect 1 computer to 2 systems directly due to some limitation.
Can the system diagram below achievable?
I couldn't think of a better way to implement this idea.
Thanks in advance.
Solved! Go to Solution.
2020-01-09 08:50 PM
I was suggesting that you take Usart1 over the the other processor.
getting your system to recognize the USBHUB is not trivial.
You'd probably shoe this in with a STM32MP1 , but not a STM32H or STM32F series processor.
2020-01-09 05:10 PM
can you add extra DAC ports to the first system ?
2020-01-09 05:25 PM
Unfortunately no.
Maybe because this is an application specific DAC, there's only one data port available.
2020-01-09 05:27 PM
which dac is it ?
2020-01-09 05:48 PM
It's an high resolution audio DAC. So, basically I want to split Left and Right Channel to System 1 and 2.
2020-01-09 05:49 PM
Let me see the DAC, see what we can do with two of them on one micro
2020-01-09 06:08 PM
It's a DAC by Cirrus Logic WM8740.
And your suggestion of running 2 of them on one micro is very logical, but my actual goal is to have 2 separate system and link them by USB.
2020-01-09 06:39 PM
ok,
its only 192KHz throughput
so you could redirect your stream to a serial port for the other board.
230400 baud seems to work well, that's just enough for your bandwidth.
you could go higher baud, using a "serial TTL" interface.
2020-01-09 07:53 PM
Is the below diagram what your are suggesting?
I think this is a good option. I will be using USB C port so pin number is not a problem.
If I not understanding you please let me know. Maybe you are saying data can be transferred using DP/DM pin without using MUX.
2020-01-09 08:50 PM
I was suggesting that you take Usart1 over the the other processor.
getting your system to recognize the USBHUB is not trivial.
You'd probably shoe this in with a STM32MP1 , but not a STM32H or STM32F series processor.