Posts

Showing posts from July, 2018

AVR Features and Registers

Image
AVR This study is based on tiny2313 so memory, I/O address may vary in other AVR chip. Memory Flash - Program Memory, an endurance of at least 10,000 write/erase cycles. SRAM - Used by MCU for keeping stack , 0x0060 - 0x00DF EEPROM - used for data storage in this memory, this is accessible by MCU and user by the burner, the endurance of at least 100,000 write/erase cycles. Not directly accessible. Accessing Registers - EEPROM Address Registers, the EEPROM Data Register, and the EEPROM Control Register 32x8 General Purpose Register - fast registers which are directly connected with ALU. 0x0000 - 0x001F I/O Register - register for configuring I/O services and accessing data, 0x0020 - 0x005F Clock Source CKSEL3..0 SUT1..0  (the start-up times) The device is shipped with CKSEL = “0100”, SUT = “10”, and CKDIV8 programmed. The default clock source setting is the Internal RC Oscillator with longest start-up time and an initial system clock pr