Replies: 13 comments 19 replies
-
One thing I noticed is, I'm not sure it's due to Cortex-M7's pipeline latency, or SAM E70's bus matrix inefficiency, it's very slow to access non-cached memory. I test the speed by copy data from internal SRAM to external SRAM interface: With DMA I can always get the maximum throughput because it do burst access. As generally USB FIFOs are not cached, I think we have to add DMA support in order to handle high-speed transfer properly. @hathach Do you have any experience about this behavior on Cortex-M7 ? |
Beta Was this translation helpful? Give feedback.
-
@HiFiPhile I haven't worked with SAME70 just yet to comment, though on iMXRT 10xx which is also M7, you need to Invalidate mcu cache for peripherals to pick up https://github.com/hathach/tinyusb/blob/master/src/portable/nxp/transdimension/dcd_transdimension.c#L47 . The slow thing probably is due to SAME7x clock, memeory configure or else, I think you will have an better anwser asking in Microchip forum. |
Beta Was this translation helpful? Give feedback.
-
That's crazy fast :D Yes please share some details, i am always interested in fancy stuff ;) Do you alreaey use your XMOS replacements in an audio project? |
Beta Was this translation helpful? Give feedback.
-
I've only done some simple tests the MCU+FPGA combination, including configuring the FPGA by MCU and high-speed communication. Currently I'm making a board of SAME70+ICE40HX8K, which can be used as a multi-propose development board or a I2S-bridge. Strangely there are few boards of MCU+FPGA, and most of then can't do high-speed streaming. |
Beta Was this translation helpful? Give feedback.
-
That looks pretty nice! But you skip the mounting holes? Do you have any case in mind? |
Beta Was this translation helpful? Give feedback.
-
There are SMD spacers on the bottom :) As it's pretty small, I think it's more practical to plug on mother board, for example plug on the DAC board when used as an I2S-Bridge. (Pin headers mounted on the bottom) |
Beta Was this translation helpful? Give feedback.
-
@PanRe I've received 5*PCB half assembled for 35€ :) |
Beta Was this translation helpful? Give feedback.
-
Wow nice! :) Thanks a lot for the offer! Hardware is always welcome! :D But don't you want to test it in advance? ;)--Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 16.02.21, 16:22 schrieb HiFiPhile <[email protected]>:
@PanRe I've received 5*PCB half assembled for 35€ :) If you are interested I can "sponsor" you one.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
It looks pretty nice! Let me know how it works! :) |
Beta Was this translation helpful? Give feedback.
-
I was wondering how your project is going on? Are you fine with the current audio driver and does all work as you whished for? :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
That really sounds quiet nice! Sorry for responding so late, i was moving into a new flat which turned out to be quiet time consuming ^^ |
Beta Was this translation helpful? Give feedback.
-
@PanRe
My idea is to replace XMOS ICs, while they work great sometimes it's hard to buy, and I like a more universal solution.
Instead of using MCU's I2S, with a little iCE40 FPGA I can have native DSD output, auto mute on empty FIFO and some crazy (mostly meaningless) stuff like PCM 768K and DSD1024.
On SAM E70 with a 16 bit SRAM interface I got a throughput about 70MB/s :)
If you are interested I can share you more details 😎
They are very limited STM32s with internal HS Phy, they are either too big (144pin LQFP, which occupy more than 3*3cm) or too expensive to make the PCB (most low-cost PCB factories can't do 0.65mm BGA)
Beta Was this translation helpful? Give feedback.
All reactions