SLIDE 6 6
C S252/ Hill Lec 8. 31 2/ 14/ 02
Architectural Challenges
- I mbalance between memory, I / O and CPU
– I ncrease memory (Program and Data) by selecting dif f erent CPU
- Time/ energy spent waiting f or reception
– Solution: Low- power listening sof tware protocols
- Peak CPU usage during transmission
– Solution: Hardware based communication accelerator
C S252/ Hill Lec 8. 32 2/ 14/ 02
The MI CA architecture
– 4 Mhz 8- bit C P U – 128KB I nstruction Memory – 4KB RAM – 5.5mA active, 1.6mA idle, <1uA powered down
- 4 Mbit f lash (AT45DB041B)
– SP I interf ace – 1- 4 uj/ bit r/ w
– 50 kb/ s – ASK – Communication focused hardware acceleration
- Net work programmable
- 51- pin expansion connect or
– Analog compare + interrupts
- GCC based t ool/ programming chain
Cost-effective power source 2xAA form factor
Atmega103 Microcontroller TR 1000 Radio Transceiver 4Mbit External Flash 51-Pin I/O Expansion Connector 8 Analog I/O 8 Programming Lines SPI Bus Coprocessor Transmission Power Control Power Regulation MAX1678 (3V) DS2401 Unique ID Hardware Accelerators Digital I/O C S252/ Hill Lec 8. 33 2/ 14/ 02 Start Symbol Search Receiving individual bits Start Symbol Detection Synchronization Radio Samples MAC Delay Transmitting encoded bits Start Symbol Transmission Bit Modulations
Transmission Reception
Encoded data received Data Received
…
Encoded data to be Transmitted Data to be Transmitted Encode processing Decode processing Transmit command provides data and starts MAC protocol.
Wireless Communication Phases
… … … … … …
C S252/ Hill Lec 8. 34 2/ 14/ 02
Radio I nterf ace
- Highly CPU intensive
- CPU limit ed, not RF limit ed in low power
syst ems
- Example implement at ions
– RENE node: » 19,200 bps RF capability » 10,000 bps implementation, 4Mhz Atmel AVR – Chipcon application note example: » 9,600 bps RF capability » Example implementation 1, 200bps with 8x over sampling on 16 Mhz Microchip PI Cmicro (chipcon application note AN008)
C S252/ Hill Lec 8. 35 2/ 14/ 02
Node Communication Architecture Options
Application Controller RF Transceiver
Direct Device Control Classic Protocol Processor
Application Controller RF Transceiver Protocol Processor Narrow, refined Chip-to-Chip Interface Raw RF Interface
Hybrid Accelerator
Application Controller RF Transceiver Serialization Accelerator Timing Accelerator Memory I/O BUS Hardware Accelerators C S252/ Hill Lec 8. 36 2/ 14/ 02
Accelerator Approach
- Standard I nterrupt based I / O
perf orm start symbol detection
- Timing accelerat or employed t o
capt ure precise t ransmission t iming
– Edge capture perf ormed to +/ - 1/ 4 us
- Timing inf ormat ion f ed int o dat a
serializer
– Exact bit timing perf ormed without using data path – CPU handles data byte- by- byt e
Hybrid Accelerator
Application Controller RF Transceiver Serialization Accelerator Timing Accelerator Memory I/O BUS Hardware Accelerators