UART I2C and SPI Tests

Feb 25, 2008 1 Replies

Hello All,



I have drafted test plan for verifying peripheral behavior but Does anyone have system level tests for testing i2c, uart and spi peripherals from a software perspective? pls share the tests that one should carry out for thoroughly verifying a driver from:



  1. i2c multimaster
  2. i2c slave mode TX and Rx functions.

regards bala


Many kinds of tests can be done. You may need to do the following

1) Read data from a Control Register of a particular slave device 2) Write data to a Control Register of a particular slave device 3) In the case of UART try configuring for different baudrate settings. Have a loopback test also. 4) Normally you may need to check if all the status registers and control registers can be 'read from'/'written to' properly. 5) In the case of SPI, check the different Chip Selects.

Karthik Balaguru

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required