Jump to content

Choon Shin

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Choon Shin

  1. 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

    2022-07-17_18-18-39 first-bit.png

×
×
  • Create New...