Difference between revisions of "PROTO"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
== Example == | == Example == | ||
+ | [[File:PROTO wired for uart i2c and spi - top view.jpg|thumb|250px]] | ||
In this example we will be using the [[PROTO]] board to test uart, i2c and spi communication by creating the following connections: | In this example we will be using the [[PROTO]] board to test uart, i2c and spi communication by creating the following connections: | ||
{| class="wikitable" | {| class="wikitable" | ||
+ | |- | ||
+ | ! Peripheral | ||
+ | ! Signal | ||
+ | ! Pin | ||
+ | ! | ||
+ | ! Pin | ||
+ | ! Signal | ||
+ | ! Peripheral | ||
+ | |- | ||
+ | | Core | ||
+ | | | ||
+ | | Boot0 | ||
+ | | <--> | ||
+ | | PC15 | ||
+ | | | ||
+ | | GPIO | ||
|- | |- | ||
| UART2 | | UART2 | ||
Line 35: | Line 52: | ||
| TX | | TX | ||
| UART3 | | UART3 | ||
+ | |- | ||
+ | | I2C2 | ||
+ | | SCL | ||
+ | | PB10 | ||
+ | | <--> | ||
+ | | PA8 | ||
+ | | SCL | ||
+ | | I2C3 | ||
+ | |- | ||
+ | | I2C2 | ||
+ | | SDA | ||
+ | | PB11 | ||
+ | | <--> | ||
+ | | PC9 | ||
+ | | SDA | ||
+ | | I2C3 | ||
+ | |- | ||
+ | | SPI2 | ||
+ | | MOSI | ||
+ | | PC3 | ||
+ | | <--> | ||
+ | | PC12 | ||
+ | | MOSI | ||
+ | | SPI3 | ||
+ | |- | ||
+ | | SPI2 | ||
+ | | MISO | ||
+ | | PC2 | ||
+ | | <--> | ||
+ | | PB4 | ||
+ | | MISO | ||
+ | | SPI3 | ||
+ | |- | ||
+ | | SPI2 | ||
+ | | SCK | ||
+ | | PB13 | ||
+ | | <--> | ||
+ | | PB3 | ||
+ | | SCK | ||
+ | | SPI3 | ||
+ | |- | ||
+ | | SPI2 | ||
+ | | NSS | ||
+ | | PB12 | ||
+ | | <--> | ||
+ | | PA4 | ||
+ | | NSS | ||
+ | | SPI3 | ||
|} | |} | ||
Line 50: | Line 115: | ||
File:Proto top view.jpg | File:Proto top view.jpg | ||
File:Top side view.png | File:Top side view.png | ||
+ | File:PROTO wired for uart i2c and spi - top view.jpg | ||
+ | File:PROTO wired for uart i2c and spi - side view.jpg | ||
</gallery> | </gallery> |
Latest revision as of 13:34, 17 September 2023
After producing the first few boards, the need for a quick prototyping board became obvious.
Schematic
PCB
The layout of the PCB becomes quite simple.
Example
In this example we will be using the PROTO board to test uart, i2c and spi communication by creating the following connections:
Peripheral | Signal | Pin | Pin | Signal | Peripheral | |
---|---|---|---|---|---|---|
Core | Boot0 | <--> | PC15 | GPIO | ||
UART2 | TX | PA2 | <--> | PC11 | RX | UART3 |
UART2 | RX | PA3 | <--> | PC10 | TX | UART3 |
I2C2 | SCL | PB10 | <--> | PA8 | SCL | I2C3 |
I2C2 | SDA | PB11 | <--> | PC9 | SDA | I2C3 |
SPI2 | MOSI | PC3 | <--> | PC12 | MOSI | SPI3 |
SPI2 | MISO | PC2 | <--> | PB4 | MISO | SPI3 |
SPI2 | SCK | PB13 | <--> | PB3 | SCK | SPI3 |
SPI2 | NSS | PB12 | <--> | PA4 | NSS | SPI3 |