Usename:  
   
  Password:  
 
  New? Register now
 

 

 
 
  
  
  
 
 
  
  
  
 
  
  
  
 

 

Unlimited SPI word length


Availability

The feature describe here is avalable in the following software releases:

ttos.2.1.7 patch 13
ttos.2.2.0 beta 7

References

Chapter 14 of the TPG Programmer's Reference Manual

Background

The TPG SPI PORT VECTORS icon is where the programmer enters Serial In Data (SI), Serial Out State and Serial Out Expect Mask for each SPI word.
(The 'SPI Port Vector' screen by clicking 'Setups->SPI Port Setups->Vector Setup' from the menu bar.)


These fields are entered as hexidecimal values of length from 1 through 32 bits.

The SI data can be entered as either a hexidecimal value or a TPG variable.

What is new is that the TPG variable can now be an array. This allows an unlimited SPI word length.

Procedure/Example

  1. Create a TPG array variable.


  2. When a variable vector is longer than 32 bits, its data must be assigned from an array. For example, the 48 bit data '0x123456789ABC' can be stored in a two element array using a 'Calculation' general action as shown below.


  3. To assign this data to a SPI vector, go to the 'SPI Port Vector' screen by clicking 'Setups->SPI Port Setups->Vector Setup' from the menu bar.
  4. Right click in a blank cell in the 'Serial In (SI)' column and select the array containing the data. Enter the vector length in the 'Length of 'variable' SI or any hexadecimal Vector' box. Enter a label in the 'Label' column. The 'Serial Out Expect State' and Serial Out Expect Mask' are used if you want to check the DUT output vector against a hard coded value.


  5. In SPI TEST screen, under 'Vector Data', select 'Run Single Vector'. For the 'Start' value (under 'Label or step'), select the label of the desired data. Save and Generate the test.


    More Information

    Tell me more about.... Unlimited SPI Word length feature
       

 
 

home| about us | products | support | search

tts@telcotesting.com

Copyright 2008 Telco Testing Solutions, LLC

Terms of Use