Other Parts Discussed in Thread: CC1101
Tool/software:
Dear sir /madam,
I encounter a SPI communication problem when debugging the CC1101 driver on our Linux system.
The problem is that I cannot even read the PARTNUM and VERSION value.
I just configure the SPI mode as mode 0 and then read these two registers at the beginning of my code, and it fails.
Then I check the waveform of the 4 SPI pins, I find that all the 3 pins that are totally controlled by the SPI Master side (CS, SCLK, MOSI) behave as expected, but the MISO’s CPHA behaves strange (it sometimes toggles on the rising edge and sometimes toggles on the falling edge):
What could be the cause? Is it because the CC1101 chip has not been reset correctly?