|
The OP
Published on 2009-9-22 11:17
Only look at the author
This post is from Embedded System
Latest reply
After a rough look, there is nothing wrong with your process. Of course, you need to confirm whether some specific assembly instructions are correct. 1. Since you did not post your schematic diagram, it is impossible to determine whether your hardware is good. If there is a problem with the hardware, the software cannot solve it. 2. You use SPI to send cmd and data. Then please confirm whether the timing of this Spi is correct. You can write a loop with an interval of 100ms to send a fixed data, such as 0x77, and then use an oscilloscope to measure these three lines. Is the waveform timing correct (pay attention to whether the clk speed of SPI meets the requirements of MAX7219, whether the width of the level above the data meets the requirements, and whether the interval time between CS and the first clk meets the requirements.) 3. Check whether the timing of 1s in your software above is correct. Maybe the timing is only a few ms, so if you keep refreshing the data, you may see FF. You don’t have to display so many numbers from 0 to 8 in a loop. Only display one data at a time to see if it is correct. The above are some suggestions. You can start with the simple ones, which will make it easier to clarify the problem.
Details
Published on 2009-10-1 09:19
| ||
|
|
||
|
2
Published on 2009-9-22 13:42
Only look at the author
This post is from Embedded System
| ||
|
|
||
|
|
|
3
Published on 2009-9-22 15:28
Only look at the author
| |
|
|
|
|
|
|
4
Published on 2009-9-22 15:28
Only look at the author
| |
|
|
|
|
|
|
5
Published on 2009-9-24 09:04
Only look at the author
| |
|
|
|
|
|
|
6
Published on 2009-9-29 22:21
Only look at the author
This post is from Embedded System
| ||
|
|
||
|
|
|
7
Published on 2009-10-1 09:19
Only look at the author
This post is from Embedded System
| ||
|
|
||
|
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building,
Block B, 18 Zhongguancun Street, Haidian District,
Beijing 100190, China
Tel:(010)82350740
Postcode:100190
京公网安备 11010802033920号

