background image

Atmel AVR390

 

 

3

8463A-AVR-11/11 

3 Interfaces 

3.1 USB interface 

The USB interface on the Atmel ATAVRBM300 module is USB Type B. The 
ATAVRBM300 connects to a host computer via this interface. The ATAVRBM300 is 
also powered by the USB port from the PC. The PC must deliver minimum 50mA to 
power the ATAVRBM300. USB (USB 1.1, HID communication class) is used to 
communicate between the PC and the ATAVRBM300. A PC USB driver is included in 
Atmel AVR Battery Studio 2. This PC software must be installed before connecting 
the ATAVRBM300 the first time. 

3.2 Interfaces to device 

The ATAVRBM300 supports four communication interfaces: SMBus/TWI, SPI, UART, 
and single-wire UART. A 10-pin flat parallel cable includes all the signals from the 
ATAVRBM300. 

Table 3-1. 

Pins definition. 

Pin number 

Pin name 

Description 

SDA 

SMBus data pin 

SCL 

SMBus clock pin 

TXD 

UART transmit pin 

RWD 

UART receive pin 

SCLK 

SPI serial clock 

MISO 

SPI Bus Master input/Slave output 

MOSI 

SPI Bus Master output/Slave input 

/SS 

SPI Slave select input 

R/T 

Single-wire UART transmit/receive pin 

10 GND  Ground 

Figure 3-1. 

10-pin header definition.

 

 

3.2.1 SMBus 

To use the SMBus interface, three pins are required: SCL, SDA, and GND. SMBus 
specification v1.1 is supported. 

Summary of Contents for AVR943

Page 1: ...to communicate with Smart Battery systems by a PC It supports four popular interfaces used in Smart Battery system SMBus TWI single wire UART UART and SPI USB1 1 is used for connection with a PC The...

Page 2: ...t of the PC 4 Start AVR Battery Studio 2 The install file of AVR Battery Studio 2 can be downloaded from the Atmel website www atmel com BM300 The 10 pin communication port of ATAVRBM300 should be con...

Page 3: ...ATAVRBM300 the first time 3 2 Interfaces to device The ATAVRBM300 supports four communication interfaces SMBus TWI SPI UART and single wire UART A 10 pin flat parallel cable includes all the signals f...

Page 4: ...three pins TXD RXD and GND A command response mechanism is employed on the communication through this port All the transactions are initiated by the host 3 2 4 Single wire UART The single wire UART i...

Page 5: ...escription Red LED blinking ATAVRBM300 is transmitting data to the target board Green LED blinking ATAVRBM300 is receiving data from the target board 5 Communication protocols The communication protoc...

Page 6: ...es all responsibility and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open construct...

Page 7: ...T FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS I...

Reviews: