EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: Roeland_R on January 30, 2017, 08:44:25 pm

Title: SKU:DFR0090 SPI LED module test in assembler + SPI decoding on Rigol DS1054Z
Post by: Roeland_R on January 30, 2017, 08:44:25 pm
I want to share my little program driving a SKU:DFR0090 SPI LED module. The program runs in an Arduino UNO and is very small:
Segment   Begin    End      Code   Data   Used    Size   Use%
      ---------------------------------------------------------------
      [.cseg] 0x000000 0x000284    504     40    544   32768   1.7%
      [.dseg] 0x000100 0x000100      0      0      0    2048   0.0%
      [.eseg] 0x000000 0x000000      0      0      0    1024   0.0%

as you can see in this report from Atmel Studio 7. I'll try to make it smaller than it is already, and reduce the number of used registers......
for a little demo:  https://youtu.be/WhXzjs4MsoU

I added 2 screenprints of perfectly working SPI decoding on my Rigol DS1054Z