Sie sind nicht angemeldet.

Anmelden
Diese Seite kann nicht editiert werden.
 
 
 

Feature Report Protocol

Von $1

    Inhaltsverzeichnis
    Um zurückzugehen, müssen die aktuelle und die ältere Version mit Hilfe der Historie verglichen werden.

    Kombinierter Revisionsvergleich

    Vergleich der Version vom 23:34, 2 Mar 2015 von stephan mit der Version modifiziert am 18:34, 3 Mar 2015 von stephan.

    ...

    The last changed value shows, which pin has changed last. In some situations it saves time to know this immediately.

    {{ simpsol.pagebreak{} }}

    Display Driver Commands

    Display Driver Basics

    The Display Driver modules are extension modules, connected to the extension port of the Arcaze-USB Interface.

    Display Driver Types

    Currently 2 different Display Driver Modules exist:

    Display Driver 1
    • This module contains only one display driver chip and therefore can drive 8 digits in total.
    • The bus address can be set by a rotary switch to values 0 to 15.
    • Theoretically up to 16 Display Driver 1 modules could be connected to an Arcaze USB-Interface.
    • The Display Driver 1 is obsolete.
    Display Driver 32
    • This module contains 4 display driver chips and therefore can drive 32 digits in total.
    • The bus address can be set by solder bridge SB101. When set to "1" or open, the bus addresses of the display driver chips are 0...3. When set to "2", the bus addresses of the display driver chips are 4...7.
    • 1 or 2 Display Driver 32 modules can be connected to an Arcaze USB-Interface.
    Decode Mode

    There are 2 different ways to display data sent to a display driver. The "Decode Mode" can be set up on a per-digit basis.

    Decode Mode = 0 / Bitmapped Mode

    If a digit is set up for deocde mode 0, the data is displayed as a bitmap exactly as it has been received. So each bit of a byte stands for one segment of a digit as shown here:

    ...

    Decode Mode = 1 / Code B Decoding

    If decode mode 1 is selected for a digit, a small character generator is used and only bits 0...3 of display data are interpreted and displayed as shown in the table below. Additionally bit 7 represents the DP point.

    ...

    MAX7219_DISPLAY_INIT (33)

    Initializes a display driver chip of a Display Driver Module connected to the extension port of the Arcaze USB-Interface.

    A Display Driver 1 module contains only one display driver. Therefore, only one Init command is required per module. The Display Driver 32 module contains 4 display drivers, each with its own address. Therefore it's necessary to send the init command 4 times, once to each address. This has not been combined into one command to allow for setting brightness or other settings different for each chip if desired.

    Out Report
    Address Content Value Length (Bytes) Remarks
    0 Command 33 1 MAX7219_DISPLAY_INIT
    1...63 not used     Not used
    In  Report
    Address Content Value Length (Bytes) Remarks
    0 Command 33 1 MAX7219_DISPLAY_INIT
    1 Device Address 0...7 1 Bus address of the display driver chip.
    On a Display Driver 32 this can be 0..3 for the first module and 4...7 for the second module connected to the Arcaze USB-Interface.
    On a Display Driver 1 this can be 0...15, which is the address to be set by the rotary switch on each Display Driver 1 module.
    2 Decode Mode Bitmask 1 Each bit reflects one digit.
    If a bit is set to 0, display data is not decoded, but simply displayed as a bitmap for all segments of this digit.
    If a bit is set to 1, display data is decoded and displayed as Code B font, as shown in the Code B font table earlier.
    3 Intensity 0...15 1 0 = darkest, 15 = brightest
    4 ScanLimit 4...8 1 Selects the number of digits to actually be updated from a display driver. This can generally be left at value 8.
    The only reason to alter this value, would be to achieve a higher frame update rate on a display smaller than 8 digits, as scanning becomes the faster, the less digits are to be updated. But this will only be relevant in very specific applications (like moving displays).
    5...63 not used     not used

    ...

    Version vom 23:34, 2 Mar 2015

    Diese Revision wurde von stephan (Sperren) verändert

    ...

    Version seit 18:34, 3 Mar 2015

    Diese Revision wurde von stephan (Sperren) verändert

    ...

    The last changed value shows, which pin has changed last. In some situations it saves time to know this immediately.

    {{ simpsol.pagebreak{} }}

    Display Driver Commands

    Display Driver Basics

    The Display Driver modules are extension modules, connected to the extension port of the Arcaze-USB Interface.

    Display Driver Types

    Currently 2 different Display Driver Modules exist:

    Display Driver 1
    • This module contains only one display driver chip and therefore can drive 8 digits in total.
    • The bus address can be set by a rotary switch to values 0 to 15.
    • Theoretically up to 16 Display Driver 1 modules could be connected to an Arcaze USB-Interface.
    • The Display Driver 1 is obsolete.
    Display Driver 32
    • This module contains 4 display driver chips and therefore can drive 32 digits in total.
    • The bus address can be set by solder bridge SB101. When set to "1" or open, the bus addresses of the display driver chips are 0...3. When set to "2", the bus addresses of the display driver chips are 4...7.
    • 1 or 2 Display Driver 32 modules can be connected to an Arcaze USB-Interface.
    Decode Mode

    There are 2 different ways to display data sent to a display driver. The "Decode Mode" can be set up on a per-digit basis.

    Decode Mode = 0 / Bitmapped Mode

    If a digit is set up for deocde mode 0, the data is displayed as a bitmap exactly as it has been received. So each bit of a byte stands for one segment of a digit as shown here:

    ...

    Decode Mode = 1 / Code B Decoding

    If decode mode 1 is selected for a digit, a small character generator is used and only bits 0...3 of display data are interpreted and displayed as shown in the table below. Additionally bit 7 represents the DP point.

    ...

    MAX7219_DISPLAY_INIT (33)

    Initializes a display driver chip of a Display Driver Module connected to the extension port of the Arcaze USB-Interface.

    A Display Driver 1 module contains only one display driver. Therefore, only one Init command is required per module. The Display Driver 32 module contains 4 display drivers, each with its own address. Therefore it's necessary to send the init command 4 times, once to each address. This has not been combined into one command to allow for setting brightness or other settings different for each chip if desired.

    Out Report
    Address Content Value Length (Bytes) Remarks
    0 Command 33 1 MAX7219_DISPLAY_INIT
    1...63 not used     Not used
    In  Report
    Address Content Value Length (Bytes) Remarks
    0 Command 33 1 MAX7219_DISPLAY_INIT
    1 Device Address 0...7 1 Bus address of the display driver chip.
    On a Display Driver 32 this can be 0..3 for the first module and 4...7 for the second module connected to the Arcaze USB-Interface.
    On a Display Driver 1 this can be 0...15, which is the address to be set by the rotary switch on each Display Driver 1 module.
    2 Decode Mode Bitmask 1 Each bit reflects one digit.
    If a bit is set to 0, display data is not decoded, but simply displayed as a bitmap for all segments of this digit.
    If a bit is set to 1, display data is decoded and displayed as Code B font, as shown in the Code B font table earlier.
    3 Intensity 0...15 1 0 = darkest, 15 = brightest
    4 ScanLimit 4...8 1 Selects the number of digits to actually be updated from a display driver. This can generally be left at value 8.
    The only reason to alter this value, would be to achieve a higher frame update rate on a display smaller than 8 digits, as scanning becomes the faster, the less digits are to be updated. But this will only be relevant in very specific applications (like moving displays).
    5...63 not used     not used

    ...

     
    © Simple Solutions  •  Impressum  •  Wiki powered by Mindtouch