Contiki-NG
|
Header file with definitions related to the I/O connections on the Zolertia's Orion Ethernet Router, Zoul-based. More...
Go to the source code of this file.
Macros | |
Orion Ethernet Router LED configuration | |
LEDs on the eth-gw are connected as follows:
| |
UART configuration | |
On the eth-gw, the UARTs are connected to the following ports/pins:
We configure the port to use UART0 and UART1, CTS/RTS only for UART1, both without a HW pull-up resistor. UART0 is not exposed anywhere, UART1 pins are exposed over the JP9 connector. | |
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 | |
SPI (SSI0) configuration | |
These values configure which CC2538 pins to use for the SPI (SSI0) lines, reserved exclusively for the CC1200 RF transceiver. TX -> MOSI, RX -> MISO | |
SPI (SSI1) configuration | |
These values configure which CC2538 pins to use for the SPI (SSI1) lines, reserved exclusively for the ENC28J60 ethernet module. These pins should not be used for other use, unless you really know what you are doing TX -> MOSI, RX -> MISO | |
I2C configuration | |
As default there is not a default pin assignment for I2C, change this values accordingly if mapping either pin to the I2C controller. | |
Dual RF interface support | |
Enables support for dual band operation (both CC1200 and 2.4GHz enabled). | |
CC1200 configuration | |
These values configure the required pins to drive the CC1200 None of the following pins are exposed to any connector, kept for internal use only | |
Ethernet ENC28J60 configuration | |
These values configure the required pins to drive an external Ethernet module. The implementation can be SPI or GPIO-based, for the first the SPI1 controller should be used | |
On-board external WDT | |
The Orion Ethernet Router has an external WDT and battery monitor, which adds more robustness and prevents the mote to run wild if any unexpected problem shows-up. The external WDT requires a short pulse (<1ms) to be sent before a 2-second period. The battery monitor keeps the device in Reset if the voltage input is lower than 2.5V. | |
Device string used on startup |
Header file with definitions related to the I/O connections on the Zolertia's Orion Ethernet Router, Zoul-based.
Definition in file board.h.