dma spi and leds working