ATMEL Microcontroller SPI and D/A Implementation