TIOL221: TIOL221 SPI CPol, CPha

Part Number: TIOL221

Tool/software:

Hello,

there seems to be some inconsistency in the SPI diagrams of the TIOL221 datasheet (SLLSFS6A – SEPTEMBER 2024 – REVISED DECEMBER 2024).

The diagrams clearly show (Fig 7-5, Fig 7-6) a SDI change on the rising (low-to-high) edge (blue and red lines added for clarity) of SCK.

The text of the data sheet states (bold highlight added)

"The SPI controller must generate clock and data signals in SPI MODE0 (clock polarity CPOL = 0 and clock
phase CPHA = 0) to communicate with TIOL221. The SPI input data on SDI is sampled on the low to high edge
of SCK. The SPI output data on SDO is changed on the high to low edge of SCK."

It seems this contradicts what is shown in the figures.

For a description of SPI modes see e2e.ti.com/.../faq-ads129x-what-are-the-correct-polarity-and-phase-cpol-cpha-spi-settings

Could you please clarify which is correct for the TIOL221?

Thanks for your assistance.

Kind regards

  • Hello Christian,

    Thank you for your observation.  The SPI Data is always sampled on the low to high edge.

    For demonstration, here are some plots of a Read, Write, and additional Read of register 0x02.

    First Read:

    Write to register with value 0x55:

    Second Read:

    Regards,

    Jonathan

  • Hello Jonathan,

    thanks for verifying the sampling of SPI data on rising edges by the TIOL221 by logging communication with the device.

    I suggest that the figures in the datasheet are updated in a future revision to either reflect this or at least have a comment that they are only for illustrative purposes and do not show exact timing relations between clock and data.

    Thanks.

    Kind regards,

    Christian