SPI slave select 0, 1 tested OK
Now I am testing SPI0 selecting 2 slaves, one slave is 4 MAX7219 in cascade, another slave is just 1 MAX7219. I used the following 2 function calls to test both slaves and found everything running smoothly.
testLedArray060(SPI_CHANNEL_0, SLAVE_SELECT_0); // display 2 matrix LEDs, 2 8-digit LEDs
testLedArray061(SPI_CHANNEL_0, SLAVE_SELECT_1); // display 1 8-digit LED
Next step is to try to do ADC using SPI0, SSEL2.
testAdc060(SPI_CHANNEL_0, SLAVE_SELECT_2);
.END
No comments:
Post a Comment