Nov-20-2022, 11:24 PM
Yes, I have searched for some examples of python code and have not found anything. I have been referencing the MAX7219 datasheet. I am using a digital scope and looking at the data and everything look great.
The MAX7219 uses a 16 bit word.
The format is bits 15-12 ignored, bits 11-8 is the 4 bit command code.
Bits 7-4 are ignored and bits 3-0 contain the code for the data to be displayed where a value of 0-9 in bits 3-0 represent displaying characters 0 to 9 on the 7 segment display.
Before writing data, I set the Intensity level, set normal operation on the MAX7219, set the number of digits to scan, turn test state off and set the 7 segment decode.
Also, SPI documentation is so spotty and I find conflicting writeups on using SPI.
Everything on the scope looks great, but no display.
The MAX7219 uses a 16 bit word.
The format is bits 15-12 ignored, bits 11-8 is the 4 bit command code.
Bits 7-4 are ignored and bits 3-0 contain the code for the data to be displayed where a value of 0-9 in bits 3-0 represent displaying characters 0 to 9 on the 7 segment display.
Before writing data, I set the Intensity level, set normal operation on the MAX7219, set the number of digits to scan, turn test state off and set the 7 segment decode.
Also, SPI documentation is so spotty and I find conflicting writeups on using SPI.
Everything on the scope looks great, but no display.