This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:product-support-software:ad7124-stm32 [26 Jul 2019 18:37] – clarifying file locations Michael Bradley | resources:tools-software:product-support-software:ad7124-stm32 [24 Jan 2020 10:48] (current) – Adopted AD7124 pin names for connection table Michael Bradley | ||
---|---|---|---|
Line 21: | Line 21: | ||
===== Software Integration Guide ===== | ===== Software Integration Guide ===== | ||
+ | ==== Downloads ==== | ||
+ | <WRAP round download 80%> | ||
+ | * {{ : | ||
+ | </ | ||
==== Project Creation ==== | ==== Project Creation ==== | ||
* If you have not already done so, install the STM32CubeIDE available from www.st.com. | * If you have not already done so, install the STM32CubeIDE available from www.st.com. | ||
Line 116: | Line 120: | ||
<note important> | <note important> | ||
=== syscalls.c === | === syscalls.c === | ||
- | In the following | + | In the _read(...) |
<code c> | <code c> | ||
int _read(int file, char *ptr, int len) | int _read(int file, char *ptr, int len) | ||
</ | </ | ||
- | In order to support the use of getchar(), len was set to 1 before the for loop. While this is sufficient for getchar() to work, it does not support use of other stdio.h functions such as scanf(...). | + | In order to support the use of getchar(), |
==== Adding AD7124 Example Files ==== | ==== Adding AD7124 Example Files ==== | ||
The distribution of the AD7124 source and header files can be added to the project that has been created. | The distribution of the AD7124 source and header files can be added to the project that has been created. | ||
Line 138: | Line 142: | ||
^ AD7124 SPI Signal ^ SDP Breakout Board ^ NUCLEO-L476 | ^ AD7124 SPI Signal ^ SDP Breakout Board ^ NUCLEO-L476 | ||
- | | GND | + | | GND | 81 | GND on CN5.7 | |
| SCLK | 82 | D3 (PB3) on CN9.4 | | | SCLK | 82 | D3 (PB3) on CN9.4 | | ||
- | | MISO | + | | DOUT/ |
- | | MOSI | 84 | D4 (PB5) on CN9.5 | | + | | DIN | 84 | D4 (PB5) on CN9.5 | |
- | | CSB | + | | CSB | 85 | D6 (PB10) on CN9.7| |
==== Analog Input ==== | ==== Analog Input ==== |