Contiki-NG
|
Topics | |
Zolertia ENC28J60 GPIO arch | |
Zolertia ENC28J60 SPI arch | |
Files | |
file | board.c |
Board-initialisation for the Zolertia Orion Ethernet Router. | |
file | board.h |
Header file with definitions related to the I/O connections on the Zolertia's Orion Ethernet Router, Zoul-based. | |
Functions | |
void | board_init () |
Board specific iniatialisation. | |
Zolertia Orion Router button configuration | |
Buttons on the eth-gw are connected as follows:
| |
#define | BUTTON_USER_PORT GPIO_A_NUM |
BUTTON_USER -> PA3. | |
ADC configuration | |
These values configure which CC2538 pins and ADC channels to use for the ADC inputs. There pins are suggested as they can be changed, but note that only pins from PA can be configured as ADC. The Zolertia eth-gw, as it is, only allows 3.3VDC sensors. The internal ADC reference is 1190mV, use either a voltage divider as input, or a different voltage reference, like AVDD5 or other externally (AIN7 or AIN6). The ADC1 is exposed over the JP9 connector | |
#define | ADC_SENSORS_PORT GPIO_A_NUM |
ADC GPIO control port. | |
#define | ADC_SENSORS_ADC1_PIN 2 |
ADC1 to PA2, 3V3 | |
#define | ADC_SENSORS_ADC2_PIN 4 |
ADC2 to PA4, 3V3 | |
#define | ADC_SENSORS_ADC3_PIN 5 |
ADC3 to PA5, 3V3 | |
#define | ADC_SENSORS_ADC4_PIN 6 |
ADC4 to PA6, 3V3 | |
#define | ADC_SENSORS_ADC5_PIN (-1) |
Not used | |
#define | ADC_SENSORS_ADC6_PIN (-1) |
Not used | |
#define | ADC_SENSORS_MAX 4 |
PA2, PA4, PA5, PA6 | |
The Zolertia Orion Router includes an Ethernet ENC28J60 controller with active POE (power over ethernet), operating over IPv4/IP64. It features a dual RF interface (2.4GHz and 863-950MHz) with external antenna connectors, a power on/off switch and programable user button.
This file provides connectivity information on LEDs, Buttons, UART and other peripherals