This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mcan [2018/08/03 12:46] antichambre [Basic Mode] |
mcan [2018/08/03 12:53] (current) antichambre [A basic example] |
||
---|---|---|---|
Line 256: | Line 256: | ||
**But before any MIDI features we need the MIOS32 driver for that CAN controller...** | **But before any MIDI features we need the MIOS32 driver for that CAN controller...** | ||
---- | ---- | ||
- | ===== MIOS32_CAN implementation ===== | + | ===== MIOS32_CAN ===== |
==== CAN controller as a generic peripheral in MIOS32. ==== | ==== CAN controller as a generic peripheral in MIOS32. ==== | ||
MIOS32_CAN feature is only compilable under STM32F4.\\ | MIOS32_CAN feature is only compilable under STM32F4.\\ | ||
Line 395: | Line 395: | ||
---- | ---- | ||
- | ===== MIOS32_CAN_MIDI implementation ===== | + | ===== MIOS32_CAN_MIDI ===== |
==== Package and Packet ==== | ==== Package and Packet ==== | ||
Like the others MIDI peripherals, we need a bridge between our new CAN features(mios32_can.c/h) and the MIDI process[[http://www.midibox.org/mios32/manual/group___m_i_o_s32___m_i_d_i.html|(mios32_midi.c/h)]]\\ | Like the others MIDI peripherals, we need a bridge between our new CAN features(mios32_can.c/h) and the MIDI process[[http://www.midibox.org/mios32/manual/group___m_i_o_s32___m_i_d_i.html|(mios32_midi.c/h)]]\\ | ||
Line 565: | Line 565: | ||
==== A basic example ==== | ==== A basic example ==== | ||
- | For this example we will use 2 Core to get an 8 MIDI ports link between 2 different computers.\\ | + | For this example we will use 2 Cores to get an 8 MIDI ports link between 2 different computers.\\ |
\\ | \\ | ||
<WRAP group> | <WRAP group> | ||
Line 616: | Line 616: | ||
} | } | ||
} | } | ||
- | </code> | + | </code>\\ |
- | + | \\ | |
+ | **Done! Your App with the MCAN(Basic) is ready to upload and is the same for both Cores. 8-) ** | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
===== MCAN Enhanced Mode ===== | ===== MCAN Enhanced Mode ===== | ||
<WRAP center round todo 60%> | <WRAP center round todo 60%> |