Subversion Repositories svn.mios

Rev

Rev 1200 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1200 Rev 1228
Line 4... Line 4...
4
4
5
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4.jpg" width=550 height=324></CENTER></P>
5
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4.jpg" width=550 height=324></CENTER></P>
6
6
7
<P CLASS=INFO>MBHP_CORE_STM32F4 is the successor of the <A HREF="mbhp_core_stm32.html">MBHP_CORE_STM32</A> module, and an alternative solution to the <A HREF="mbhp_core_lpc17.html">MBHP_CORE_LPC17</A> module.</P>
7
<P CLASS=INFO>MBHP_CORE_STM32F4 is the successor of the <A HREF="mbhp_core_stm32.html">MBHP_CORE_STM32</A> module, and an alternative solution to the <A HREF="mbhp_core_lpc17.html">MBHP_CORE_LPC17</A> module.</P>
8
8
9
<P CLASS=DESC>Main features of the <A HREF="http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419" TARGET="_blank">STM32F4DISCOVERY</A> based MBHP_CORE_STM32F4 module:
9
<P CLASS=DESC>Main features of the <A HREF="http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419" TARGET="_blank">STM32F407G-DISC1</A> based MBHP_CORE_STM32F4 module:
10
<UL CLASS=CL>
10
<UL CLASS=CL>
11
<LI> 1MB Flash and 192k RAM (significantly more than previous core modules)
11
<LI> 1MB Flash and 192k RAM (significantly more than previous core modules)
12
<LI> The STM32F4DISCOVERY evaluation board is available for 15 EUR at <A HREF="http://mouser.com/Search/Refine.aspx?Keyword=STM32F4DISCOVERY" TARGET="_blank">Mouser</A>, 17 EUR at <A HREF="http://www.watterott.com/de/STM32F4Discovery" TARGET="_blank">Watterott</A> (Germany), 11 GBP at <A HREF="http://uk.farnell.com/jsp/search/browse.jsp?N=2031+203908&Ntk=gensearch&Ntt=stm32f4discovery&Ntx=mode+matchallpartial" TARGET="_blank">Farnell</A> (GB) - an meanwhile even at <A HREF="http://www.amazon.de/STM32F4-DISCOVERY-STM32F407VGT6-Cortex-M4-Development/dp/B00GGCNBAC/ref=sr_1_1?s=ce-de&ie=UTF8&qid=1442176910&sr=1-1&keywords=stm32f4+discovery" TARGET="_blank">Amazon</A>!<BR>
12
<LI> The STM32F407G-DISC1 evaluation board is available for 15 EUR at <A HREF="http://mouser.com/Search/Refine.aspx?Keyword=STM32F407G-DISC" TARGET="_blank">Mouser</A>, 17 EUR at <A HREF="http://www.watterott.com/de/STM32F4Discovery" TARGET="_blank">Watterott</A> (Germany), 11 GBP at <A HREF="http://uk.farnell.com/stmicroelectronics/stm32f407g-disc1/dev-brd-stm32f407vg-foundation/dp/2506840?ost=stm32f407g-disc&selectedCategoryId=&categoryName=All+Categories&categoryNameResp=All%2BCategories" TARGET="_blank">Farnell</A> (GB) - an meanwhile even at <A HREF="https://www.amazon.de/s/ref=nb_sb_noss_1?__mk_de_DE=ÅMÅŽÕÑ&url=search-alias%3Daps&field-keywords=stm32f407g-disc1" TARGET="_blank">Amazon</A>!<BR>
13
It will be attached on the MBHP_CORE_STM32F4 PCB, but can also be used standalone for mini applications which only require USB MIDI and a small number of IOs or the Audio DAC.
13
It will be attached on the MBHP_CORE_STM32F4 PCB, but can also be used standalone for mini applications which only require USB MIDI and a small number of IOs or the Audio DAC.
14
<LI> Easily available for private persons in small quantities and no SMD soldering skills required
14
<LI> Easily available for private persons in small quantities and no SMD soldering skills required
15
<LI> ARM Cortex-M4 CPU is widely supported by the GNU toolchain, accordingly source code can be compiled under Windows/Linux/MacOS w/o spending money for an expensive ARM compiler
15
<LI> ARM Cortex-M4 CPU is widely supported by the GNU toolchain, accordingly source code can be compiled under Windows/Linux/MacOS w/o spending money for an expensive ARM compiler
16
<LI> increased performance compared to STM32F1xx and LPC17xx because of the higher frequency (168 MHz)
16
<LI> increased performance compared to STM32F1xx and LPC17xx because of the higher frequency (168 MHz)
17
<LI> the enhanced instruction set with DSP operations makes Cortex-M4 very interesting for audio applications (e.g. Synths and Fx)
17
<LI> the enhanced instruction set with DSP operations makes Cortex-M4 very interesting for audio applications (e.g. Synths and Fx)
Line 22... Line 22...
22
<LI> in distance to STM32F103RE, CAN and USB can be used in parallel
22
<LI> in distance to STM32F103RE, CAN and USB can be used in parallel
23
<LI> It's easy to interface external components like <A HREF="mbhp_sdcard.html">SD Cards</A> and <A HREF="mbhp_eth.html">MBHP_ETH</A>
23
<LI> It's easy to interface external components like <A HREF="mbhp_sdcard.html">SD Cards</A> and <A HREF="mbhp_eth.html">MBHP_ETH</A>
24
<LI> STM32F4xx is supplied at 3V, but 5V tolerant inputs allow to access all existing MBHP modules without additional hardware.
24
<LI> STM32F4xx is supplied at 3V, but 5V tolerant inputs allow to access all existing MBHP modules without additional hardware.
25
<LI> Performance boost by using the DMA for background operations, such as scanning DIN/DOUT modules, analog inputs but also I2S transfers (Audio Output) w/o loading the CPU
25
<LI> Performance boost by using the DMA for background operations, such as scanning DIN/DOUT modules, analog inputs but also I2S transfers (Audio Output) w/o loading the CPU
26
<LI> Supported by a free available Realtime Operating System: <A HREF="http://www.freertos.org" TARGET="_blank">FreeRTOS</A>
26
<LI> Supported by a free available Realtime Operating System: <A HREF="http://www.freertos.org" TARGET="_blank">FreeRTOS</A>
27
<LI> no external flash programmer required, ST-LINK/V2 is part of the STM32F4DISCOVERY board to program the MIOS32 bootloader into a "virgin" device
27
<LI> no external flash programmer required, ST-LINK/V2 is part of the STM32F407G-DISC1 board to program the MIOS32 bootloader into a "virgin" device
28
<LI> Fast upload of application code via USB MIDI (ca. 50kb/s) - thanks to the <A HREF="mios32_bootstrap_newbies.html">MIOS32 Bootloader</A>
28
<LI> Fast upload of application code via USB MIDI (ca. 50kb/s) - thanks to the <A HREF="mios32_bootstrap_newbies.html">MIOS32 Bootloader</A>
29
</UL>
29
</UL>
30
30
31
<P CLASS=DESC>Ok, enough praises for this nice toy. Here a list of issues/imperfections that I don't really like:
31
<P CLASS=DESC>Ok, enough praises for this nice toy. Here a list of issues/imperfections that I don't really like:
32
<UL CLASS=CL>
32
<UL CLASS=CL>
33
<LI> ADCs cannot be supplied at 5V, 3.3V is the limit, and the STM32F4DISCOVERY board uses an even lower voltage (3V). This decreases the signal/noise ratio. The <A HREF="mbhp_ainser64.html">MBHP_AINSER64</A> and <A HREF="mbhp_ainser8.html">MBHP_AINSER8</A> module helps to overcome this by using an external 5V ADC.
33
<LI> ADCs cannot be supplied at 5V, 3.3V is the limit, and the STM32F407G-DISC1 board uses an even lower voltage (3V). This decreases the signal/noise ratio. The <A HREF="mbhp_ainser64.html">MBHP_AINSER64</A> and <A HREF="mbhp_ainser8.html">MBHP_AINSER8</A> module helps to overcome this by using an external 5V ADC.
34
<LI> Pin mapping suboptimal in some cases. E.g., the outputs of the integrated DAC (not the on-board Audio-DAC) overlay SPI1 pins. However, one DAC channel has been freed up with the small drawback that SPI1 can't be used in slave mode.<BR>
34
<LI> Pin mapping suboptimal in some cases. E.g., the outputs of the integrated DAC (not the on-board Audio-DAC) overlay SPI1 pins. However, one DAC channel has been freed up with the small drawback that SPI1 can't be used in slave mode.<BR>
35
The IO pins of the SDIO peripheral (high speed SD Card access) conflicts with the on-board Audio DAC, so that it can't be used.<BR>
35
The IO pins of the SDIO peripheral (high speed SD Card access) conflicts with the on-board Audio DAC, so that it can't be used.<BR>
36
Although the chip contains 6 UARTs, only 4 RX and TX pins could be found for MIDI IN/OUT. IN3/OUT3 even have to use two different UARTs.
36
Although the chip contains 6 UARTs, only 4 RX and TX pins could be found for MIDI IN/OUT. IN3/OUT3 even have to use two different UARTs.
37
<LI> No on-board Ethernet PHY
37
<LI> No on-board Ethernet PHY
38
<LI> No PHY for the second USB peripheral - would be nice to have, e.g. to support USB MIDI device and host (e.g. for the connection of a USB MIDI Keyboard), USB Memory Sticks or even a USB harddisk in parallel.
38
<LI> No PHY for the second USB peripheral - would be nice to have, e.g. to support USB MIDI device and host (e.g. for the connection of a USB MIDI Keyboard), USB Memory Sticks or even a USB harddisk in parallel.
Line 45... Line 45...
45
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Installing the MIOS32 Bootloader </H2></DT>
45
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Installing the MIOS32 Bootloader </H2></DT>
46
  <DD>
