Skip to content

Fixed pins for RBL nRF51822 board. #458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 21, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ typedef enum {
P0_29 = p29,
P0_30 = p30,

LED1 = p18,
LED2 = p19,
LED3 = p18,
LED4 = p19,
LED1 = p15,
LED2 = p15,
LED3 = p15,
LED4 = p15,

BUTTON1 = p16,
BUTTON2 = p17,
Expand All @@ -114,18 +114,16 @@ typedef enum {
// mBed interface Pins
USBTX = TX_PIN_NUMBER,
USBRX = RX_PIN_NUMBER,

/*

SPI_PSELMOSI0 = p20,
SPI_PSELMISO0 = p22,
SPI_PSELSS0 = p24,
SPI_PSELSS0 = p14,
SPI_PSELSCK0 = p25,

SPI_PSELMOSI1 = p12,
SPI_PSELMISO1 = p13,
SPI_PSELMOSI1 = p20,
SPI_PSELMISO1 = p22,
SPI_PSELSS1 = p14,
SPI_PSELSCK1 = p15,
*/
SPI_PSELSCK1 = p25,

SPIS_PSELMOSI = p20,
SPIS_PSELMISO = p22,
Expand All @@ -137,8 +135,8 @@ typedef enum {

/*
I2C_SDA1 = p13,
I2C_SCL1 = p15,
*/
I2C_SCL1 = p15,
/*

D0 = p11,
D1 = p9,
Expand All @@ -156,10 +154,12 @@ typedef enum {
D12 = p13,
D13 = p15,

/*
D14 = p5,
D15 = p6,
*/
D14 = p29, // I2C - SDA
D15 = p28, // I2C - SCL

D16 = p25, // SPI - SCK
D17 = p22, // SPI - MISO
D18 = p20, // SPI - MOSI

A0 = p6,
A1 = p5,
Expand All @@ -168,6 +168,13 @@ typedef enum {
A4 = p2,
A5 = p1,

D19 = A0,
D20 = A1,
D21 = A2,
D22 = A3,
D23 = A4,
D24 = A5,

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down