FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: Vinculum Midi Host USB  (Read 29273 times)

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Vinculum Midi Host USB
« on: February 15, 2022, 10:27:32 AM »

I'd would like to build a device, using the Vinculum II, to capture some MIDI data strings sent on the USB port of an audio device (MIDI on the USB); it sends 4 bytes using a bulk mode (endpoint 0x82, input) through the USB interface.

Any suggestions or FW application ?

Thank you
Logged

FTDI_USA

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Vinculum Midi Host USB
« Reply #1 on: February 16, 2022, 12:22:55 AM »

Carlo:

Need more information about the USB to MIDI device. Please run our USB View utility, highlight the MIDI device, and send me a screenshot.
https://ftdichip.com/wp-content/uploads/2020/07/usbview.zip


Best Regards,
Cameron Forbes, FTDI USA
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #2 on: March 03, 2022, 09:55:57 AM »

Thanks Cameron,

I need to connect the Vinculum II to a device that works at High Speed, it uses a Bulk transfer type and send 4 MIDI bytes on the USB interface.
I need to capture these bytes, I made several tests (Class: MIDI) but it seems that the Vinculum II is not able to communicate with a high speed device...

May you help me to understand where is the problem ?

Thank you
Carlo

Carlo:

Need more information about the USB to MIDI device. Please run our USB View utility, highlight the MIDI device, and send me a screenshot.
https://ftdichip.com/wp-content/uploads/2020/07/usbview.zip


Best Regards,
Cameron Forbes, FTDI USA
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #3 on: March 03, 2022, 10:16:34 AM »

Carlo:

Need more information about the USB to MIDI device. Please run our USB View utility, highlight the MIDI device, and send me a screenshot.
https://ftdichip.com/wp-content/uploads/2020/07/usbview.zip


Best Regards,
Cameron Forbes, FTDI USA
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #4 on: March 04, 2022, 08:10:42 AM »

Carlo:

Need more information about the USB to MIDI device. Please run our USB View utility, highlight the MIDI device, and send me a screenshot.
https://ftdichip.com/wp-content/uploads/2020/07/usbview.zip


Best Regards,
Cameron Forbes, FTDI USA


I sent a TXT file...
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #5 on: March 04, 2022, 03:27:02 PM »

I sent a TXT file...it contains what I have captured using a USB monitor software...I' m able to write an appication that enumerates the USB device, but when I try to open a Midi class the application returns an error....
Carlo
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #6 on: March 07, 2022, 09:47:11 AM »

Carlo:

Need more information about the USB to MIDI device. Please run our USB View utility, highlight the MIDI device, and send me a screenshot.
https://ftdichip.com/wp-content/uploads/2020/07/usbview.zip


Best Regards,
Cameron Forbes, FTDI USA

I' m able to write an appication that enumerates the USB device, but when I try to open a Midi class the application returns an error....

Carlo
Logged

FTDI_USA

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Vinculum Midi Host USB
« Reply #7 on: March 07, 2022, 10:11:45 PM »

Carlo:

The VNC2 embedded host controller only supports a limited number of USB Device Classes.

I'm afraid the VNC2 drivers do not support MIDI class devices.


Best Regards,
Cameron Forbes,  FTDI USA
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #8 on: March 08, 2022, 08:48:38 AM »

Carlo:

The VNC2 embedded host controller only supports a limited number of USB Device Classes.

I'm afraid the VNC2 drivers do not support MIDI class devices.


Best Regards,
Cameron Forbes,  FTDI USA

The USB.H contains also the MIDI class code as MIDISTREAMING (0x03)...

#define USB_CLASS_DEVICE                      0x00
#define USB_CLASS_AUDIO                           0x01
#define USB_CLASS_CDC_CONTROL                   0x02
#define USB_CLASS_HID                         0x03
#define USB_CLASS_PHYSICAL                      0x05
#define USB_CLASS_IMAGE                      0x06
#define USB_CLASS_PRINTER                      0x07
#define USB_CLASS_MASS_STORAGE                   0x08
#define USB_CLASS_HUB                         0x09
#define USB_CLASS_CDC_DATA                      0x0a
#define USB_CLASS_SMART_CARD                   0x0b
#define USB_CLASS_CONTENT_SECURITY                0x0d
#define USB_CLASS_VIDEO                      0x0e
#define USB_CLASS_PERSONAL_HEALTHCARE             0x0f
#define USB_CLASS_DIAGNOSTIC_DEVICE                0xdc
#define USB_CLASS_WIRELESS_CONTROLLER             0xe0
#define USB_CLASS_MISCELLANEOUS                0xef
#define USB_CLASS_APPLICATION                   0xfe
#define USB_CLASS_VENDOR                      0xff

#define USB_SUBCLASS_ANY                      0xff
#define USB_PROTOCOL_ANY                      0xff

// USB_CLASS_DEVICE
#define USB_SUBCLASS_DEVICE                      0x00
#define USB_PROTOCOL_DEVICE                      0x00

// USB_CLASS_AUDIO
#define USB_SUBCLASS_AUDIO_UNDEFINED             0x00
#define USB_SUBCLASS_AUDIO_AUDIOCONTROL          0x01
#define USB_SUBCLASS_AUDIO_AUDIOSTREAMING          0x02
#define USB_SUBCLASS_AUDIO_MIDISTREAMING          0x03  <---------- ****
#define USB_PROTOCOL_AUDIO_UNDEFINED             0x00
#define USB_PROTOCOL_AUDIO_VERSION_02_00          0x20

Anyway is there a possibility that you will add this features ?

Carlo
Logged

CarloVRR

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vinculum Midi Host USB
« Reply #9 on: March 10, 2022, 11:23:35 AM »

Carlo:

The VNC2 embedded host controller only supports a limited number of USB Device Classes.

I'm afraid the VNC2 drivers do not support MIDI class devices.


Best Regards,
Cameron Forbes,  FTDI USA
Dear Cameron,

I've written a code that uses the MIDI class, try it with a keyboard and a synth, both work and I don't receive any errors.
The same code tested with the PodGo, I attach the USBView file, returns an error (the enumeration doesn't return any error) when I try to open a MIDI class; the PodGo has a high speed USB connection while the Vinculum II works with a full speed, this different speed could be the origin of the error ?

Thank you, best regards
Logged

FTDI_USA

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Vinculum Midi Host USB
« Reply #10 on: March 10, 2022, 11:23:28 PM »

Hello:

It may be possible to modify our CDC Host driver code (included with the VNC2 IDE) to work with your MIDI devices Miscellaneous Class (0xef) Audio Streaming sub-class (0x02)

You can find the CDC Host driver app note (AN_171) here:
https://ftdichip.com/wp-content/uploads/2020/08/AN_171_Vinculum_II_USB_Host_Using-_the_CDC_Driver.pdf

You can also contact me by email:   us.support@ftdichip.com

Best Regards,

USA Support
Logged