Hochschule Kempten      
Fakultät Elektrotechnik      
Elektronik       Fachgebiet Elektronik, Prof. Vollrath      

  Configuration     AWG1     OSC     FFT     Histogram     Ramp Test INL, DNL     Lookup Table     Settling Time     Power Supply     Bodeplot     Digital I/O     Applications      

Configuration


System: Board:
System: Communication: Serial over USB (Serial NodeJs, LAN over USB?, WLAN?)
OSC1: XADC1 (12 Bit, 1 MSps / 8) OSC2: XADC2 (12 Bit, 1 MSps / 8) OSC3: XADC3 (12 Bit, 1 MSps / 8) OSC4: XADC4 (12 Bit, 1 MSps / 8)
OSC Sampling time: OSC maximum buffer size:
AWG1: R2R (16 Bit) AWG2: None
AWG1: Minimum voltage: Maximum voltage: Resolution (Bits):
AWG1 sampling time:
Lookup buffer size:
Send Command
Sent:



Implemented commands with command example values according to FPGA BASYS 3 board:



"X" (length = 1) initialize
"S" (length = 25) sine signal, followed by 24-hex numbers: step, amplitude, offset each 32 bit

Example f = 1 kHz, amp = 1 V, offset = 1 V as shown in AWG1: S0000A7C526C9B26C26C9B26C

step = 0000A7C5, amplitude = 26C9B26C, offset = 26C9B26C

Sine for FFT for BASY3:
FFT looks good for Oscilloscope up to 1 ms/div.
3 cycles, 1.40851 kHZ, 196608 = 3*64*1024 S000300001364D9361364D936
11 cycles, 5.16452 kHz, 720896 = 11* 64 *1024 S000B00001364D9361364D936
101 cycles, 47.419625 kHz, 6619136 = 101 * 64 * 1024 S006500001364D9361364D936
"T" (length = 21) triangle signal, followed by 20-hex numbers: start, stop, step (16-bit each), repeat (32 bit)

Example pulse f = 1 kHz, amp = 1 V, offset = 1 V as shown in AWG1: T00004D924D920000C350

start = 0000, stop = 4D92, step = 4D92, repeat = 0000C350

Example triangle f = 1 kHz, amp = 1 V, offset = 1 V as shown in AWG1: T00004D8A001900000040

Example stair f = 1 kHz, amp = 1 V, offset = 1 V as shown in AWG1: T00004D8F0F8300002710

"U" (length = 1) start sending data: chunks of block of data are sent: AWG (aW), OSC1 (o1), OSC2 (o2), OSC3 (o3), OSC4 (o4); 16 bit each; 20 hex values
The first transmission has the current index (cP) stored. One extra transmission, because there can be an ongoing conversion at the current index.
"U01230123012301230123YX01230123012301230123Y..."
U(o4)(o3)(cP)(o1)(AW)YX(o4)(o3)(o2)(o1)(AW)Y...
"V" Connect switches to output.
"O" (length = 9) Oscilloscope block size 16 bit and sampling rate 16 Bit (V_06)
Command: O02000000 : Block size x0200 = 512; timeBase 0000 8.32 us (BASYS 3 XADC)
"R" command transfers 8k data 16 bit hex data to lookup table for digital IOs
R0000..FFFF
"Q" command activates the lookup table