cancel
Showing results for 
Search instead for 
Did you mean: 

HI, I use DSP28335 to read the rtc M41T94 chip time, the mode is (00 or 11), but the oscilloscope decoding always returns FF or 00. Hope to get your help. thanks ZGH

GZhan.6
Associate

The DSP28335 processor is used to communicate with the M41T94 real-time clock chip (RTC). The RTC uses SPI for communication. The basic configuration method is to write command + write time, then read command + read time, but the read time is basically unchanged. The year, month, date, and time information (8 bytes) sent by my oscilloscope decoding is shown in Figure 1 below. But when I read the data continuously, it reads all ff or 00, as shown in Figure 2 (channel 1 is sclk, channel 2 is mosi, channel 3 is miso, channel 4 is chip enable). I don't know if the problem occurs because the command is not written in or the hardware is the problem. The hardware is shown in Figure 3.

Hope to get your help.

0693W00000Nq5yqQAB.jpg 

0693W00000Nq5zKQAR.jpg 

0693W00000Nq5zPQAR.jpg 

0 REPLIES 0