Microchip
直播中

张玉华

8年用户 165经验值
私信 关注
[问答]

USB转MIDI

目前我使用的是MIDI输入的24FJ256GA108。我使用一个31250波特的串行端口,工作非常出色。(PIC处理MIDI命令并驱动/控制教堂的一个CARLLION),但是客户认为串行MIDI有点过时,需要USB。有人已经实现了吗?(我宁愿继续使用串行MIDI,因为它是好的和简单的…(但不是我的干系……微笑:

以上来自于百度翻译


      以下为原文

    At the moment I'm using the 24FJ256GA108 for MIDI input.
I use one of the serial ports at 31250 baud, works excellent.
(PIC processes Midi commands and drives/controls a church carillion)

But client thinks the serial MIDI is a bit old fashioned, and wants USB.
Has anybody implemented that already?
(I rather would keep using serial MIDI, because it's nice and simple... (but not my desicion... Smile: )

回帖(7)

刘琴

2018-9-5 16:41:13
我加入了USB连接到我的PIC24FJ256GB206项目,包括一个FTDI FT232R芯片上的板上钩作为一个RS232/USB转换器。这是非常简单的,你可以很容易地添加一个门的传入数据到PIC串行端口,所以你可以决定使用USB或RS232与一个简单的跳线在连接器。然后Windows(?)与此挂钩的软件仍然可以通过串行操作,而客户看到USB连接线,并很高兴。我检查了手册的非标准波特率31250,它是由FTDI驱动程序支持的,所以如果PC软件打开端口,并设置波特到31250,它将工作。

以上来自于百度翻译


      以下为原文

    I added USB connectivity to my PIC24FJ256GB206 project by including an FTDI FT232R chip on the board hooked up as an RS232/USB converter. This is very simple to do and you can actually easily add a gate for the incoming data to the PIC serial port so you can decide to use USB or RS232 with a simple jumper in the connector.
Then the Windows (?) software hooked to this can still operate via serial while the customer sees the USB connection wire and is happy.
I checked the manual for the non-standard baud rate 31250, and it is supported by the FTDI driver, so if the PC software opens the port and sets the baud to 31250 it will work.
举报

刘翔宇

2018-9-5 16:57:31
没有Windows PC,它只是一个MIDI信号。(可以来自MIDI键盘或其他东西)所以PIC必须是MIDI源的主,而不是从…

以上来自于百度翻译


      以下为原文

    There is no Windows PC; it's just a midi signal.
(can come from a Midi keyboard or something else)
So PIC has to be master for the midi source, not slave...
举报

吴键洪

2018-9-5 17:12:34
如果没有PC涉及,那么USB连接的目的是什么?如果设备使用MIDI,那么USAT是生成MIDI的正确方法。我看不出您将把USB插入到这个系统中。

以上来自于百度翻译


      以下为原文

    If there is no PC involved, then where is the USB connection meant to go?
If the device uses MIDI, then a USART is the correct way to generate the MIDI.
I fail to see where you are going insert USB into this system.
 
举报

张娜

2018-9-5 17:25:06
我也是

以上来自于百度翻译


      以下为原文

    me too
举报

更多回帖

发帖
×
20
完善资料,
赚取积分