Exploring Datasheets
This week I skimmed the ATtiny412 Datasheet and the RP2040 Datasheet. While I did learn some things reading over the entire packets, I found that I got more out of trying to program the microcontrollers and going to specific parts of the datasheet that I needed to accomplish whatever I was making. However, here are my big takeaways.
- The difference between SRAM, EEPROM, and Flash
- SRAM is volatile memory that a program uses as its running
- Not saved if the chip is restarted
- Flash and EEPROM and non-volatile and store omre-permanent information like code
- Saved if the chip is restarted
- SRAM is volatile memory that a program uses as its running
- All memory is divided into registers or bytes
- Some mutable registers can be changed to configure the microcontroller
- For example, settings pins as an input or output can be accomplished in a
VPORT
register
- For example, settings pins as an input or output can be accomplished in a
- Some mutable registers can be changed to configure the microcontroller
- Pins can have many different functions, and those functions can be delineated through a
Multiplexer
register - Peripherals are components or functions that the microprocessor can communicate with
- I/O pins, internal/external clocks, etc.