theory... • Structure of the 3rd generation of ASF 2. A bit of practice... • Assignment 1 – simple application • Assignment 2 – porting to a custom board • Assignment 3 – adding support for a new component 3. General guidelines in customizing ASF • Board • Component 10/10/2012
structure of the 3rd generation of ASF • Pinout and pinmux definitions • I/O initialization • ”schematic in code” • replace register-level code • configure peripheral modules • high-level functions to handle e.g.: - graphics - file systems • manage hardware external to MCU • similar to drivers • compiler abstraction layer • 1000’s of example applications • representation of user application AN-9684: Custom application support in ASF 10/10/2012
& Footer > Type Title in Footer field A bit of practice... Assignment 1 – simple application • SAMD21 Xplained Pro board + 2 extensions • All support in ASF (boards, drivers, components, services) • simple: reading sensor data – displaying text
& Footer > Type Title in Footer field A bit of practice... Assignment 2 – changing of the board • SAMD21 Xplained Pro board replaced with Arduino Zero • SAMD21J18A replaced with SAMD21G18A • No ASF support for the board
& Footer > Type Title in Footer field A bit of practice... Assignment 3 – now component • Arduino Zero stays • Assume no SSD1306 display controller • We will learn how to add new features