The code:
the clock div in the master spi class header is 10.
The logic shows as i am sending 0000 10000 0001 0001 (Changes every time). I am trying to send 1000 0011 0010. I tried adding 4 zeros on the end of the send variable, but to no avail.
Also, why is the clock look like that? Shouldn't it be constant? When I try and set the div to 5, it throws:
Code: Select all
xrun: Program received signal ET_ECALL, Application exception.
0x00010372 in configure_clock_rate.coersed..f.7b0.7d.28ui.2cui.2cui.29 ()