From 86a71d834efd2789221a27f24ab2f79688308733 Mon Sep 17 00:00:00 2001 From: Thomas Ingleby Date: Fri, 21 Nov 2014 16:44:56 +0000 Subject: [PATCH] raspberry pi: add doc for model b Signed-off-by: Thomas Ingleby --- README.md | 6 ++++++ docs/raspberry_pi_b.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 docs/raspberry_pi_b.md diff --git a/README.md b/README.md index 66eeced..69e18e2 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,18 @@ low level communication protocol by high level languages & constructs. Supported Boards ================ +X86 +--- * [Galileo Gen 1 - Rev D](../master/docs/galileorevd.md) * [Galileo Gen 2 - Rev H](../master/docs/galileorevh.md) * [Edison](../master/docs/edison.md) * [Intel DE3815](../master/docs/intel_de3815.md) * [Minnowboard Max](../master/docs/minnow_max.md) +ARM +--- +* [Raspberry Pi - Model B](../master/docs/raspberry_pi_b.md) + Installing on your board ======== diff --git a/docs/raspberry_pi_b.md b/docs/raspberry_pi_b.md new file mode 100644 index 0000000..118a3e6 --- /dev/null +++ b/docs/raspberry_pi_b.md @@ -0,0 +1,53 @@ +Raspberry Pi Model B {#rasppib} +==================== + +The Raspberry Pi is based on the Broadcom BCM2835 system on a chip, +which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU +and was originally shipped with 256 megabytes of RAM, later +upgraded (Model B & Model B+) to 512 MB. + +Revision Support +---------------- +Currently only rev 1 is supported. + +Interface notes +--------------- +**GPIO** Supported on pin 6,10,11,12,14,15,17,21 + +**PWM** Whilst the Raspberry Pi is meant to have 1 PWM channel this is currently not supported. + +**I2C** The blacklist for the kernel module will need to be removed and the `i2c-dev` needs to be loaded. + +**SPI** The blacklist for the kernel module needs to be removed and `spidev` loaded + +Pin Mapping +----------- + +| MRAA Number | Physical Pin | Function | +|-------------|--------------|----------| +| 1 | P1-01 | 3V3 VCC | +| 2 | P1-02 | 5V VCC | +| 3 | P1-03 | I2C SDA | +| 4 | P1-04 | 5V VCC | +| 5 | P1-05 | I2C SCL | +| 6 | P1-06 | GND | +| 7 | P1-07 | GPIO(4) | +| 8 | P1-08 | UART TX | +| 9 | P1-09 | GND | +| 10 | P1-10 | UART RX | +| 11 | P1-11 | GPIO(17) | +| 12 | P1-12 | GPIO(18) | +| 13 | P1-13 | GPIO(21) | +| 14 | P1-14 | GND | +| 15 | P1-15 | GPIO(22) | +| 16 | P1-16 | GPIO(23) | +| 17 | P1-17 | 3V3 VCC | +| 18 | P1-18 | GPIO(24) | +| 19 | P1-19 | SPI MOSI | +| 20 | P1-20 | GND | +| 21 | P1-21 | SPI MISO | +| 22 | P1-22 | GPIO(25) | +| 23 | P1-23 | SPI SCL | +| 24 | P1-24 | SPI CS0 | +| 25 | P1-25 | GND | +| 26 | P1-26 | SPI CS1 | -- 2.7.4