Other Parts Discussed in Thread: TCAN4550
Tool/software:
Hello, TI engineers.
Is TI's polarity and phase of SPI module different from other companies?
First, this is the introduction of the 280039C technical manual on polarity and phase with the SPI module.
Second, this is the requirement of TCAN4550 for SPI polarity and phase Settings .It requires rising edge input sampling and falling edge output data. Corresponding to 280039 is the rising edge output data, the falling edge sampling. So I set POLARITY = 0, PHASE = 0, and it would communicate normally, which was also what I expected.
Finally, the AT25128/126 used in the official routine (spi_ex6_eeprom) requires either mode 0 or mode 3 for polarity and phase. The other FLash I use also requires mode 0 or mode 3 for polarity and phase, and gives instructions for sampling data on the rising edge and output data on the falling edge. According to this requirement, 280039 is POLARITY = 0,PHASE = 0, but in spi_ex6_eeprom is POLARITY = 0,PHASE = 1. When POLARITY = 0 and PHASE = 0 are found in the actual test, communication fails; when POLARITY = 0 and PHASE = 1 are found, communication succeeds.
Is this because TI's internal protocols are consistent and differ from SPI protocols of other companies' products?