46
  <DD>
47
  <DD><TABLE CELLSPACING=2 CELLPADDING=2 WIDTH=640>
47
  <DD><TABLE CELLSPACING=2 CELLPADDING=2 WIDTH=640>
48
    <TR>
48
    <TR>
49
      <TD><IMG SRC="mbhp/mbhp_core_stm32f4_prog.jpg" WIDTH=280 BORDER=0 ALT=""></TD>
49
      <TD><IMG SRC="mbhp/mbhp_core_stm32f4_prog.jpg" WIDTH=280 BORDER=0 ALT=""></TD>
50
      <TD CLASS=TABCOLOR2>The STM32F4DISCOVERY board is equipped with an on-board debugger (right side) which is called ST-LINK/V2. It has to be connected via a Mini-USB cable to your PC, and allows to program the flash of the target device (the STM32F407VE chip).<BR>
50
      <TD CLASS=TABCOLOR2>The STM32F407G-DISC1 board is equipped with an on-board debugger (right side) which is called ST-LINK/V2. It has to be connected via a Mini-USB cable to your PC, and allows to program the flash of the target device (the STM32F407VE chip).<BR>
51
      We use ST-LINK to install the MIOS32 Bootloader, so that a MIOS32 application can be flashed via USB-MIDI later with the Micro-USB connector at the left side. This approach will allow you to update an application on-the-fly without the need for a second USB port on your MIDIbox, it's even faster than via ST-LINK, and it will work under MacOS and Linux as well by using <A HREF="mios_studio.html">MIOS Studio</A> instead of the Windows propritary ST-LINK utility.! :-)
