Change of Waveforms - Protocol - SPI - custom - First bit in Test and Measurement Posted July 18, 2022 Hello, I'm writing a script in Waveforms - Protocol - SPI - custom window. I wanted to change First bit: MSBit to LSBit. I can assign all other values but I couldn't find First bit assign script anywhere. Does anyone know the script to change the "First bit" value? ------------------- Select.Active.value = 0; Clock.Polarity.value = 1; Clock.Phase.value = 1; Clock.Frequency.value = 100e3; // 100kHz Select.value = 3; //Assigns pin Analog Discovery 2 DIO 3 Clock.value = 2; //Assigns pin Analog Discovery 2 DIO 2 DQ0.value = 4; //Assigns pin Analog Discovery 2 DIO 4 // // SPI: MOSI DQ1.value = 5; //Assigns pin Analog Discovery 2 DIO 5 // SPI: MISO ----------------- Thank you! Choon
Change of Waveforms - Protocol - SPI - custom - First bit
in Test and Measurement
Posted
Hello,
I'm writing a script in Waveforms - Protocol - SPI - custom window. I wanted to change First bit: MSBit to LSBit.
I can assign all other values but I couldn't find First bit assign script anywhere.
Does anyone know the script to change the "First bit" value?
-------------------
Select.Active.value = 0;
Clock.Polarity.value = 1;
Clock.Phase.value = 1;
Clock.Frequency.value = 100e3; // 100kHz
Select.value = 3; //Assigns pin Analog Discovery 2 DIO 3
Clock.value = 2; //Assigns pin Analog Discovery 2 DIO 2
DQ0.value = 4; //Assigns pin Analog Discovery 2 DIO 4 // // SPI: MOSI
DQ1.value = 5; //Assigns pin Analog Discovery 2 DIO 5 // SPI: MISO
-----------------
Thank you!
Choon