Definition 2.4G Module from In-Circquit with AT86RF230B and Atmega1281 (V1.1). More...
Go to the source code of this file.
Defines | |
#define | CUSTOM_RESET_TIME_MS (10) |
#define | DEFAULT_SPI_RATE (SPI_RATE_1_4) |
#define | HIF_TYPE HIF_UART_1 |
#define | HWTIMER_REG (TCNT1) |
#define | HWTIMER_TICK ((1.0*HWTMR_PRESCALE)/F_CPU) |
#define | HWTIMER_TICK_NB (0xFFFFUL) |
#define | HWTMR_PRESCALE (1) |
#define | LED_DDR DDRG |
#define | LED_MASK (0x20) |
#define | LED_NUMBER (1) |
#define | LED_PORT PORTG |
#define | LED_SHIFT (5) |
#define | LEDS_INVERSE (1) |
#define | NO_KEYS (1) |
#define | TIMER_POOL_SIZE (4) |
#define | TIMER_TICK (HWTIMER_TICK_NB * HWTIMER_TICK) |
Definition 2.4G Module from In-Circquit with AT86RF230B and Atmega1281 (V1.1).
The wiring of the radio and the ATmega is shown below:
ATmega1281 AT86RF230 ---------- --------- PB1 --> SCK PB2 <-- MOSI PB3 --> MISO PB0 --> SEL PB4 --> SLP_TR PB5 --> TRX_RESET PD4/ICP1 --> IRQ PD6/T1 <-- CLKM
PG5 --> LED Interface
Fuses: LF: 0xe2 - 8MHz internal RC Osc. HF: 0x11 - without boot loader HF: 0x10 - with boot loader EF: 0xff LOCK: 0xef - protection of boot section
Original Fuse settings (Stick): LF: 0xe2 HF: 0x1a EF: 0xfd
Original Fuse settings (Module): LF: 0x62 HF: 0x93 EF: 0xff
Bootloader: Start at byte=0x1e000, address=0xf000, size = 4096 instructions/ 8192 bytes
#define CUSTOM_RESET_TIME_MS (10) |
additional delay needed by hardware
#define DEFAULT_SPI_RATE (SPI_RATE_1_4) |
ID String for this hardware