51
      We use ST-LINK to install the MIOS32 Bootloader, so that a MIOS32 application can be flashed via USB-MIDI later with the Micro-USB connector at the left side. This approach will allow you to update an application on-the-fly without the need for a second USB port on your MIDIbox, it's even faster than via ST-LINK, and it will work under MacOS and Linux as well by using <A HREF="mios_studio.html">MIOS Studio</A> instead of the Windows propritary ST-LINK utility.! :-)
52
      </TD>
52
      </TD>
53
    </TR>
53
    </TR>
54
54
55
    <TR>
55
    <TR>
Line 60... Line 60...
60
      </TD>
60
      </TD>
61
    </TR>
61
    </TR>
62
62
63
    <TR>
63
    <TR>
64
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win1.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win1.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
64
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win1.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win1.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
65
      <TD CLASS=TABCOLOR2>After the STM32F4DISCOVERY board has been connected to your PC, the driver has been installed, and the ST-LINK utility has been opened, try to connect to the ST-LINK by pushing the appr. button.
65
      <TD CLASS=TABCOLOR2>After the STM32F407G-DISC1 board has been connected to your PC, the driver has been installed, and the ST-LINK utility has been opened, try to connect to the ST-LINK by pushing the appr. button.
66
      </TD>
66
      </TD>
67
    </TR>
67
    </TR>
68
    <TR>
68
    <TR>
