Гут, и в целом по результатам. По фотографии кажется, что плата 2-х слойная? По моим подсчетам измерительные комплект из готового транспорта на XU208 и отдельной платы с CS5381, без изоляторов, обойдется в 70-80$. Цены на АЦП считаю по UTsource, где когда-то брал по 7$.
maxssau, по софту на XU208 можете подсказать? Сколько времени ушло на освоение фирмваре, на базе каких исходников? Архитектура контроллера довольно специфическая. И с драйверами есть небольшая путаница, вроде XMOS выпускает свои бесплатные v4.13, пока ориентируюсь на W7, а с другой стороны разные производители модернизируют драйвера под свои платы на базе более новых DDK (Driver Development Kit) v4.67-v5.0.0. Чего не хватает в бесплатных?
Последний раз редактировалось rloc; 13.01.2021 в 12:20.
4х слойная, с индивидуальными полигонами для каждого функционального узла
50$ CS5381, ~25-30$ XUF208 и дальше небегает DC-DC, ОУ не дешевые, тантал, плёнка, генераторы и т.п.
исходники есть на сайте xmos и доступны после регистрации, я брал на тот момент последнюю версию 6.15.2, сейчас давно не заглядывал. Так же есть отличный форум по этим процессорам xcore.com, там как раз можно найти патч DSD, т.к. из коробки работает неправильно. На сайте есть xmos usb audio design guide, где расписан в подробностях фреймворк. По времени если есть адаптер XTAG и простейшая демобоарда, то пара вечеров. Я делал такую плату, она в основе платы АЦП, с мелкими улучшениями:
С драйверами есть определенные трудности. Конторка на деле оказалась довольно жадной и по идее драйвера нужно покупать. Если использовать для себя любимого, то подходят отсюда http://jlsounds.com/drivers.html версии 3.34. Я как то общался на эту тему, говорят безлимитная лицензия thesycon что-то в районе 20k$+.
АЦП можно сильно удешевить, но для этого надо транспорт делать на чем то дешевом, STM32 например. Я пока исходники x-cube usb audio толком не изучил.
Последний раз редактировалось maxssau; 13.01.2021 в 15:42.
Геннадий UA1ARN показывал на Аисте, да и я проверял лично на стм32 - UAC1 не ограничен full speed. Это можно на любом копеечном кристалле проверить, скажем, на cy7c68013 (fx2lp)
Получают от драйвера в винде возможности устройства
Поскольку все эти драйверные цацки являются пляской с бубном вокруг UAC2, и в линуксе эти железки работают с опенсорсным драйвером, то заменой VID/PID в устройстве вы получаете совместимость свой бесплатной железки с коммерческим драйвером
положить в папку STM32Cube_FW_F7_V1.7 .0\Projects\STM32F72 3E-Discovery\Applicatio ns\USB_Device
Скрытый текст
Код:Information for device STM32 AUDIO Streaming in HS Mode (VID=0x0483 PID=0xDEAD): Connection Information: ------------------------------ Connection status: Device connected Device actual bus speed: High Device is hub: No Device adress: 0x0001 Current configuration value: 0x01 Number of open pipes: 0 Device Descriptor: ------------------------------ 0x12 bLength 0x01 bDescriptorType 0x0200 bcdUSB 0x00 bDeviceClass 0x00 bDeviceSubClass 0x00 bDeviceProtocol 0x40 bMaxPacketSize0 (64 Bytes) 0x0483 idVendor 0xDEAD idProduct 0x0200 bcdDevice 0x01 iManufacturer "old bald ham" 0x02 iProduct "STM32 AUDIO Streaming in HS Mode" 0x03 iSerialNumber "3656387D3136" 0x01 bNumConfigurations Device Qualifier Descriptor: ------------------------------ 0x0A bLength 0x06 bDescriptorType 0x0200 bcdUSB 0x00 bDeviceClass 0x00 bDeviceSubClass 0x00 bDeviceProtocol 0x40 bMaxPacketSize0 (64 Bytes) 0x01 bNumConfigurations 0x00 bReserved Configuration Descriptor: ------------------------------ 0x09 bLength 0x02 bDescriptorType 0x00DC wTotalLength 0x03 bNumInterfaces 0x01 bConfigurationValue 0x00 iConfiguration 0xC0 bmAttributes (Self-powered Device) 0x32 bMaxPower (100 mA) Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x00 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x01 bInterfaceSubClass (Audio Control Interface) 0x00 bInterfaceProtocol 0x00 iInterface AC Interface Header Descriptor: ------------------------------ 0x0A bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x0100 bcdADC 0x004A wTotalLength 0x02 bInCollection 0x01 baInterfaceNr(1) 0x02 baInterfaceNr(2) AC Input Terminal Descriptor: ------------------------------ 0x0C bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bTerminalID 0x0101 wTerminalType (USB Streaming) 0x00 bAssocTerminal 0x02 bNrChannels 0x0003 wChannelConfig 0x00 iChannelNames 0x00 iTerminal AC Feature Unit Descriptor: ------------------------------ 0x0A bLength 0x24 bDescriptorType 0x06 bDescriptorSubtype 0x02 bUnitID 0x01 bSourceID 0x01 bControlSize bmaControls: 0x01 Channel(0) 0x00 Channel(1) 0x00 Channel(2) 0x00 iFeature AC Output Terminal Descriptor: ------------------------------ 0x09 bLength 0x24 bDescriptorType 0x03 bDescriptorSubtype 0x03 bTerminalID 0x0301 wTerminalType (Speaker) 0x00 bAssocTerminal 0x02 bSourceID 0x00 iTerminal AC Input Terminal Descriptor: ------------------------------ 0x0C bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x04 bTerminalID 0x0205 wTerminalType (Microphone array) 0x00 bAssocTerminal 0x04 bNrChannels 0x0033 wChannelConfig 0x00 iChannelNames 0x00 iTerminal AC Feature Unit Descriptor: ------------------------------ 0x0C bLength 0x24 bDescriptorType 0x06 bDescriptorSubtype 0x05 bUnitID 0x04 bSourceID 0x01 bControlSize bmaControls: 0x01 Channel(0) 0x00 Channel(1) 0x00 Channel(2) 0x00 Channel(3) 0x00 Channel(4) 0x00 iFeature AC Output Terminal Descriptor: ------------------------------ 0x09 bLength 0x24 bDescriptorType 0x03 bDescriptorSubtype 0x06 bTerminalID 0x0101 wTerminalType (USB Streaming) 0x00 bAssocTerminal 0x05 bSourceID 0x00 iTerminal Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x01 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x01 bInterfaceNumber 0x01 bAlternateSetting 0x01 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface AS Interface Descriptor: ------------------------------ 0x07 bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x01 bTerminalLink 0x01 bDelay 0x0001 wFormatTag (PCM) AS Format Type 1 Descriptor: ------------------------------ 0x17 bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bFormatType 0x02 bNrChannels 0x02 bSubframeSize 0x10 bBitResolution (16 Bits/sample) 0x05 bSamFreqType (Discrete sampling frequencies) 0x00BB80 tSamFreq(1) (48000 Hz) 0x017700 tSamFreq(2) (96000 Hz) 0x02EE00 tSamFreq(3) (192000 Hz) 0x05DC00 tSamFreq(4) (384000 Hz) 0x0BB800 tSamFreq(5) (768000 Hz) Endpoint Descriptor (Audio/MIDI): ------------------------------ 0x09 bLength 0x05 bDescriptorType 0x01 bEndpointAddress (OUT Endpoint) 0x05 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Data) 0x00C0 wMaxPacketSize (192 Bytes) 0x01 bInterval 0x01 bRefresh 0x00 bSynchAddress AS Isochronous Data Endpoint Descriptor: ------------------------------ 0x07 bLength 0x25 bDescriptorType 0x01 bDescriptorSubtype 0x00 bmAttributes 0x00 bLockDelayUnits (Undefined) 0x0000 wLockDelay Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x02 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x02 bInterfaceNumber 0x01 bAlternateSetting 0x01 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface AS Interface Descriptor: ------------------------------ 0x07 bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x06 bTerminalLink 0x01 bDelay 0x0001 wFormatTag (PCM) AS Format Type 1 Descriptor: ------------------------------ 0x17 bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bFormatType 0x04 bNrChannels 0x02 bSubframeSize 0x10 bBitResolution (16 Bits/sample) 0x05 bSamFreqType (Discrete sampling frequencies) 0x00BB80 tSamFreq(1) (48000 Hz) 0x017700 tSamFreq(2) (96000 Hz) 0x02EE00 tSamFreq(3) (192000 Hz) 0x05DC00 tSamFreq(4) (384000 Hz) 0x0BB800 tSamFreq(5) (768000 Hz) Endpoint Descriptor (Audio/MIDI): ------------------------------ 0x09 bLength 0x05 bDescriptorType 0x82 bEndpointAddress (IN Endpoint) 0x25 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Implicit) 0x0180 wMaxPacketSize (384 Bytes) 0x01 bInterval 0x04 bRefresh 0x00 bSynchAddress AS Isochronous Data Endpoint Descriptor: ------------------------------ 0x07 bLength 0x25 bDescriptorType 0x01 bDescriptorSubtype 0x00 bmAttributes 0x00 bLockDelayUnits (Undefined) 0x0000 wLockDelay Other Speed Configuration Descriptor: ------------------------------ 0x09 bLength 0x07 bDescriptorType 0x00C4 wTotalLength 0x03 bNumInterfaces 0x01 bConfigurationValue 0x00 iConfiguration 0xC0 bmAttributes (Self-powered Device) 0x32 bMaxPower (100 mA) Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x00 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x01 bInterfaceSubClass (Audio Control Interface) 0x00 bInterfaceProtocol 0x00 iInterface AC Interface Header Descriptor: ------------------------------ 0x0A bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x0100 bcdADC 0x004A wTotalLength 0x02 bInCollection 0x01 baInterfaceNr(1) 0x02 baInterfaceNr(2) AC Input Terminal Descriptor: ------------------------------ 0x0C bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bTerminalID 0x0101 wTerminalType (USB Streaming) 0x00 bAssocTerminal 0x02 bNrChannels 0x0003 wChannelConfig 0x00 iChannelNames 0x00 iTerminal AC Feature Unit Descriptor: ------------------------------ 0x0A bLength 0x24 bDescriptorType 0x06 bDescriptorSubtype 0x02 bUnitID 0x01 bSourceID 0x01 bControlSize bmaControls: 0x01 Channel(0) 0x00 Channel(1) 0x00 Channel(2) 0x00 iFeature AC Output Terminal Descriptor: ------------------------------ 0x09 bLength 0x24 bDescriptorType 0x03 bDescriptorSubtype 0x03 bTerminalID 0x0301 wTerminalType (Speaker) 0x00 bAssocTerminal 0x02 bSourceID 0x00 iTerminal AC Input Terminal Descriptor: ------------------------------ 0x0C bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x04 bTerminalID 0x0205 wTerminalType (Microphone array) 0x00 bAssocTerminal 0x04 bNrChannels 0x0033 wChannelConfig 0x00 iChannelNames 0x00 iTerminal AC Feature Unit Descriptor: ------------------------------ 0x0C bLength 0x24 bDescriptorType 0x06 bDescriptorSubtype 0x05 bUnitID 0x04 bSourceID 0x01 bControlSize bmaControls: 0x01 Channel(0) 0x00 Channel(1) 0x00 Channel(2) 0x00 Channel(3) 0x00 Channel(4) 0x00 iFeature AC Output Terminal Descriptor: ------------------------------ 0x09 bLength 0x24 bDescriptorType 0x03 bDescriptorSubtype 0x06 bTerminalID 0x0101 wTerminalType (USB Streaming) 0x00 bAssocTerminal 0x05 bSourceID 0x00 iTerminal Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x01 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x01 bInterfaceNumber 0x01 bAlternateSetting 0x01 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface AS Interface Descriptor: ------------------------------ 0x07 bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x01 bTerminalLink 0x01 bDelay 0x0001 wFormatTag (PCM) AS Format Type 1 Descriptor: ------------------------------ 0x0B bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bFormatType 0x02 bNrChannels 0x02 bSubframeSize 0x10 bBitResolution (16 Bits/sample) 0x01 bSamFreqType (Discrete sampling frequencies) 0x00BB80 tSamFreq(1) (48000 Hz) Endpoint Descriptor (Audio/MIDI): ------------------------------ 0x09 bLength 0x05 bDescriptorType 0x01 bEndpointAddress (OUT Endpoint) 0x05 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Data) 0x00C0 wMaxPacketSize (192 Bytes) 0x01 bInterval 0x00 bRefresh 0x00 bSynchAddress AS Isochronous Data Endpoint Descriptor: ------------------------------ 0x07 bLength 0x25 bDescriptorType 0x01 bDescriptorSubtype 0x00 bmAttributes 0x00 bLockDelayUnits (Undefined) 0x0000 wLockDelay Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x02 bInterfaceNumber 0x00 bAlternateSetting 0x00 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface Interface Descriptor: ------------------------------ 0x09 bLength 0x04 bDescriptorType 0x02 bInterfaceNumber 0x01 bAlternateSetting 0x01 bNumEndPoints 0x01 bInterfaceClass (Audio Device Class) 0x02 bInterfaceSubClass (Audio Streaming Interface) 0x00 bInterfaceProtocol 0x00 iInterface AS Interface Descriptor: ------------------------------ 0x07 bLength 0x24 bDescriptorType 0x01 bDescriptorSubtype 0x06 bTerminalLink 0x01 bDelay 0x0001 wFormatTag (PCM) AS Format Type 1 Descriptor: ------------------------------ 0x0B bLength 0x24 bDescriptorType 0x02 bDescriptorSubtype 0x01 bFormatType 0x04 bNrChannels 0x02 bSubframeSize 0x10 bBitResolution (16 Bits/sample) 0x01 bSamFreqType (Discrete sampling frequencies) 0x00BB80 tSamFreq(1) (48000 Hz) Endpoint Descriptor (Audio/MIDI): ------------------------------ 0x09 bLength 0x05 bDescriptorType 0x82 bEndpointAddress (IN Endpoint) 0x25 bmAttributes (Transfer: Isochronous / Synch: Asynchronous / Usage: Implicit) 0x0180 wMaxPacketSize (384 Bytes) 0x01 bInterval 0x00 bRefresh 0x00 bSynchAddress AS Isochronous Data Endpoint Descriptor: ------------------------------ 0x07 bLength 0x25 bDescriptorType 0x01 bDescriptorSubtype 0x00 bmAttributes 0x00 bLockDelayUnits (Undefined) 0x0000 wLockDelay String Descriptor Table -------------------------------- Index LANGID String 0x00 0x0000 0x0409 0x01 0x0409 "old bald ham" 0x02 0x0409 "STM32 AUDIO Streaming in HS Mode" 0x03 0x0409 "3656387D3136" 0xEE 0x0000 Request failed with 0x0000001F ------------------------------ Connection path for device: Стандартный расширенный PCI - USB хост-контроллер Root Hub STM32 AUDIO Streaming in HS Mode (VID=0x0483 PID=0xDEAD) Brought to you by TDD v1.83.0, Mar 7 2014, 14:22:05
Добавлено через 11 минут(ы):
а это на 407-м с ULPI
Последний раз редактировалось romanetz; 14.01.2021 в 08:00.
А какой драйвер у CM6631? Есть ли он для семёрки?
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)