USB MIDI driver for Kinetis

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB MIDI driver for Kinetis

1,143 次查看
JarretSK
Contributor I

I'm looking for a USB MIDI driver for Kinetis for a bare metal project. Wondering if one exisits - thanks.

0 项奖励
2 回复数

569 次查看
florintoma
NXP Employee
NXP Employee

There is no MIDI class in the current stack for Kinetis.

0 项奖励

569 次查看
Smiffytech
Contributor III

I was having a fiddle round the other day with Processor Expert - found it quite easy to configure the UART to the 31250 bps that you need. (Think that was an HCS08 part - I've got those and Kinetis on the go at the moment, but Kinetis would be no harder with PEx.)

Biggest challenge is building the state machine to process MIDI input, but you should be able to adapt pretty well any C code that does that, just need to replace the UART bits with what PEx spits out.

If you'd asked in a year's time, I might have been able to share, but my MIDI project is a fair way down the queue at the moment :smileywink:

Just remember that, hardware-wise, you're using a current loop on the input (via an optocoupler) rather than just coming straight into the UART RXD, and that you need to buffer your output.

0 项奖励