Exercise 1

Try libmaple examples handling Nokia 5510 display. Add a new character to mini font used in the second and following examples. Check what happens if you remove wait for completition of hardware SPI transfer. Check what happens if you remove wait in loop routine in the DMA example. Measure time spent waiting for competition of DMA transfer. libmaple provides 'micros' function which gives number of microseconds from the start of program, you can use it to measure delays. You can store result in a volatile variable and read value in the debugger. Declare a buffur for the whole screen and use routines from the example to transfer buffer to the screen. Then write some simple patterns like horizontal or vertical line to the buffer. Try writing characters at arbitrary pixel position.