69
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win2.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win2.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
69
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win2.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win2.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
70
      <TD CLASS=TABCOLOR2>The target device should be displayed.
70
      <TD CLASS=TABCOLOR2>The target device should be displayed.
71
      </TD>
71
      </TD>
72
    </TR>
72
    </TR>
73
    <TR>
73
    <TR>
74
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win3.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win3.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
74
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win3.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win3.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
75
      <TD CLASS=TABCOLOR2>Click on the small "Program and Verify" icon. Click on the "Browse" button and search for the project.hex binary of the STM32F4DISCOVERY directory which comes with the <A HREF="mios32_download.html">MIOS32 Bootloader</A> application.
75
      <TD CLASS=TABCOLOR2>Click on the small "Program and Verify" icon. Click on the "Browse" button and search for the project.hex binary of the STM32F407G-DISC1 directory which comes with the <A HREF="mios32_download.html">MIOS32 Bootloader</A> application.
76
      </TD>
76
      </TD>
77
    </TR>
77
    </TR>
78
    <TR>
78
    <TR>
79
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win4.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win4.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
79
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_win4.png"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_win4.png" WIDTH=280 BORDER=0 ALT=""></A></TD>
80
      <TD CLASS=TABCOLOR2>The success message should show up after the programming procedure.
80
      <TD CLASS=TABCOLOR2>The success message should show up after the programming procedure.
81
      </TD>
81
      </TD>
82
    </TR>
82
    </TR>
83
83
84
    <TR>
84
    <TR>
85
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_led.jpg"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_led.jpg" WIDTH=280 BORDER=0 ALT=""></A></TD>
85
      <TD><A HREF="mbhp/mbhp_core_stm32f4_prog_led.jpg"><IMG SRC="mbhp/mbhp_core_stm32f4_prog_led.jpg" WIDTH=280 BORDER=0 ALT=""></A></TD>
86
      <TD CLASS=TABCOLOR2>Finally press the (black) Reset button on the STM32F4DISCOVERY board. The green status LED should flash two times (effect via PWM modulation) - the MIOS32 bootloader is up and running!
86
      <TD CLASS=TABCOLOR2>Finally press the (black) Reset button on the STM32F407G-DISC1 board. The green status LED should flash two times (effect via PWM modulation) - the MIOS32 bootloader is up and running!
87
      </TD>
87
      </TD>
88
    </TR>
88
    </TR>
89
89
90
    <TR>
90
    <TR>
91
      <TD><A HREF="mbhp/mbhp_core_stm32f4_2usb.jpg"><IMG SRC="mbhp/mbhp_core_stm32f4_2usb.jpg" WIDTH=280 BORDER=0 ALT=""></A></TD>
91
      <TD><A HREF="mbhp/mbhp_core_stm32f4_2usb.jpg"><IMG SRC="mbhp/mbhp_core_stm32f4_2usb.jpg" WIDTH=280 BORDER=0 ALT=""></A></TD>
Line 104... Line 104...
104
  </TABLE></DD>
104
  </TABLE></DD>
105
  </DD>
105
  </DD>
106
</DL>
106
</DL>
107
107
108
<DL>
108
<DL>
-
 
109
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Required Firmware Update for newer board version </H2></DT>
109
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Using the STM32F4DISCOVERY Board standalone </H2></DT>
110
  <P CLASS=INFO>Newer board versions marked with <B>MB997D</B> require a firmware update for STM Link, so that the microcontroller can boot with Micro USB power supply instead of the ST-Link connector. This update can be done with the ST Link Utility:</P>
-
 
111
<P><CENTER><A HREF=""><IMG SRC="mbhp/st_link_firmware_update.png" width=347 height=112></A></CENTER></P>
-
 
112
  </DD>
-
 
113
</DL>
-
 
114
-
 
115
-
 
116
<DL>
-
 
117
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Using the STM32F407G-DISC1 Board standalone </H2></DT>
110
  <P CLASS=INFO>You've probably already noticed, that the board is powered via the ST-LINK connector CN1, and not via the USB connector CN5 which is used for USB-MIDI. This can be changed by bridging the PA9 pin to the 5V input with a short cable:<BR>
118
  <P CLASS=INFO>You've probably already noticed, that the board is powered via the ST-LINK connector CN1, and not via the USB connector CN5 which is used for USB-MIDI. This can be changed by bridging the PA9 pin to the 5V input with a short cable:<BR>
