m16
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
m16 [2018/09/08 11:42] – [Special command messages] antichambre | m16 [2018/10/08 09:12] (current) – [BOM] antichambre | ||
---|---|---|---|
Line 14: | Line 14: | ||
* There' | * There' | ||
* 3 independents groups of 16 GPIOs, configurable and settable by SPI Command. | * 3 independents groups of 16 GPIOs, configurable and settable by SPI Command. | ||
- | * Can be stacked under a [[dipboardf4|dipBoardF4 | + | * Can be stacked under a [[dipboardf4|dipBoardF4]] |
\\ | \\ | ||
- | ==== PCB==== | + | {{ : |
+ | {{ : | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== PCB===== | ||
<WRAP group> | <WRAP group> | ||
- | <WRAP column | + | <WRAP column |
{{ : | {{ : | ||
\\ | \\ | ||
{{ : | {{ : | ||
</ | </ | ||
- | <WRAP column | + | <WRAP column |
2 layers PCB design.\\ | 2 layers PCB design.\\ | ||
Fits 2 layer mostly common design rules. | Fits 2 layer mostly common design rules. | ||
Line 34: | Line 42: | ||
===== Dimension ===== | ===== Dimension ===== | ||
<WRAP group> | <WRAP group> | ||
- | <WRAP column | + | <WRAP column |
{{: | {{: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ===== BOM ===== | ||
+ | version 1. | ||
+ | Mouser BOM:< | ||
+ | ^Qty ^Value | ||
+ | ^Resistors^^^^^^^^^ | ||
+ | |4 |680R 5% |0603 |R1, R2, R3, R4 |[[https:// | ||
+ | ]] | ||
+ | ^Capacitors^^^^^^^^^ | ||
+ | |3 |10n | ||
+ | |15 |100n | ||
+ | ]] | | | | | | ||
+ | |2 |10u | ||
+ | 647-F931C106MAA ]] | ||
+ | ^LEDs^^^^^^^^^ | ||
+ | |4 |--|0805 | ||
+ | ^ICs^^^^^^^^^ | ||
+ | |1 |LCMX02-7000|TQFP144|FPGA |[[https:// | ||
+ | |1 |74LVC125 |TSSOP-14 | ||
+ | |1 |LD1117AS33TR|SOT223 | ||
+ | 511-LD1117AS33 ]] | | | | | | ||
+ | ^Connnector^^^^^^^^^ | ||
+ | |1 |micro-match 2x2 |Male |J1B |[[https:// | ||
+ | |1 |2x3 |Male |J1A |[[https:// | ||
+ | |1 |micro-match 2x3 |Female | ||
+ | |5 |2x5 |Male |J11A, J11B, J11C, J11D, SPI |[[https:// | ||
+ | |1 |micro-match 2x5 |Male |SPI |[[https:// | ||
+ | 571-8-215464-0 ]] | ||
+ | |5 |2x10 |Male |GPIOA, GPIOB, GPIOC |[[https:// | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | ---- | ||
===== SPI Communication and protocol ===== | ===== SPI Communication and protocol ===== | ||
Line 81: | Line 123: | ||
</ | </ | ||
- | ==== MIDI messages ==== | + | ===== MIDI messages |
Running status is never used, so all the messages are formed of all bytes. But the interface supports it, each MIDI Out can be individually set for that purpose.\\ | Running status is never used, so all the messages are formed of all bytes. But the interface supports it, each MIDI Out can be individually set for that purpose.\\ | ||
\\ | \\ | ||
- | === Some examples === | + | ==== Some examples |
**MIDI clock on port 7(SPIM0 to SPIM15)**\\ | **MIDI clock on port 7(SPIM0 to SPIM15)**\\ | ||
MIDI message is 0xF8, cin = 0x5.\\ | MIDI message is 0xF8, cin = 0x5.\\ | ||
- | SPI message = 0x0000f875\\ | + | SPI message = 0x0000f875 |
<code c> | <code c> | ||
mios32_midi_package_t package; | mios32_midi_package_t package; | ||
Line 142: | Line 184: | ||
==== Special command messages ==== | ==== Special command messages ==== | ||
The **m16** can receive some specifics commands and send back some status messages.\\ | The **m16** can receive some specifics commands and send back some status messages.\\ | ||
- | when **cin = 0x1**(local command), the **m16** will parse the message as a command and apply the requested change.\\ | + | when **CIN=0x1**(local command), the **m16** will parse the message as a command and apply the requested change.\\ |
+ | * Port(Cable)value becomes Group Command Code(GCC).\\ | ||
+ | * evnt0 is the command number(CMD.\\ | ||
+ | * evnt1 and evnt2 are the value bytes.\\ | ||
+ | List of the commands: | ||
+ | <WRAP group> | ||
+ | <WRAP column 100%> | ||
+ | {{: | ||
+ | </ | ||
+ | </ | ||
+ | With System commands, you will be able to | ||
+ | * Put SPI or UARTs in loopback for testing purpose. | ||
+ | * Enable MIDI activity status messages over SPI(MISO). | ||
+ | |||
+ | There' | ||
+ | |||
+ | With GPIOx commands, you can configure and set the GPIO ports.\\ | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
<wrap round important 7%> | <wrap round important 7%> |
m16.1536406939.txt.gz · Last modified: 2018/09/08 11:42 by antichambre