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
Definition in file board_ict_11.h.
Go to the source code of this file.
Defines | |
| #define | BOARD_NAME BOARD_NAME_ICT230_11 |
| #define | CPU_TYPE (CPU_M1281) |
| #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 | MAX_FRAME_SIZE (127) |
| #define | NO_KEYS (1) |
| #define | RADIO_TYPE (RADIO_AT86RF230B) |
| #define | TIMER_INIT() |
| #define | TIMER_IRQ_vect TIMER1_OVF_vect |
| #define | TIMER_POOL_SIZE (4) |
| #define | TIMER_TICK (HWTIMER_TICK_NB * HWTIMER_TICK) |
| #define | TUNED_OSCCAL (0xbf) |
| #define BOARD_NAME BOARD_NAME_ICT230_11 |
ID String for this hardware
Definition at line 94 of file board_ict_11.h.
| #define CPU_TYPE (CPU_M1281) |
used CPU (see const.h)
Definition at line 106 of file board_ict_11.h.
| #define CUSTOM_RESET_TIME_MS (10) |
additional delay needed by hardware
Definition at line 111 of file board_ict_11.h.
| #define MAX_FRAME_SIZE (127) |
maximum allowed frame size
Definition at line 98 of file board_ict_11.h.
| #define RADIO_TYPE (RADIO_AT86RF230B) |
used radio (see const.h)
Definition at line 107 of file board_ict_11.h.
| #define TIMER_INIT | ( | ) |
Value:
do{ \ TCCR1B |= (_BV(CS10)); \ TIMSK1 |= _BV(TOIE1); \ }while(0)
Definition at line 157 of file board_ict_11.h.
1.5.5