EasyManua.ls Logo

Rohde & Schwarz R&S ZNA Series - Page 1760

Rohde & Schwarz R&S ZNA Series
1849 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming examples
R&S
®
ZNA
1760User Manual 1178.6462.02 ─ 29
Set GPIO Voltages directly
*RST
// Set GPIO voltages
:CONTROL:GPIO1:VOLTAGE:DEF +5V
// Write GPIO configuration into hardware
:CONTrol:GPIO:VOLTage:OUTPut
Sending RFFE commands directly
*RST
// General configuration of RFFE interface 2
:CONTROL:RFFE2:SETTings:FREQuency 50 KHZ
:CONTROL:RFFE2:SETTings:VOLTAGE:IO 2V
:CONTROL:RFFE2:SETTings:VOLTAGE:LOW 0V
:CONTROL:RFFE2:SETTings:VOLTAGE:HIGH 1.2V
// Send commands over RFFE interface 2
// Slave address: 0xA; command number: 0xBC; data: 0x0123
:CONTROL:RFFE2:COMMAND:DATA 'ABC0123'
:CONTROL:RFFE2:COMMAND:SEND
Reading a Product ID
This example assumes knowledge of the RFFE Specification of the MIPI® Alliance, in
particular the "RFFE Supported Command Sequences".
*RST
// DUT Power on sequence
:CONTrol1:GPIO1:VOLTage 2.5V
:CONTROL1:GPIO:VOLTage:OUTPut
:CONTrol1:GPIO2:VOLTage 1.8V
:CONTROL1:GPIO:VOLTage:OUTPut
// Initialization of DUT with Slave Address SA = 0x0B:
// Write 0x38 at register address 0x1C.
// Therefore SA = 0xB; CMD = 0x5C; DATA = 0x38.
// with CMD = 0010 0000b (see RFFE specification 'Register Write')
// | 0001 1100b (register address)
// = 0011 1100b
// = 0x5C
:CONTROL1:RFFE1:COMMAND:DATA 'B5C38'
:CONTROL1:RFFE1:COMMAND:SEND
// Read Product ID. Register address of product ID is noted in the DUT specification.
// This Example: Product ID is stored at address 0x1D.
// Therefore SA = 0xB; CMD = 0x7D;
// with CMD = 0110 0000b (see RFFE specification 'Register Read')
// | 0001 1101b (register address)
// = 0111 1101b
// = 0x7D
Condensed programming examples

Table of Contents

Related product manuals