Measurement-computing CIO-DAC16-I Instrukcja Użytkownika Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 16
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 12
After calculating the code required for the D/A data, combine it with the code
required for the channel number.
For example, to set the output on channel 3 to 11.890625mA:
CODE = 11.890625mA - 4 / 16 * 4095 = 2020
The digital code for 2020 is 0111 1110 0100.
To this, you would add the value for channel 3 (0011) as the upper nibble for the
second register.
The end result is 0011 0111 1110 0100.
This is written to the registers as:
BASE + 0: 228 (or E4 hex)
BASE + 1: 55 (or 37 hex)
9
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16

Komentarze do niniejszej Instrukcji

Brak uwag