Commit d95bbeb0 authored by Árni Björnsson's avatar Árni Björnsson
Browse files

Added datasheet info

parent c0573da7
Pipeline #318544 passed with stage
in 57 seconds
......@@ -25,7 +25,7 @@ To start with, I will use the FTDI cable with FTDI - UPDI board I made previousl
- [x] Experiment on getting the programming working on VSCode, possibly with the [PlatformIO](https://platformio.org/) plugin.
- [ ] I plan to spend time getting the programmer working. I might even switch to a different programmer, but I need to discuss this with my instructor as it impacts what chips I plan on using. This is the perfect week to dedicate time to it.
- [x] I plan to spend time getting the programmer working. I might even switch to a different programmer, but I need to discuss this with my instructor as it impacts what chips I plan on using. This is the perfect week to dedicate time to it.
## Let's get going
......@@ -243,7 +243,7 @@ Within the PlatformIO project task menu, select ``Build``. This will build the p
![type:video](../images/week09/upload.mp4)
## Datasheet
## Datasheets
I did not manage to carve out the time to read all 479 pages of the complete [datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/40001911A.pdf). I did however, found a [link](https://www.atmel.com/images/doc2549.pdf) to a summary datasheet which I believe should suffice =)
......@@ -257,6 +257,27 @@ Since I might actually use the SAM D11 chip, I grabbed the summary PDF for that
| :--- |
| [SAM d11 (summary) Datasheet](../files/week09/d11summary.pdf) |
### Datasheet info
This update is at a much later time. Turned out I did not really use the D11C chip, but used the 412 a bit. The most useful thing for me from the datasheet, was the pinout!
<figure markdown>
![ATtiny 412 pinout](../images/week09/datasheet01.jpg)
<figcaption>ATtiny 412 pinout</figcaption>
</figure>
I used this quite a bit, very handy to view the actual pin number and the PAx, which I found handy to use in the code. Also which can handle analog and/or digital functions and where the UPDI pin is!
The datasheet also mentions three different sleep modes:
- Idle with All Peripherals Running and Mode for Immediate Wake Up Time
- Standby
- Configurable Operation of Selected Peripherals
- SleepWalking Peripherals
- Power Down with Wake-up Functionality
I did not use or need these functionalities for my projects, but it's good to know the chip has them if working with setups that are sensitive to power usages, such as with solar or other battery powered projects. The summary datasheets do not cover them in depth, for further information one must look at the proper documentation, I will not cover that here since I did not use this.
## Summary
I have now successfully built and uploaded my project to my ATtiny412 board, using both Arduino IDE and VSCode + PlatformIO. The project adds basic functionality, such as button input, led output, serial output to the ATtiny412.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment