UART I2C and SPI Tests

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

Reply to
IJALAB
Loading thread data ...

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

Reply to
karthikbalaguru

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.