Other Parts Discussed in Thread: DRA821, TDA4VM, SYSCONFIG
The SPI master/slave communication between 397 and 821 failed. 397 is the master and 821 is the slave.
According to the waveform, 821 did not correctly output the data written in the TX register.
According to the register, 821 SPI RX register has not received data, RX-related interrupt flag bit has not been set.
Here are the configuration details:
The value of PADCONFIG is set to 0x50008, and the U17 SPI3_D1 CTRLMMR_PADCONFIG28 is set to 0x120008 to enhance the driver strength. However, the output waveform is still incorrect and does not correspond to 0x7777777 written in the TX register.
T14 |
SPI3 |
SPI3_CLK |
CTRLMMR_PADCONFIG26 |
|
U18 |
SPI3 |
SPI3_D0 |
CTRLMMR_PADCONFIG27 |
DATA INPUT |
U17 |
SPI3 |
SPI3_D1 |
CTRLMMR_PADCONFIG28 |
DATA OUTPUT |
U16 |
SPI3 |
SPI3_CS0 |
CTRLMMR_PADCONFIG22 |
|
The configuration of SPI3 is as follows:
Question:
- Why can't RX register receive a value? Rx-related interrupt flag bit cannot be set
- Why write 0x77777777 in TX register, the output waveform is always triangular wave, not 0x 0111 0111
- Why does the shift register not work