Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_ad5592r_ad5593r [01 Oct 2019 15:34]
Brandon [Available commands]
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_ad5592r_ad5593r [22 Nov 2019 14:13] (current)
AndreiD1994 Add treaming command
Line 70: Line 70:
 ^ Mode commands ^ ^ ^ ^ Mode commands ^ ^ ^
 | //m//                  | m | Start mirror mode. This mode sets 4 channels as input and 4 channels as output. Then the application reads the input channels and drives the corresponding output channel to the value read on the input channel. For example, if channel 0 reads 1V then the corresponding channel, channel 7, will output 1V. The channels are linked the following way:\\ * Channel 0 (ADC) → Channel 7 (DAC);\\ * Channel 1 (ADC) → Channel 6 (DAC);\\ * Channel 2 (input GPIO) → Channel 5 (output GPIO);\\ * Channel 3 (input GPIO) → Channel 4 (output GPIO). |  | //m//                  | m | Start mirror mode. This mode sets 4 channels as input and 4 channels as output. Then the application reads the input channels and drives the corresponding output channel to the value read on the input channel. For example, if channel 0 reads 1V then the corresponding channel, channel 7, will output 1V. The channels are linked the following way:\\ * Channel 0 (ADC) → Channel 7 (DAC);\\ * Channel 1 (ADC) → Channel 6 (DAC);\\ * Channel 2 (input GPIO) → Channel 5 (output GPIO);\\ * Channel 3 (input GPIO) → Channel 4 (output GPIO). | 
-| //t//                  | t | Start production test mode. The following connections must be made:\\ * Channel 0 → Channel 7;\\ * Channel 1 → Channel 6;\\ * Channel 2 → Channel 5;\\ * Channel 3 → Channel 4.\\ Test mode sets CH0:3 to DAC mode, CH4:7 to ADC mode. CH0:3 are set to 0.5V, 1V, 1.5V, 2V, and the voltages at CH4:7 are read back and compared to the expected value. A pass message is then displayed if all the values are read back correctly. | +| //t//                  | t | Start production test mode. The following connections must be made:\\ * Channel 0 → Channel 7;\\ * Channel 1 → Channel 6;\\ * Channel 2 → Channel 5;\\ * Channel 3 → Channel 4.\\ Test mode sets CH0:3 to DAC mode, CH4:7 to ADC mode. CH0:3 are set to 0.5V, 1V, 1.5V, 2V, and the voltages at CH4:7 are read back and compared to the expected value. A pass message is then displayed if all the values are read back correctly. | 
 +| //ais// <//​ch_no//> ​               | ais a | Start streaming mode. This mode reads the selected ADC channel twice a second and outputs the data to the terminal. \\ <//​chan//>​ = channel to be read (0-7) or all channels simultaneously (a). \\ If the channel picked is not an ADC channel the terminal will show an appropriate message. \\ This command does not change the setting of the channels. The desired channels need to be set as ADC separately. |
  
   * For the "​h",​ "​stts",​ "​m"​ and "​t"​ commands press Enter without inserting any space afterwards.   * For the "​h",​ "​stts",​ "​m"​ and "​t"​ commands press Enter without inserting any space afterwards.
resources/eval/user-guides/eval-adicup3029/reference_designs/demo_ad5592r_ad5593r.txt · Last modified: 22 Nov 2019 14:13 by AndreiD1994