9 years, 1 month ago.

Help Map pins from LPC1768 to nRF51DK

Hi, I have purchased a Nordic nRF51DK which works perfectly. Suddenly I purchased an EaEpaper and start to follow this tutorial http://developer.mbed.org/users/dreschpe/code/EaEpaper/wiki/Homepage#technology to map it to my board. The problem is that I can't map all the pins from LPC1768 to nRF51DK. I want to write the firmware for this awesome EaPaper screen also for the Nordic development kit but I am new to electronics and I can't fully understand all ports mappings. I am almost done but I miss few ports.

This is what I have accomplished so far

Mapping

---------------------------------------------------------
| Screen   | LPC1768   | nRF51DK       | TYPE    | 
---------------------------------------------------------
| 1 GND         | GND         | GND         | GND     |
---------------------------------------------------------
| 2 3V3          | VOUT        | VDD         | 3.3
---------------------------------------------------------
| 3 SCK          | P7            | P29          | SCK
---------------------------------------------------------
| 4 MOSI        | P5            | P25          | MOSI
---------------------------------------------------------
| 5 MISO        | P6            | P28          | MISO
---------------------------------------------------------
| 6 SSEL         | P8           | ---            | GPIO
---------------------------------------------------------
| 7 BUSY         | P13         | ---            | GPIO
---------------------------------------------------------
| 8 BORDER     | P10         | ---            | GPIO
---------------------------------------------------------
| 9 SCL           | P27          | P7            | SCL
---------------------------------------------------------
|10 SDA          | P28         | P30           | SDA
---------------------------------------------------------
|11 PWM         | P26          | ---            | PWM
---------------------------------------------------------
|12 RESET       | P12          | ---            | GPIO
---------------------------------------------------------
|13 POWER      | P9            | ---            | GPIO
---------------------------------------------------------
|14 DISC         | P11          | ---             | GPIO
---------------------------------------------------------

I have two questions to complete my mapping and re-write the firmware for the EaEpaper for nRF51DK:

  • What is a GPIO port?
  • What is a PWM port?
  • Does the nRF51DK expose 3.3 volt on VDD or are they all 5 volts?

I have also included the schema of nRF51DK https://www.nordicsemi.com/var/ezwebin_site/storage/images/media/images/products/nrf51-dk2/1090247-1-eng-GB/nRF51-DK.png and LPC1768 http://developer.mbed.org/media/uploads/franzachatz/referencedesign.jpg

Be the first to answer this question.