111
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_standalone.jpg" width=550 height=382></CENTER></P>
119
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_standalone.jpg" width=550 height=382></CENTER></P>
112
120
113
<P CLASS=INFO>In addition, it makes sense to mount dual row pin headers at the bottom of the PCB for P1 and P2:<BR>
121
<P CLASS=INFO>In addition, it makes sense to mount dual row pin headers at the bottom of the PCB for P1 and P2:<BR>
114
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_headers.jpg" width=550 height=327></CENTER></P>
122
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_headers.jpg" width=550 height=327></CENTER></P>
115
123
116
<P CLASS=INFO>Two 2x25 SIL headers are required (e.g. Reichelt order number: <A HREF="http://www.reichelt.de/index.html?ACTION=3;ARTICLE=19494;SEARCH=SL%202X25G%202,54" TARGET="_blank">SL 2X25G 2,54</A>). The usage of such headers has the advantage, that later you can plug the STM32F4DISCOVERY board on the MBHP_CORE_STM32F4 module into the corresponding female sockets - and that you can remove it, e.g. to plug it into another MBHP_CORE_STM32F4 module.
124
<P CLASS=INFO>Two 2x25 SIL headers are required (e.g. Reichelt order number: <A HREF="http://www.reichelt.de/index.html?ACTION=3;ARTICLE=19494;SEARCH=SL%202X25G%202,54" TARGET="_blank">SL 2X25G 2,54</A>). The usage of such headers has the advantage, that later you can plug the STM32F407G-DISC1 board on the MBHP_CORE_STM32F4 module into the corresponding female sockets - and that you can remove it, e.g. to plug it into another MBHP_CORE_STM32F4 module.
117
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_fheaders.jpg" width=550 height=338></CENTER></P>
125
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_fheaders.jpg" width=550 height=338></CENTER></P>
118
126
119
  </DD>
127
  </DD>
120
</DL>
128
</DL>
121
129
Line 212... Line 220...
212
    </TR>
220
    </TR>
213
221
214
    <TR>
222
    <TR>
215
      <TD CLASS=TABCOLOR2>J11E</TD>
223
      <TD CLASS=TABCOLOR2>J11E</TD>
216
      <TD CLASS=TABCOLOR2>10</TD>
224
      <TD CLASS=TABCOLOR2>10</TD>
217
      <TD CLASS=TABCOLOR2>This port provides four MIDI IOs at 3V level, interface to the <A HREF="mbhp_midi_io.html">MBHP_MIDI_IO</A> breakout board.</TD>
225
      <TD CLASS=TABCOLOR2>This port provides four MIDI IOs at ca. 5V level (the pin is configured in open-drain mode, so that a resistor connected between the MOx pins and 5V can pull the output level to 3V or 5V. Normally this pull-up resistor is not required if an opto coupler is used at the receiver side)<BR>
-
 
226
  Interface to the <A HREF="mbhp_midi_io.html">MBHP_MIDI_IO</A> breakout board.</TD>
218
    </TR>
227
    </TR>
219
228
220
    <TR>
229
    <TR>
221
      <TD CLASS=TABCOLOR2>J15a/b</TD>
230
      <TD CLASS=TABCOLOR2>J15a/b</TD>
222
      <TD CLASS=TABCOLOR2>16</TD>
231
      <TD CLASS=TABCOLOR2>16</TD>
Line 308... Line 317...
308
317
309
    <TR>
318
    <TR>
310
      <TD><IMG SRC="mbhp/mbhp_core_stm32f4_4.jpg" WIDTH=280 HEIGHT=211 BORDER=0 ALT=""></TD>
319
      <TD><IMG SRC="mbhp/mbhp_core_stm32f4_4.jpg" WIDTH=280 HEIGHT=211 BORDER=0 ALT=""></TD>
311
      <TD CLASS=TABCOLOR2>And then the remaining headers:
320
      <TD CLASS=TABCOLOR2>And then the remaining headers:
