ATMEGA48V-10MJ Atmel, ATMEGA48V-10MJ Datasheet - Page 200
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATMEGA48V-10MJ
Manufacturer Part Number
ATMEGA48V-10MJ
Description
IC AVR MCU 4K 5V 10MHZ 32-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA48V-10MJ
Core Processor
AVR
Core Size
8-Bit
Speed
10MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
ATMEGA48V-12MJ
ATMEGA48V-12MJ
ATMEGA48V-12MJ
- Current page: 200 of 378
- Download datasheet (8Mb)
20.5
20.5.1
200
Frame Formats
ATmega48/88/168
USART MSPIM Initialization
Figure 20-1. UCPHAn and UCPOLn data transfer timing diagrams.
A serial frame for the MSPIM is defined to be one character of 8 data bits. The USART in MSPIM
mode has two valid frame formats:
• 8-bit data with MSB first
• 8-bit data with LSB first
A frame starts with the least or most significant data bit. Then the next data bits, up to a total of
eight, are succeeding, ending with the most or least significant bit accordingly. When a complete
frame is transmitted, a new frame can directly follow it, or the communication line can be set to
an idle (high) state.
The UDORDn bit in UCSRnC sets the frame format used by the USART in MSPIM mode. The
Receiver and Transmitter use the same setting. Note that changing the setting of any of these
bits will corrupt all ongoing communication for both the Receiver and Transmitter.
16-bit data transfer can be achieved by writing two data bytes to UDRn. A UART transmit com-
plete interrupt will then signal that the 16-bit value has been shifted out.
The USART in MSPIM mode has to be initialized before any communication can take place. The
initialization process normally consists of setting the baud rate, setting master mode of operation
(by setting DDR_XCKn to one), setting frame format and enabling the Transmitter and the
Receiver. Only the transmitter can operate independently. For interrupt driven USART opera-
tion, the Global Interrupt Flag should be cleared (and thus interrupts globally disabled) when
doing the initialization.
Note:
Before doing a re-initialization with changed baud rate, data mode, or frame format, be sure that
there is no ongoing transmissions during the period the registers are changed. The TXCn Flag
can be used to check that the Transmitter has completed all transfers, and the RXCn Flag can
be used to check that there are no unread data in the receive buffer. Note that the TXCn Flag
must be cleared before each transmission (before UDRn is written) if it is used for this purpose.
To ensure immediate initialization of the XCKn output the baud-rate register (UBRRn) must be
zero at the time the transmitter is enabled. Contrary to the normal mode USART operation the
UBRRn must then be written to the desired value after the transmitter is enabled, but before the
first transmission is started. Setting UBRRn to zero before enabling the transmitter is not neces-
sary if the initialization is done immediately after a reset since UBRRn is reset to zero.
Data setup (TXD)
XCK
Data sample (RXD)
XCK
Data setup (TXD)
Data sample (RXD)
UCPOL=0
XCK
Data setup (TXD)
Data sample (RXD)
XCK
Data setup (TXD)
Data sample (RXD)
UCPOL=1
2545S–AVR–07/10
Related parts for ATMEGA48V-10MJ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATMEGA48V-10AI](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 5V 10MHZ 32-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10MU](/photos/12/13/121308/atmega48v-10mu_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 10MHZ 1.8V 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10PU](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 10MHZ 1.8V 28DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10MMU](/photos/12/32/123209/28m1-vqfn_tmb.jpg)
Part Number:
Description:
MCU AVR 4K FLASH 10MHZ 28-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10AJ](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 5V 10MHZ 32-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10MI](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 5V 12MHZ 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10PI](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 5V 10MHZ 28-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10PJ](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 5V 10MHZ 28-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10AUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 10MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10MUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 10MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA48V-10MMH](/photos/12/32/123209/28m1-vqfn_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 28QFN
Manufacturer:
Atmel
Datasheet: