This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
m16 [2018/09/08 13:16] antichambre [Dimension] |
m16 [2018/10/08 09:12] antichambre [BOM] |
||
---|---|---|---|
Line 14: | Line 14: | ||
* There's a 64 word(32bits) FIFO for out-coming messages from the board. | * There's a 64 word(32bits) FIFO for out-coming messages from the board. | ||
* 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 mbhp]] | + | * Can be stacked under a [[dipboardf4|dipBoardF4]] |
\\ | \\ | ||
- | ==== PCB==== | + | {{ :antichambre:1809_m16_interface_v1.beta_top_real.jpg?600 |}} |
+ | {{ :antichambre:1809_m16_interface_v1.beta_bottom_real.jpg?600 |}} | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== PCB===== | ||
<WRAP group> | <WRAP group> | ||
<WRAP column 60%> | <WRAP column 60%> | ||
Line 32: | Line 40: | ||
\\ | \\ | ||
- | ==== Dimension ==== | + | ===== Dimension ===== |
<WRAP group> | <WRAP group> | ||
<WRAP column 70%> | <WRAP column 70%> | ||
Line 38: | Line 46: | ||
</WRAP>\\ | </WRAP>\\ | ||
</WRAP>\\ | </WRAP>\\ | ||
+ | |||
+ | ===== BOM ===== | ||
+ | version 1. | ||
+ | Mouser BOM:<wrap round todo 7%>toDo</wrap> | ||
+ | ^Qty ^Value ^Package ^Parts^Mouser^Reichelt^Conrad^Other^Notes^ | ||
+ | ^Resistors^^^^^^^^^ | ||
+ | |4 |680R 5% |0603 |R1, R2, R3, R4 |[[https://www.mouser.fr/ProductDetail/Panasonic/ERJ-PA3J681V?qs=sGAEpiMZZMvdGkrng054t6%2fAfIpq60YDGGtXI%252bjCSgEeBlnz3sOAbg%3d%3d| 667-ERJ-PA3J681V | ||
+ | ]] | | | |Depends on Leds | | ||
+ | ^Capacitors^^^^^^^^^ | ||
+ | |3 |10n |0603|C27, C29, C30 |[[https://www.mouser.fr/ProductDetail/KEMET/C0603C103M5RAC?qs=sGAEpiMZZMs0AnBnWHyRQFv7x1xn%252bYFdDq1yWQaSOFQ%3d|80-C0603C103M5RAC]] | | | | | | ||
+ | |15 |100n |0603|C23, C24, C28, C31, C32, C33, C34, C35, C36, C37, C38, C39, C40, C41, C42 |[[https://www.mouser.fr/ProductDetail/KEMET/C0603C104Z3VACTU?qs=sGAEpiMZZMs0AnBnWHyRQFqPnX0Olvco%252bYoiWDWTaEY%3d| 80-C0603C104Z3V | ||
+ | ]] | | | | | | ||
+ | |2 |10u |SMC_B |C25, C26|[[https://www.mouser.fr/ProductDetail/AVX/F931C106MAA?qs=sGAEpiMZZMuEN2agSAc2puC4lhRhLeolmYomTIpwaLE%3d| | ||
+ | 647-F931C106MAA ]] | | | | | | ||
+ | ^LEDs^^^^^^^^^ | ||
+ | |4 |--|0805 |LED.1, LED.2, LED.31, LED.4 |[[https://www.mouser.fr/ProductDetail/755-SML-H12U8TT86C|755-SML-H12U8TT86C]] | | | | | | ||
+ | ^ICs^^^^^^^^^ | ||
+ | |1 |LCMX02-7000|TQFP144|FPGA |[[https://www.mouser.fr/ProductDetail/Lattice/LCMXO2-7000HC-6TG144I?qs=sGAEpiMZZMvoScKlWpK8TKmOIJyZBaKlkPc%2f7GsJudw%3d|842-27000HC6TG144I ]] | | | |Speed grade 4 to 6, 3.3V! | | ||
+ | |1 |74LVC125 |TSSOP-14 |IC4 |[[https://www.mouser.fr/ProductDetail/Texas-Instruments/SN74LVC125APWR?qs=sGAEpiMZZMuiiWkaIwCK2SeqB8b8eM7HVlo3jiw3ikc%3d|595-SN74LVC125APWR ]] | | | | | | ||
+ | |1 |LD1117AS33TR|SOT223 |REG |[[https://www.mouser.fr/ProductDetail/STMicroelectronics/LD1117AS33TR?qs=sGAEpiMZZMsGz1a6aV8DcLVRTmaeOdDgNH1NaHTUtDw%3d| | ||
+ | 511-LD1117AS33 ]] | | | | | | ||
+ | ^Connnector^^^^^^^^^ | ||
+ | |1 |micro-match 2x2 |Male |J1B |[[https://www.mouser.fr/ProductDetail/TE-Connectivity-AMP/215464-4?qs=sGAEpiMZZMs%252bGHln7q6pm8SOCK6aAoLgKRfGxhAt6V0%3d|571-215464-4 ]] | | | |for stack | | ||
+ | |1 |2x3 |Male |J1A |[[https://www.mouser.fr/ProductDetail/Wurth-Electronics/61200621621?qs=sGAEpiMZZMs%252bGHln7q6pm%2fFhW%252btWvhAgbNxkR%252blwXp8Ip%2fAN9J9VOg%3d%3d|710-61200621621 ]] | | | | | | ||
+ | |1 |micro-match 2x3 |Female |JTAG |[[https://www.mouser.fr/ProductDetail/TE-Connectivity/215079-6?qs=sGAEpiMZZMs%252bGHln7q6pm48SVpWlpfsECZqIi2rkWjs%3d|571-215079-6]] or [[https://www.mouser.fr/ProductDetail/TE-Connectivity/2178710-6?qs=sGAEpiMZZMs%252bGHln7q6pmzszEaJ39Bz8lDoKaCIVjpqtoiZwdtC2Ng%3d%3d|571-2178710-6 (value line)]] | | | | | | ||
+ | |5 |2x5 |Male |J11A, J11B, J11C, J11D, SPI |[[https://www.mouser.fr/ProductDetail/Wurth-Electronics/61201021621?qs=sGAEpiMZZMs%252bGHln7q6pm%252bxnWLfLL2%2f93mYWvuMVZAY%3d|710-61201021621 ]] | | | | | | ||
+ | |1 |micro-match 2x5 |Male |SPI |[[https://www.mouser.fr/ProductDetail/TE-Connectivity-AMP/8-215464-0?qs=sGAEpiMZZMs%252bGHln7q6pm8SOCK6aAoLgIDcXiC5FL8s%3d| | ||
+ | 571-8-215464-0 ]] | | | |for stack | | ||
+ | |5 |2x10 |Male |GPIOA, GPIOB, GPIOC |[[https://www.mouser.fr/ProductDetail/Wurth-Electronics/61202021621?qs=sGAEpiMZZMs%252bGHln7q6pm%252bxnWLfLL2%2f9xQYuWgvWHoc%3d|710-61202021621 ]] | | | | | | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
---- | ---- | ||
Line 83: | Line 123: | ||
</code> | </code> | ||
- | ==== 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.\\ | ||
Line 145: | Line 185: | ||
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.\\ | + | * Port(Cable)value becomes Group Command Code(GCC).\\ |
- | * evnt0 is the command number.\\ | + | * evnt0 is the command number(CMD.\\ |
* evnt1 and evnt2 are the value bytes.\\ | * evnt1 and evnt2 are the value bytes.\\ | ||
List of the commands:\\ | List of the commands:\\ | ||
Line 154: | Line 194: | ||
</WRAP>\\ | </WRAP>\\ | ||
</WRAP>\\ | </WRAP>\\ | ||
+ | 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's only one MIDI configuration command, dedicated to UARTs TX(MIDI Out) Running Status enabler.\\ | ||
+ | |||
+ | With GPIOx commands, you can configure and set the GPIO ports.\\ | ||
\\ | \\ |