dresden elektronik ingenieurtechnik gmbh MEGA22M00 사용자 설명서

다운로드
페이지 52
User Manual 
Version 1.1c 
2013-07-01 
 
OEM
 
radio modules deRFmega 
 
 
 
 
 
www.dresden-elektronik.de 
 
Page 42 of 52 
 
10. Application circuits 
10.1.  UART 
Two  U(S)ART  interfaces  are  available  on  the  radio  modules.  For  communication  to  a  host 
with a different supply voltage domain it is necessary to use a level-shifter. We recommend 
the USB level shifter by dresden elektronik. The level-shifter can be connected to the custom 
base board via 100 mil 2 x 3 pin header. The pin assignment should be designed as below in 
Figure  36.  For  an  UART  connection  it  is  sufficient  to  use  only  TXD,  RXD  and  GROUND 
signals. 
 
 
1. PE1/TXD0 
2. VCC 
3. Not connected 
4. PE0/RXD0 
5. Not connected 
6. GND 
Figure 36: 100 mil 2 x 3 pin header for UART0 
10.2.  ISP 
The  AVR  based  radio  modules  can  be  programmed  via  JTAG  and  ISP  interface.  For  ISP 
connections  a  100 mil  2  x  3  pin  header  should  be  used.  The  pin  assignment  is  given  in 
Figure 37. The MCU ATmega128RFA1 uses the ISP signals PDO and PDI on the same pins 
like the SPI with MISO and MOSI. 
We recommend the use of an ‘AVR ISP programmer’. 
 
 
1. PB3/MISO/PDO 
2. VCC 
3. PB1/SCK 
4. PB2/MOSI/PDI 
5. RSTN 
6. GND 
Figure 37: 100 mil 2x3 pin header for ISP 
10.3.  JTAG 
The AVR based radio modules can be programmed via JTAG and ISP interface. For JTAG 
connections  a  100 mil  2 x 5  pin  header  should  be  used.  The  pin  assignment  is  given  in 
Figure  38.  We  recommend  the 
use  of  ‘Atmel  AVR  Dragon’  or  ‘Atmel  JTAG  ICE  mkII’ 
programmer. 
 
1. PF4/TCK 
2. GND 
3. PF6/TDO 
4. VCC 
5. PF5/TMS 
6. RSTN 
7. VCC 
8. Not connected 
9. PF7/TDI 
10. GND 
Figure 38: 100 mil 2x5 pin header for JTAG