background image

Examples

Crystal Speed

16 Mhz

Desired BAUD

13,500

speed

=

crystalspeed

8

DesiredBaud

1

speed

=

148

.

15

1

speed

=

16

,

000

,

000

8

13

,

500

1

speed

=

147

.

15

LSB

= 0x93 (rounded)

MSB

= 0x00

Intended Baud Rate: 13,500 baud

Actual Baud Rate:

16

,

000

,

000

8

(

147

+

1

)

=

13,514

Percent Difference: 0.1%

NOTES

Results from the formula are rounded down to the nearest whole number (i.e 73.07
= 73).

This formula becomes less acurate as baud rates increase, due to rounding.

Place the speed result backwards into the formula to receive the actual baud rate.
(

Baud

=

CrystalSpeed

8

(

speed

+

1

)

)

The actual baud rate must be within 3% of the intended baud rate for the device to
communicate.

NOTES

This command is not available in I

2

C mode.

5

Fonts

5.1

Introduction

The GLK12232-25-SM comes loaded with the ’Small Filled’ and ’Futura Bk BT 16’ fonts by default.

However, it is capable of displaying any font that is uploaded to it in the correct format. MOGD# provides a
simple method of generating font files from your installed fonts. For instructions on how to install MOGD#
see

Section 1.5.1 on page 4

.

Matrix Orbital

GLK12232-25-SM

19

Содержание GLK12232-25-SM

Страница 1: ...ss mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer...

Страница 2: ...GLK12232 25 SM Technical Manual Revision 2 1...

Страница 3: ...nicating 12 3 3 The display module is communicating however text cannot be displayed 13 3 4 There is a problem uploading fonts or bitmaps 13 4 Communications 13 4 1 Introduction 13 4 1 1 I2C Communica...

Страница 4: ...ne 29 8 6 Draw a Rectangle 30 8 7 Drawing a Solid Rectangle 30 8 8 Initializing a Bar Graph 31 8 9 Drawing a Bar Graph 31 8 10 Initializing a Strip Chart 32 8 11 Shifting a Strip Chart 33 9 General Pu...

Страница 5: ...6 Filesystem Upload 48 12 7 Downloading a File 48 12 8 Moving a File 49 13 Data Security 49 13 1 Introduction 49 13 2 Set Remember 50 13 3 Data Lock 50 13 4 Set and Save Data Lock 52 13 5 Dump the Fi...

Страница 6: ...16 1 Specifications 61 16 1 1 Environmental 61 16 1 2 Electrical 62 16 2 Optical Characteristics 62 16 3 Physical Layout 62 16 4 Ordering Information 64 16 5 Definitions 64 16 6 Contacting Matrix Orbi...

Страница 7: ...r enhanced by an intuitive command structure to allow display settings such as backlight brightness contrast and baud rate to be software controlled Additionally text and fonts may be uploaded to the...

Страница 8: ...nd running You will find these accessories and others on our e commerce website at http www matrixorbital com To contact a sales associate see Section 16 6 for contact information Figure 3 5V Power Ca...

Страница 9: ...y Selectable communication protocol Serial at RS 232 or TTL Levels or I2C Two 5V 20mA General Purpose Outputs 16 KB memory for fonts and bitmaps Lightning fast communication speeds up to 115 kbps for...

Страница 10: ...onnect the power connector end of the Communication and 5V Power cable into the PC power supply you will have to open your computer case if you do not have a separate power supply 3 Connect the power...

Страница 11: ...u Click on the Mogd Sharp entry to run the program Be sure to check the information selected in the configuration panel the first time MOGD is run Once this information is entered correctly the progra...

Страница 12: ...ter Figure 10 GLK12232 25 SM Table 1 Hardware information 1 Power Data Connector 5 Protocol Select Jumpers 2 Floppy Power Connector 6 Filesystem Lock Jumper 3 Keypad Interface Connector 7 Manual Overr...

Страница 13: ...SM standard or wide voltage options the users have two options for connections power and data connections using the Power Data Connector of the GLK12232 25 SM supply Vcc with the proper voltage power...

Страница 14: ...y module between RS 232 TTL and I2 C protocols As a default the jumpers are set to RS 232 mode with zero ohm resistors on the 232 jumpers In order to place the display module in I2C mode you must firs...

Страница 15: ...ow the key presses to remain in the buffer so that they may be polled The character that is associated with each key press may also be altered using the Assign Key Codes command for more detailed info...

Страница 16: ...be generated 2 5 Manual Override The Manual Override is provided to allow the GLK12232 25 SM to be temporarily reset to some of the factory defaults This can be particularly helpful if the display mod...

Страница 17: ...aved 2 6 Filesystem Lock Jumper The Filesystem Lock Jumper allows you to lock the filesystem on the GLK12232 25 SM so that no fonts or bitmaps can be either written or deleted from the on board memory...

Страница 18: ...upply The last step will be to check the Power Data Connector on the GLK12232 25 SM If the Power Data Connector has become loose or you are unable to resolve the issue please contact Matrix Orbital se...

Страница 19: ...tting that will work in most environments is 128 NOTE Optimal contrast settings may vary according to factors such as temperature view ing angle and lighting conditions 3 4 There is a problem uploadin...

Страница 20: ...7 bit address of 45 100 0101 Matrix Orbital s GLK12232 25 SM would describe this Phillips I2C address as 8A 1000 1010 The read address would be 8B 1000 1011 The unit does not respond to general call a...

Страница 21: ...low to high 4 1 3 Serial Communication In addition to being able to communicate via I2C the GLK12232 25 SM communicates natively through the RS 232 protocol at at a default baud rate of 19 200 bps and...

Страница 22: ...ection of the value for the buffer full should be considered very carefully This is a critical aspect to be able to use this feature to it s full potential When using a host system or PC which contain...

Страница 23: ...ess must be an even number and the read address is automatically set to one higher For example if the I2C write address is set to 0x50 then the read address is 0x51 NOTE The change in address is immed...

Страница 24: ...OTE This command is not available in I2C mode Remembered Always Default 19 200 bps 4 6 Setting a Non Standard Baud Rate Syntax Hexadecimal 0xFE 0xA4 speed Decimal 254 164 speed Parameters Parameter Le...

Страница 25: ...he speed result backwards into the formula to receive the actual baud rate Baud CrystalSpeed 8 speed 1 The actual baud rate must be within 3 of the intended baud rate for the device to communicate NOT...

Страница 26: ...n bitmap form Figure 17 below illus trates the bit pattern for the h i and j bitmap data Figure 17 Bitmaps for h i and j Second you may begin to create the font file starting with the header The heade...

Отзывы: