Configuration data. STMicroelectronics STLED325
Advertisement
Advertisement
Commands STLED325
In fixed address mode, the address command has to be sent followed by the display data.
When next byte of data is to be written, address command has to be sent again before new display data byte.
When the user wants to read the RTC data from the specified memory location of RTC, the user must first set the address of the RTC location using “Address Setting Command” after which send the “Read RTC Register” command.
If the address pointer was located in the display memory location and user issues a “Read
RTC Register” command without sending the “Address Setting Command”, the RTC data is read from the address location of the previous value of the RTC address pointer.
Thus before reading the RTC register data, the user must set the proper address for RTC using “Address Setting Command”.
Prior to writing data to the RTC registers, the address of the RTC must be set using the
Address Setting command. Else, if the address pointer happens to be pointing at the LED display memory, then the data will be written to the address location of the previous value in the RTC address pointer. This is vice-versa true for the LED display memory.
48/62
Up to a maximum of 5-bytes are sent from LSB to MSB as configuration data. The 29-bytes represent the following configuration information:
MSB (b7)
B7
Decoded/Raw
RC setting
B7
Interrupt config for
GPIO1
B7
LSB (b0)
Byte1
B6
B6
Interrupt config for
GPIO0
B6
Not used
B5
RC Protocol setting
B4 B3 B2 B1
Guard timer setting
B0
B5
Interrupt enable config for GPIOs
B5
Byte 2
B4
B4
For display enable
B3
B3
B2
GPIO1 configuration
(input or output)
Byte 3
GPIO0 configuration
(input or output)
Digit 5 discrete
LED config
B2
B1
B1
For display dimming setting
B0
7-segment LED display configuration setting
B0
Byte 4
Front Panel Hot Key Bank 1
Byte 5
Front Panel Hot Key Bank 2
On power application, the normal operation mode and address increment mode is set with the default display memory address set to 0x10 (start of display memory address location).
Refer to the display memory section.
In the auto increment address mode, the address command is sent once followed by the data bytes.
Alternatively, the data command can be sent followed by the data bytes. In this case, when new display data is to be written, the last value of the address will be used and then
Doc ID 17576 Rev 1
Download
Advertisement