312
<UL CLASS=CL>
321
<UL CLASS=CL>
313
<LI>2 2x25 female SIL headers for the STM32F4DISCOVERY module
322
<LI>2 2x25 female SIL headers for the STM32F407G-DISC1 module
314
<LI>3 1x2 male SIL header
323
<LI>3 1x2 male SIL header
315
<LI>1 1x3 male SIL header
324
<LI>1 1x3 male SIL header
316
<LI>2 jumpers stuffed on J17 (USB PWR) and J15_S to select the LCD voltage (5V or 3.3V)
325
<LI>2 jumpers stuffed on J17 (USB PWR) and J15_S to select the LCD voltage (5V or 3.3V)
317
<LI>SD Card socket
326
<LI>SD Card socket
318
</UL>
327
</UL>
319
      </TD>
328
      </TD>
320
    </TR>
329
    </TR>
321
330
322
    <TR>
331
    <TR>
323
      <TD><IMG SRC="mbhp/mbhp_core_stm32f4_5.jpg" WIDTH=280 HEIGHT=196 BORDER=0 ALT=""></TD>
332
      <TD><IMG SRC="mbhp/mbhp_core_stm32f4_5.jpg" WIDTH=280 HEIGHT=196 BORDER=0 ALT=""></TD>
324
      <TD CLASS=TABCOLOR2>And finally put the ICs, and then the STM32F4DISCOVERY module into the sockets:
333
      <TD CLASS=TABCOLOR2>And finally put the ICs, and then the STM32F407G-DISC1 module into the sockets:
325
<UL CLASS=CL>
334
<UL CLASS=CL>
326
<LI>IC1: 74HCT541
335
<LI>IC1: 74HCT541
327
<LI>IC2: 74HC595
336
<LI>IC2: 74HC595
328
<LI>STM32F4DISCOVERY
337
<LI>STM32F407G-DISC1
329
</UL>
338
</UL>
330
      </TD>
339
      </TD>
331
    </TR>
340
    </TR>
332
341
333
    <TR>
342
    <TR>
Line 348... Line 357...
348
<P><CENTER><IMG SRC="mbhp/mbhp_midi_io_chain.jpg" width=550 height=174></CENTER></P>
357
<P><CENTER><IMG SRC="mbhp/mbhp_midi_io_chain.jpg" width=550 height=174></CENTER></P>
349
<P CLASS=DESC>
358
<P CLASS=DESC>
350
In order to add up to 4 MIDI IN and OUT ports, you will need one or two MBHP_MIDI_IO modules. Please <A HREF="mbhp_midi_io.html">follow this page</A>.
359
In order to add up to 4 MIDI IN and OUT ports, you will need one or two MBHP_MIDI_IO modules. Please <A HREF="mbhp_midi_io.html">follow this page</A>.
351
</P>
360
</P>
352
361
-
 
362
</DL>
-
 
363
-
 
364
<DL>
-
 
365
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Special Guide: Connecting a 2x40 (or 2x20) LCD</H2></DT>
-
 
366
  <DD>
-
 
367
  <P CLASS=INFO>The pinning of the 2x8 LCD connectors J15A and J15B is mirrored to simplify the cabling of common 2x20 and 2x40 displays (and partly due to historical reasons - it's originated from the so called "UltraPCB").<BR>
-
 
368
J15 Pin 1 (labeled with Vs) goes to Pin 1 of the LCD (normaly named "Vss").<BR>
-
 
369
Following picture illustrates the orientation of the IDC connectors:
-
 
370
<P><CENTER><IMG SRC="mbhp/mbhp_core_stm32f4_lcd_connection.jpg" width=550 height=412></CENTER></P>
-
 
371
<P CLASS=DESC>See also <A HREF="mbhp/mbhp_lcd_2x20_mios32.pdf">this schematic</A>.
-
 
372
<P CLASS=DESC>You should be able to change the contrast of the LCD with the contrast pot. If the lumination pot changes the contrast instead, the orientation of the IDC connectors is not correct (rotated by 180 degrees).
-
 
373
  </DD>
353
</DL>
374
</DL>
354
375
355
<DL>
376
<DL>
356
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Credits </H2></DT>
377
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Credits </H2></DT>
357
  <DD><P CLASS=DESC>Thanks to Tim aka. SmashTV for creating the PCB layout. PCBs and kits are available in his <A HREF="http://www.midibox-shop.com" TARGET="_blank">MIDIbox Shop</A>.<P>
378
  <DD><P CLASS=DESC>Thanks to Tim aka. SmashTV for creating the PCB layout. PCBs and kits are available in his <A HREF="http://www.midibox-shop.com" TARGET="_blank">MIDIbox Shop</A>.<P>