# Cover modes in spi

**URL:** <https://verificationacademy.com/forums/t/cover-modes-in-spi/42614>\
**Category:** Coverage\
**Tags:** Dave-Rich, Coverage, chris-sue, Chris-Spear\
**Created:** [October 27, 2023, 9:17am UTC](https://verificationacademy.com/forums/t/cover-modes-in-spi/42614 "2023-10-27T09:17:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_v](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/a3d4f5/32.png) [@m\_v](https://verificationacademy.com/forums/u/m_v)\
**Post date:** [October 27, 2023, 9:17am UTC](https://verificationacademy.com/forums/t/cover-modes-in-spi/42614/1 "2023-10-27T09:17:34Z")

</div>

Hi, SPI has different modes(cpol,cphase) of working and i am using them as configuration and it can not be sampled from the interface so how i cover all modes(0 to 3) of spi in coverage is it possible or not please answer.

Thank you.

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [October 27, 2023, 7:02pm UTC](https://verificationacademy.com/forums/t/cover-modes-in-spi/42614/2 "2023-10-27T19:02:53Z")

</div>

_In reply to [m\_v](https://verificationacademy.com/forums/t/cover-modes-in-spi/42614):_

You can create a monitor on the SPI interface that the detects mode switching and sends out a transaction to a coverage collector every time the mode switches.
