
22
Figure 4-3 Arduino
TM
shield drivers list & “Refresh” button
4.2
ST-Adapter Mode
Preparation:
A firmware to control the Arduino
TM
shields and communicate with the Raspberry Pi
should be programmed to the STM32 before hand; it can be generated from the project built in
CoIDE, and be programmed with CoIDE, CoFlash, or ISP tool. The source code to control the
Arduino
TM
shields are the same with those in the
STM32/Standalone Mode
, while the Protocol
Decode Layer code components (as shown in Figure 4-4) for communication with the Raspberry
Pi will be provided in CoIDE and this page.
The STM32 controls the Arduino
TM
shields, and the Raspberry Pi works as the GUI or command
line console to send commands/data to and receive data from the STM32. This is an advanced
mode which extends and strengthens the automation control capability of the Raspberry Pi,
taking the advantage of STM32F103 NVIC (Nested Vectored Interrupt Controller), GPIOs, and
more peripherals like ADC and PWM.
Summary of Contents for Embedded Pi
Page 41: ...40 20 Set breakpoints in the C code window or the Disassembly window...
Page 42: ...41 6 Schematics...
Page 43: ...42...
Page 44: ...43...
Page 45: ...44...