ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 12.06.2025
Просмотров: 8332
Скачиваний: 1
© MCS Electronics, 1995-2007
ATMEGA8
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
ATMEGA16
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -152-
© MCS Electronics, 1995-2007
ATMEGA32
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -153-
© MCS Electronics, 1995-2007
ATMEGA48
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -154-
© MCS Electronics, 1995-2007
ATMEGA88
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
ATMEGA168
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -155-
© MCS Electronics, 1995-2007
ATMEGA64
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -156-
© MCS Electronics, 1995-2007
ATMEGA103
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -157-
© MCS Electronics, 1995-2007
ATMEGA128
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -158-
© MCS Electronics, 1995-2007
ATMEGA161
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -159-
© MCS Electronics, 1995-2007
ATMEGA162
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
The M162 has a clock-16 divider enabled by default. See the M162.bas sample file
page -160-
© MCS Electronics, 1995-2007
ATMEGA163
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
The M163 by default uses the internal clock running at 1 MHz
When you have problems with timing set the right fuse bit A987= 0101. This will solve this problem.
I have just found a small difference in PortB when using the Mega163 in place of a 8535. The difference is in regard to PortB.4 - PortB.7 when not used as a SPI
interface. The four upper bits of PortB are shared with the hardware SPI unit.
If the SPI is configured in SLAVE mode (DEFAULT) the MOSI , SCK, /SS
Are configured as inputs, Regardless of the DDRB setting !
The /SS (slave select) pin also has restrictions on it when using it as a general input.- see data sheet ATmega163 - p57.
This sample allows you to use the upper nibble of PortBas outputs.
Portb = &B0000_0000
DDRB = &B1111_0000 'set upper bits for output.
Spcr = &B0001_0000 ' set SPI to Master and Disable.
If The SPCR register is not set for Master, you cannot set the pins for
Output.
page -161-
© MCS Electronics, 1995-2007
ATMEGA165
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
ATMEGA169
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -162-
© MCS Electronics, 1995-2007
ATMEGA323
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -163-
© MCS Electronics, 1995-2007
The JTAG interface is enabled by default. This means that portC.2-portC.5 pins can not be used. Program the JTAG fuse bit to disable the JTAG interface.
ATMEGA603
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -164-
© MCS Electronics, 1995-2007
ATMEGA2560
page -165-
© MCS Electronics, 1995-2007
ATMEGA2561
page -166-
© MCS Electronics, 1995-2007
ATMEGA8515
page -167-
© MCS Electronics, 1995-2007
ATMEGA8535
This page is intended to show the outline of the chip and to provide additional information that might not be clear from the datasheet.
page -168-