Home
CFA835 Data Sheet Release 2014-10-13
Contents
1. z z 5 k m g S gt p S z See Flex lt lt g Detail B S 2 Gol 3 g T Page 2 O O E a C CIE m m O S m 142 0 Overall PCB Z 106 0 PCB Mounting Holes 29 0 PCB M H m See LED a eB UU a 20 0 TYP 12 0 Keypad Maximum i 14 0 i Detail A a 829Viewing Area _ _ _ 0 20 6 5 gt Page 2 79 27 PixelArray _ TYP O 1 641 3 Eg 77 97 Active Area y Mi rE 3 a x LL E PEIN ot oO o E ERRE H oE o u ei SaS le lt Y gt NES 7 wel of N x N p rot i O Sml 2 N Pl a az S tts z Z Bal x y es eb A 5 6 3 5 Qo See Pixel N Detail C 15 2 Page 2 16 8 p s U CFA835 TML Not to scale CFA835 Family_master v1 0 Crystalfontz America Inc ERE NK TNA SIGE www crystalfontz com products Millimeters 2014 02 07 1 of 2 g8 ebed Q gt foe Q9 o1 r 2 E gt ag J O 0 O Q D L Q Q ie D lt F a 3 Q D lt 2 2 J D er D wn S D D an A D D T D N T I oo sjle1aq exiq puy M IA yoeg Huimeig uipn
2. 14 Cable For Direct Connection To Host s Power Supply 15 BRACKETS AND SLEDS 2 22 eee eee eens 16 MECHANICAL SPECIFICATIONS 17 Physical Characteristics 17 Vibration 17 Display Module Outline Drawing Front amp Side Views 18 Display Module Outline Drawing Back View amp Pixel Details 19 Keypad Detail Drawing 20 ELECTRICAL SPECIFICATIONS 21 system Block Diagram 21 Display Duty And Bias 22 Absolute Maximum Ratings 23 DC Characteristics 23 Logic Level GPIO 5 Volt Tolerant Pins For Serial Interface 24 GPIO Current Limits 24 Current Consumption 25 CFA835 TFK Dark On Near White 25 CFA835 TML Near
3. 88 CrystalControl2 CC2 777222 88 Linux CLI Examples 88 Sample Code For RPM Calculation Information 89 sample Code for Temperature Sensor Report 91 sample Code for Font File Format 92 Algorithms to Calculate the CRC rnnnnnnnnnnnnnO 93 Algorithm 1 C Table Implementation 93 Algorithm 2 C Bit Shift Implementation 94 Algorithm 2B C Improved Bit Shift Implementation 95 Algorithm 3 PIC Assembly Bit Shift Implementation 95 Algorithm 4 Visual Basic Table Implementation 97 Algorithm 5 Java Table Implementation 99 Algorithm 6 Perl Table Implementation 100 Algorithm 7 For PIC18F8722 or PIC18F2685 101 APPENDIX C VIBRATION TEST REPORT 104 FIGURES Figure 1 CFA RS232 Serial Converted Board Mounted On CFA835 T Figure 2 O
4. 2 78 Handling Cautions 78 ESD Electro Static Discharge Specifications 19 Design And Mounting 19 Avoid Shock Impact Torque Or Tension 80 Caution 80 How To Clean 80 Operation 81 Storage And Recycling 81 APPENDIX A QUALITY ASSURANCE STANDARDS 82 APPENDIX B FREE DEMONSTRATION AND OTHER SOFTWARE 86 CFA835 Utilities 86 CFA835 Font Editor 86 CFA835 Video Encoder 87 CFA835 Graphic Test 88 Demonstration Software 88 Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 4 LY CONTENTS CONTINUED cfTest
5. 47 j o Special Character Bitmaps 47 1 OxOB Display Cursor Position 48 2 OxOC Cursor Style 48 3 OxOD Contrast 49 4 0x0E Display And Keypad Backlights 49 a Keypad Reporting 50 4 0x18 Read Keypad Polled Mode 51 A ATX Functionality 51 seth D Watchdog 53 1 Ox1F Write Text To The Display 53 an Read Text From The Display 54 oe near Interface Options 54 4 0x22 GPIO Pin Levels 55 nd na Interface Bridge 57 37 0x25 CFA FBSCAB 58 Subcommand 0 Read CFA FBSCAB Information 59 Subcommand 1 Fan Settings 60 Subcommand 2 Read Fan Tachometers 61 Subcommand 3
6. Eyes look down 7 7 P xN S a S Eyes look up 4 6 00 O Clock 12 00 O Clock Bottom Viewing Angle Top Viewing Angle Figure 14 Definition Of 6 00 O Clock And 12 00 O Clock Viewing Angles Definition Of Vertical And Horizontal Viewing Angles CR gt 2 Vertical Horizontal Figure 15 Definition Of Horizontal And Vertical Viewing Angles CR gt 2 N Crystalfontz Data Sheet Release 2014 10 13 t wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 34 LED BACKLIGHT INFORMATION Backlight control is by DAC Digital to Analog Converter controlling the constant current LED driver The display and keypad backlights are independently controlled Note For display modules with white backlights CFA835 TML and CFA835 TFK a we recommend that the backlight be dimmed or turned off during periods of inactivity to conserve the LEDs lifetime CONNECTION INFORMATION LOCATION OF CONNECTORS The CFA835 has three connectors on the back of the PCB H1 USB and FBSCAB The H1 connector can be used for logic level serial interface and GPIO ATX functionality For full swing RS232 serial interface the optional CFA RS232 Serial Converter Board is mounted on H1 H1 connector for logic level serial interface OR mount optional CFA RS232 serial converter board for full swing RS232 serial interface
7. Get the next byte in the stream data bufptr Push this byte s bits through a software implementation of a hardware shift amp xor for bit count 0 bit count lt 7 bit count Shift the CRC accumulator newCRC gt gt 1 The new MSB of the CRC accumulator comes from the LSB of the current data byte if data amp 0x01 newCRC 0x00800000 I the low bit of the current CRC accumulator was set before the shift then we need to XOR the accumulator with the polynomial center 16 bits of 0x00840800 if newCRC amp 0x00000080 vo Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 N Page 95 newCRC 0x00840800 Shift the data byte to put the next bit of the stream into position 0 data gt gt 1 All the data has been done Do 16 more bits of 0 data for bit count 0 bit count lt 15 bit count Shift the CRC accumulator newCRC gt gt 1 I the low bit of the current CRC accumulator was set before the shift we need to XOR the accumulator with 0x00840800 if newCRC amp 0x00000080 newCRC 0x00840800 Return the center 16 bits making this CRC match the one s complement that is sent in the packet return newCRC gt gt 8 Algorithm 2B C Improved Bit Shift Implementation This is a simplified algorithm that implements the CRC unsigned short get crc unsigned char co
8. www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 al Crystalfontz Data Sheet Release 2014 10 13 YV Page 42 COMMAND CODES For your convenience here is a list of command code links grouped by type Below this list commands are listed numerically from 1 to 41 COMMUNICATIONS Command 0 0x00 Ping Command Pg 44 Command 1 0x01 Get Module Information Pg 44 Command 5 0x05 Restart Pg 46 includes Reload Boot Settings Pg 46 Restart Host WR PWR Y25 ATX Power Switch Cable Required Pg 46 Power Off Host WR PWR Y25 ATX Power Switch Cable Required Pg 46 CFA835 Restart Pg 46 CFA835 Restore Default Settings Pg 47 Command 28 0x1C ATX Functionality Pg 51 Command 29 0x1D Watchdog Pg 53 Command 33 0x21 Interface Options Pg 54 Command 11 0x0B Display Cursor Position Pg 48 Command 12 Ox0C Cursor Style Pg 48 Command 13 Ox0D Contrast Pg 49 Command 14 Ox0E Display And Keypad Backlights Pg 49 Command 31 0x1F Write Text To The Display Pg 53 Command 32 0x20 Read Text From The Display Pg 54 Command 38 0x26 Custom Fonts Pg 66 includes Subcommand 0 Load Custom Font Files From MicroSD Card Pg 66 Subcommand 1 Print Custom Font To Display Pg 66 Command 40 0x32 Display Graphic Options Pg 69 includes Subcommand 0 Graphic Options Pg 69 Subcommand 1 Buffer Flush Pg 69 Subcommand 2 Send Image Dat
9. 10 0 2 1 00 s D k 100m 5 00 10 0 100 500 Hz Y axis MIL STD 810F Figure 514C 18 Sine 10 0 1 00 D k 100m 5 00 10 100 Hz O X axis MIL STD 810F Figure 514C 18 Sine Page 7 of 7 Test Report Number CRYSTALFONTZ002
10. data length 4 data 0 5 Set Read GPIO Pin Configuration amp Value data 1 FBSCAB module index data 2 index of GPIO to modify 0 GPIO O J8 Pin 7 1 GPIO 1 J8 Pin 6 2 GPIO 2 J8 Pin 5 3 GPIO 3 J8 Pin 4 4 GPIO 4 J9 Pin 2 DOW I O always has 1K hardware pull up data 3 pin output state behavior depends on drive mode 0 output set to low 1 99 output duty cycle percentage 100Hz nominal 100 output set to high 101 255 invalid Response Packet Set Pin Value type 0x40 0x25 0x65 101 data length 0 N Crystalfontz Data Sheet Release 2014 10 13 Y Command Packet Set Pin Value amp Configuration data length 5 data 0 5 Set Read GPIO Pin Configuration amp Value data 1 FBSCAB module index data 2 index of GPIO to modify 0 GPIO 0 J8 pin 7 1 GPIO 1 J8 pin 6 2 GPIO 2 J8 pin 5 3 GPIO 3 J8 pin 4 4 GPIO 4 J9 pin 2 DOW I O always has 1K hardware pull up data 3 pin output state behavior depends on drive mode 0 output set to low 1 99 output duty cycle percentage 100Hz nominal 100 output set to high 101 255 invalid data 4 pin function select and drive mode FDDD pH DDD drive mode based on output state of 1 or 0 000 l strong drive up O resistive pull down 001 l strong drive up O strong drive down 010 hi Z use for input 011 l resistive pull up O strong drive down 100 1l strong dri
11. ir www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 81 OPERATION Your circuit should be designed to protect the display module from ESD and power supply transients Observe the operating temperature limitations a minimum of 20 C to a maximum of 70 C noncondensing with minimal fluctuation Operation outside of these limits may shorten life and or harm display module m At lower temperatures of this range response time is delayed E At higher temperatures of this range display becomes dark You may need to adjust the contrast Operate away from dust moisture and direct sunlight For displays with white LED backlights CFA835 TFK and CFA835 TML adjust backlight brightness so the display is readable but not too bright Dim or turn off the backlight during periods of inactivity to conserve the white LED backlight lifetime STORAGE AND RECYCLING Store in an ESD approved container away from dust moisture and direct sunlight with humidity less than 90 noncondensing Observe the storage temperature limitations a minimum of 30 C minimum to 80 C non condensing maximum with minimal fluctuations Rapid temperature changes can cause moisture to form resulting in permanent damage Do not allow weight to be placed on the display modules while they are in storage Please recycle your outdated Crystalfontz display modules at an approved facility N Crystalfontz Data Sheet
12. 69 Subcommand 1 Buffer Flush 69 Subcommand 2 Send Image Data To Display From Host 69 Subcommand 3 Display Image File From MicroSD Card On CFA835 70 Subcommand 4 Save Screenshot to MicroSD File 71 Subcommand 5 Pixel Data 71 Subcommand 6 Draw a Line 72 Subcommand 7 Draw a Rectangle 72 Subcommand 8 Draw a Circle 73 41 Ox3A Video Playback Control 73 Subcommand 0 Load A Video From MicroSD Card 73 Subcommand 1 Video Control 73 Report Codes 74 128 Ox80 Key Activity 74 192 OxCO Extended Error Reporting 75 CHARACTER GENERATOR ROM CGROM FOR STANDARD SET OF CHARACTERS 76 DISPLAY MODULE RELIABILITY AND LONGEVITY 77 Display Module Reliability 77 Display Module Longevity EOL Replacement Policy T1 CARE AND HANDLING PRECAUTIONS
13. Algorithm 1 C Table Implementation This algorithm is typically used on the host computer where code space is not an issue This code is from the IRDA LAP documentation which appears to have been copied from PPP http irda affiniscape com associations 2494 files Specifications IrLAP11 Plus Er rata zip I doubt that there are any worries about the legality of this code searching for the first line of the table below it appears that the code is already included in the linux 2 6 kernel Driver for ST5481 USB ISDN modem This is an industry standard algorithm and I do not think there are ANY issues with it at all typedef unsigned char ubyte typedef unsigned short word word get crc ubyte bufptr word len CRC lookup table to avoid bit shifting loops static const word crcLookupTable 256 0x00000 0x01189 0x02312 0x0329B 0x04624 0x057AD 0x06536 0x074BF 0x08C48 0x09DC1 Ox0OAF5A 0OxO0BED3 OXO0CA6C OXODBE5 Ox0E97E 0x0F8F7 0x01081 0x00108 0x03393 0x0221A 0x056A5 0x0472C 0x075B7 0x0643E 0x09CC9 0x08D40 OXOBFDB 0x0AE52 Ox0DAED 0x0CB64 Ox0OF9FF 0x0E876 0x02102 0x0308B 0x00210 0x01399 0x06726 0x076AF 0x04434 0x055BD Ox0AD4A 0x0BCC3 0x08E58 0x09FD1 OXOEB6E 0OxOFAE7 0x0C87C 0x0D9F5 0x03183 0x0200A 0x01291 0x00318 0x077A7 0x0662E 0x054B5 0x0453C OxO0BDCB 0x0AC42 0x09ED9 Ox08F50 OXOFBEF OxO0EA66 0x0D8FD 0x0C974 0x04204 0x0538D 0x06116 0x0709F 0x00420 0x015A9 0x02732 0
14. Micro B USB connector ovr Crystalfontz America Inc fi cee Dial Hra EE Wat 4 i iE This cutout p BEN i makes USB connection easier co a s u Q a giii FHE ee ele anes at G oa 9 R14 z iie oy nroa FBSCAB connector for optional CFA FBSCAB FB System Cooling Accessory Board Figure 16 Location Of CFA835 Connectors The PCB pads labeled BOOT and the EXPANSION pads are reserved for factory testing and programming N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 he Page 35 H1 CONNECTOR DETAILS H1 Pin Assignments LCD Tx Host Rx LCD Rx Host Tx Reserved Make no connection Reserved Make no connection Reserved Make no connection Reserved Make no connection Reserved Make no connection Reserved Make no connection GPIO3 ATX Host Reset Control GPIO2 ATX Host Power Control GPIO1 ATX Host Power Sense GPIOO Reserved Make no connection GPIO4 5v Ground Figure 17 Pin Assignments on CFA835 s H1 Connector Includes GPIOs Make Your Own H1 Cable The following parts may be used to make your own cable to connect to the CFA835 s H1 connector 16 position housing Hirose DF11 16DS 2C Digi Key H2025 ND Crimping contact tape amp reel Hirose DF11 2428SCF Digi Key H1504TR ND Crimping contact loose Hirose DF11 2428SC Digi Key H1504 ND
15. data length 6 data 0 1 Set Read FBSCAB Fan Settings data 1 FBSCAB module index data 2 power level for FAN 1 0 100 valid data 3 power level for FAN 2 0 100 valid data 4 power level for FAN 3 0 100 valid data 5 power level for FAN 4 0 100 valid Response Packet Set Fan Power type 0x40 0x25 0x65 1011 data length 1 data 0 1 Set Read FBSCAB Fan Settings Command Packet Set Fan Power and Fail Safe data length 8 data 0 1 Set Read FBSCAB Fan Settings data 1 FBSCAB module index data 2 power level for FAN 1 0 100 valid data 3 power level for FAN 2 0 100 valid data 4 power level for FAN 3 0 100 valid data 5 power level for FAN 4 0 100 valid data 6 fail safe enabled for these fans bitmask data 7 fan power update must happen within this many 1 8 second periods Response Packet Set Fan Power and Fail Safe type 0x40 0x25 0x65 1011 data length 1 data 0 1 Set Read FBSCAB Fan Settings N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 61 Command Packet Set Fan Power Fail Safe and Glitch data length 12 data 0 1 Set Read FBSCAB Fan Settings data 1 FBSCAB module index data 2 power level for FAN 1 0 100 valid data 3 power level for FAN 2 0 100 valid data 4 power level for FAN 3 0 100 valid data 5 power level for FAN 4 0 100 valid
16. rie Oc Lae B oe KE a Figure 2 Optional CFA FBSCAB Connected To CFA835 With WR EXT Y37 Extension Cable To use all of the command set described in command 37 0x25 CFA FBSCAB Pg 58 at least one optional CFA FBSCAB is required Add up to 32 CFA FBSCABs to your CFA835 order using the Customize and Add to Cart feature on our website If you add optional CFA FBSCABs you will be prompted to add one WR EXT Y37 extension cable to your order A CFA835 one CFA FBSCAB allows Easy control of up to four fans with tachometer speed monitoring and variable PWM control per CFA FBSCAB Fail safe fan power settings allows your host to safely control the fans based on temperature Buy one 3 pin fan extension cable WWR FAN X01 to connect each fan Add up to 16 Crystalfontz WWR DOW Y17 temperature sensor cables that have Maxim DS18B20 Programmable Resolution 1 Wire temperature sensors The DS18B20 has an operating temperature range of 55 C to 125 C and is accurate to 0 5 C over the range of 10 C to 85 C N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 11 Up to 32 CFA FBSCABs can be connected to each other daisy chained Daisy chain means several devices connected in a linear series Maximum configuration will allow 128 fans and 512 temperature sensors Figure 3 aie Of Optional CFA FBSCABs Daisy Chained with WR E
17. 0 To packet data length 3 MSComm Output Chr linear array Index Next Index End Sub Algorithm 5 Java Table Implementation This code was posted in our forum by user norm as a working example of a Java CRC calculation public class CRC16 extends Object public static void main String args byte data new byte 2 hw fw data 0 0x01 data 1 0x00 System out println hw fw req System out println Integer toHexString compute data ping data 0 0x00 data 1 0x00 System out println ping System out println Integer toHexString compute data reboot data 0 0x05 data 1 0x00 System out printlin reboot System out println Integer toHexString compute data clear lcd data 0 0x06 data 1 0x00 System out println clear lcd System out println Integer toHexString compute data set line 1 data new byte 18 data 0 0x07 data 1 0x10 String text Test Test Test byte textByte text getBytes for int i 0 i lt text length i data i 2 textByte il System out println text 1 System out println Integer toHexString compute data private CRC16 private static final int crcLookupTable 0x00000 0x01189 0x02312 0x0329B 0x04624 0x057AD 0x06536 0x074BF 0x08C48 0x09DC1 0x0AF5A 0X0BED3 OXOCA6C OXODBES Ox0E97E OxOF8F7 0x01081 0x00108 0x03393 0x0221A 0x056A5
18. A a Crystalfontz INTELLIGENT LCD MODULE SPECIFICATIONS Data Sheet Release 2014 10 13 for CFA835 TFK CFA835 TML CFA835 YYK Hardware Revision 1 0 Firmware Revision 0 6 Crystalfontz America Incorporated 12412 East Saltese Avenue Spokane Valley WA 99216 0357 Phone 888 206 9720 Fax 509 892 1203 Email support crystalfontz com URL www crystalfontz com vo Crystalfontz Data Sheet Release 2014 10 13 ir www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 1 CONTENTS FORWARD 2 22 ttt ee eee eee eee 5 Revision Information 5 Notices 5 COLOR AND INTERFACE CHOICES 7 Interface Choices T Color Choices 8 FEATURES LIST 2 2 2222 ener ee eee ee eee eens 8 ADDITIONAL FEATURES WHEN USED WITH OPTIONAL CFA FBSCABS 10 CABLES FOR CFA835 2 2 2 eee ee eee eee eee eee eee eee 13 Cables For USB Interface 13 Cables For Full Swing RS232 Interface Using CFA RS232 Serial Converter Board 14 Cable For ATX Functionality
19. _ with pixels dark 2Response Time The amount of time it takes a liquid crystal cell to go from active to inactive or back again 3For reference only Viewing Direction 12 o clock N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 30 Blue And CFA835 YYK Dark On Yellow Green Deg 8 90 Deg 9 270 Viewing Angle 12 o clock CR gt 2 BRDN Deg 8 0 3 a eleje a HEHH B Deg 9 180 0 fam LCD Response Time Ta 25 C Contrast Ratio brightness with pixels light brightness with pixels dark 2Response Time The amount of time it takes a liquid crystal cell to go from active to inactive or back again 3For reference only Viewing Direction 12 o clock OPTICAL CHARACTERISTICS TEST CONDITIONS AND DEFINITIONS We work to continuously improve our products including backlights that are brighter and last longer Slight color variations from display module to display module and batch to batch are normal Viewing Angle Vertical V 0 m Horizontal H 0 Frame Frequency 78 Hz Driving Waveform 1 160 Duty 1 13 Bias Ambient Temperature Ta 25 C Data Sheet Release 2014 10 13 ax Crystalfontz CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 31 ir www crystalfontz com UY Definition Of Optimal Contrast Setting Li CFA835 TML
20. data 0 bitmask showing the keys currently pressed data 1 bitmask showing the keys that have been pressed since the last poll data 2 bitmask showing the keys that have been released since the last poll 28 0x1C ATX Functionality The combination of the CFA835 with ATX can be used to replace the function of the power and restart switches in a standard AT X compatible system Note The GPIO pins used for ATX control must not be configured as user GPIO The pins must be configured to their default drive mode in order for the ATX functions to work correctly Please read ATX Power Supply Power And Control Connections Pg 37 followed by How to Set ATX Functionality Using cfTest Pg 38 The RESTART GPIO 38 and POWER CONTROL GPIO 2 lines on the CFA835 with ATX are normally high impedance Electrically they appear to be disconnected or floating When the CFA835 with ATX asserts the RESTART or POWER CONTROL lines they are momentarily driven high or low as determined by the RESTART_INVERT and POWER_INVERT bits detailed below To end the power or restart pulse the CFA835 with ATX changes the lines back to high impedance This command can also be used to read the current ATX power switch function settings FOUR FUNCTIONS ENABLED BY COMMAND 28 Function 1 KEYPAD_RESTART If POWER ON SENSE GPIO 1 is high holding the green check key for 4 seconds will pulse RESTART GPIO 3 pin for 1 second During the 1 second pulse t
21. data 0 is the type of keyboard activity KEY UP PRESS KEY DOWN PRESS KEY LEFT PRESS KEY RIGHT PRESS KEY ENTER PRESS KEY EXIT PRESS KEY UP RELEASE KEY DOWN RELEASE KEY LEFT RELEASE KEY RIGHT RELEASE KEY ENTER RELEASE FOW ON HU PWN FE PH N Crystalfontz Data Sheet Release 2014 10 13 y wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 U Page 75 192 0xC0 Extended Error Reporting If enabled by command 33 0x21 Interface Options Pg 54 error packets have the format type 0xC0 data length 2 data 0 originating command interface data 1 ID of extended error information Errors are ea Description z vino Command s a conantem wiro rennene s Resano renent p Feso Oat FepyToREG 10 MicroSD File Could Not Be Found Opened 11 MicroSD Unknown Error 12 MicroSD File Could Not Be Read 13 MicroSD File Could Not Be Written 14 File Header Is Invalid Data Sheet Release 2014 10 13 Ili LCD Modules Hardware v1 0 Firmware v0 6 Page 76 Pe Crystalfontz a www lfontz com UY CHARACTER GENERATOR ROM CGROM FOR STANDARD SET OF CHARACTERS e the superscript 9 is nth you send a e with the value o 4 Pais a piera pear mie d 0001 EGE E Det E ES E a O e ER aes a een Cea ee CGRAM y d 1000 d 1001 a BoMe208 OAHe 2E a N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0
22. type 0x03 340 data length 1 data 0 number of bytes of data to be returned 1 to 124 Response Packet type 0x40 0x03 0x43 6714 data length number of bytes specified in command data user data recalled from the CFA835 s flash memory 4 0x04 Store Current State As Boot State The CFA835 loads its power up configuration from nonvolatile memory when power is applied The CFA835 is configured at the factory to display a bootscreen when power is applied This command can be used to customize the bootscreen as well as the following items Characters shown on display which are affected by Command 6 0x06 Clear Display Pg 47 Command 31 0x1F Write Text To The Display Pg 53 Command 38 Subcommand 1 Print Custom Font To Display Pg 66 Command 9 0x09 Special Character Bitmaps Pg 47 Command 11 0x0B Display Cursor Position Pg 48 Command 12 0x0C Cursor Style Pg 48 Command 13 0x0D Contrast Pg 49 Command 14 0x0E Display And Keypad Backlights Pg 49 Command 23 0x17 Keypad Reporting Pg 50 Command 28 0x1C ATX Functionality Pg 51 Command 33 0x21 Interface Options Pg 54 Command 34 0x22 GPIO Pin Levels Pg 55 Command 37 0x25 CFA FBSCAB Pg 58 All FBSCAB settings are also saved but are saved in the nonvolatile memory on the CFA FBSCAB module itself Watchdog settings cannot be saved The host software should enable these items once the sys
23. 0x0472C 0x075B7 0x0643E 0x09CC9 0x08D40 OxXOBFDB 0x0AE52 OxODAED 0x0CB64 OxOF9FF 0x0E876 0x02102 0x0308B 0x00210 0x01399 0x06726 0x076AF 0x04434 0x055BD Ox0AD4A 0x0BCC3 0Ox08E58 0x09FD1 OXOEB6E 0OxXOFAE7 0x0C87C OxOD9F5 0x03183 0x0200A 0x01291 0x00318 0x077A7 0x0662E 0x054B5 0x0453C OxOBDCB 0x0AC42 0x09EDY9 0x08F50 OXOFBEF 0Ox0EA66 0x0D8FD 0x0C974 0x04204 0x0538D 0x06116 0x0709F 0x00420 0x015A9 0x02732 0x036BB Ox0CE4C OxODFC5 OxO0ED5E 0x0FCD7 0x08868 0x099E1 0x0AB7A OxOBAF3 0x05285 0x0430C 0x07197 0x0601E 0x014A1 0x00528 0x037B3 0x0263A OxODECD 0x0CF44 OxOFDDF 0Ox0EC56 0x098E9 0x08960 Ox0BBFB 0x0AA72 0x06306 0x0728F 0x04014 0x0519D 0x02522 0x034AB 0x00630 0x017B9 OxOEF4E 0Ox0FEC7 0x0CC5C 0x0DDD5 0x0A96A 0x0B8E3 0x08A78 0x09BF1 Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 100 0x07387 0x0620E 0x05095 0x0411C 0x035A3 0x0242A 0x016B1 0x00738 OxOFFCF Ox0EE46 0x0DCDD 0x0CD54 OxO0B9EB 0x0A862 0x09AF9 0x08B70 0x08408 0x09581 0x0A71A 0x0B693 0x0C22C 0x0D3A5 Ox0E13E OxOFOB7 0x00840 0x019C9 0x02B52 Ox03ADB 0x04E64 OxO5FED 0x06D76 0x07CFF 0x09489 0x08500 0x0B79B 0x0A612 Ox0D2AD 0x0C324 Ox0OFIBF 0x0E036 0x018C1 0x00948 0x03BD3 0x02A5A 0x05EE5 0x04F6C 0x07DF7 0x06C7E Ox0A50A 0x0B483 0x08618 0x09791 0Ox0E32E 0Ox0F2A7 0x0C03C 0x0D1B5 0x02942 0x038CB 0x00A50 0x01BD9 0
24. ACCEPTANCE STANDARDS DEFECT TYPE CRITERIA 1 Electrical defects 1 No display display malfunctions or shorted segments 2 Current consumption exceeds specifications 2 Viewing area defect Viewing area does not meet specifications See Inspection Conditions Pg 82 N Crystalfontz Data Sheet Release 2014 10 13 y wwwecrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 NM Page 83 MAJOR MINOR Major rnb aciusimeni Contrast adjustment fails or malfunctions N Crystalfontz Data Sheet Release 2014 10 13 y wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 84 MAJOR MINOR o DEFECT TYPE CRITERIA Blemishes or foreign Defect Size mm Acceptable Qty Minor iq ments e lt 2 defects within 10 mm of each other Other blemishes or for eign matter outside of display segments Defect Si A table Qt Defect size A B 2 AA Width Dark lines or scratches Defect Width mm Defect Length mm Acceptable Qty in display area Minor ee w Bubbles between polarizer film and glass Defect Size mm Acceptable Qty so o D Display pattern defect Acceptable Qty Minor Dot Size mm A B 2 lt 0 2 D E 2 lt 0 25 lt 3 total defects lt 2 pinholes per digit F G 2 lt 0 25 N Crystalfontz Data Shee
25. CAUTION All electronics may contain harmful substances Avoid contamination by using care to avoid damage during handling If any residues gases powders liquids or broken fragments come in contact with your skin eyes mouth or lungs immediately contact your local poison control or emergency medical center HOW TO CLEAN 1 2 gt Turn display module off Use the removable protective film to remove smudges for example fingerprints and any foreign matter If you no longer have the protective film use standard transparent office tape for example Scotch brand Crystal Clear Tape If the polarizer is dusty you may carefully blow it off with clean dry oil free compressed air If you must clean with a liquid never use glass cleaners as they may contain ammonia or alcohol that will damage the polarizer over time Never apply liquids directly on the polarizer Long contact with moisture may permanently spot or stain the polarizer Use filtered water to slightly moisten a clean lint free microfiber cloth designed for cleaning optics For example use a cloth sold for cleaning plastic eyeglasses The plastic is easily scratched or damaged Use a light touch as you clean the polarizer Wipe gently Use a dry microfiber cloth to remove any trace of moisture before turning on the display module Gently wash the microfiber cloths in warm soapy water and air dry before reuse io Crystalfontz Data Sheet Release 2014 10 13
26. Firmware v0 6 Y Page 77 DISPLAY MODULE RELIABILITY AND LONGEVITY We work to continuously improve our products including backlights that are brighter and last longer Slight color variations from display module to display module and batch to batch are normal DISPLAY MODULE RELIABILITY ITEM RELIABILITY SPECIFICATION Display portion excluding keypad status LEDs and backlights 50 000 to 100 000 hours Keypad 1 000 000 keystrokes Bicolor LED status lights 50 000 to 100 000 hours l l of Initial Brightness New Module a CFA835 TFK white LED display GE E backlight and white LED keypad 10 000 hours 3 backlight l l of Initial Brightness New Module 2 CFA835 TML white LED display backlight CFA835 YYK yellow green LED display backlight and yellow green 50 000 to 100 000 hours LED keypad backlight Note For display modules with white LED backlights CFA835 TFK and CFA835 TML adjust backlight brightness so the display is readable but not too bright Dim or turn off the backlight during periods of inactivity to conserve the white LED backlight lifetime Note Values listed above are approximate and represent typical lifetime under operating and storage temperature specification limitations humidity noncondensing RH up to 65 and no exposure to direct sunlight DISPLAY MODULE LONGEVITY EOL REPLACEMENT POLICY Crystalfontz is committed to making all of our display modules available for as long as
27. Trays were made to immobilize the display modules inside their packing carton Trays are not designed to be rigid Do not carry trays by their edges trays and display modules may be damaged Crystalfontz Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 79 a Avoid Damaging Flat Flex Cable To avoid damaging the CFA835 do not press on the FFC Flat Flex Cable which is under the label Place your fingers on either side of the label pas PA ape EA LCD EORR e Bent FFC Flat Flex Cable is under the label If you press here you may damage the connection The circuitry is industry standard CMOS logic and is susceptible to ESD damage Please use industry standard antistatic precautions as you would for any other static sensitive devices such as expansion cards motherboards or integrated circuits Ground your body work surfaces and equipment N I gi 7O N i J J A wm L j tae a S N p y g T a H a WF E w A a i Wi ww w When handling the CFA835 use care so as to not press on the exposed FFC with excess force See LY Y Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 80 The exposed surface of the display glass is actually a polarizer laminated on top of the glass To protect the polarizer from damage the display module ships with
28. bit4 CFA835 will transmit bit5 CFA835 will transmit Command Packet Read type 0x21 3310 data length 1 data 0 interface 0 serial 1 USB Response Packet Read type 0x40 0x21 0x61 SERIAL INTERFACE data length 3 data 0 0 serial data 1 option flags data 2 baud rate USB INTERFACE data length 2 data 0 1 USB data 1 option flags Command Packet Write type 0x21 3340 data length 2 or 3 data 0 interface 0 serial 1 USB data 1 option flags Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 enabled Page 55 the following options are only available if the report packets on this interface reports 128 errors from commands received on this interface errors from commands received on either interface extended error information 9710 If data 0 interface iSO serial data length 3 data 2 baud rate If data 0 interface iS 1 USB data length 2 No extra options Response Packet Write type 0x40 0x21 0x61 data length 0 34 0x22 GPIO Pin Levels The CFA835 has five pins for user definable general purpose input output GPIO These pins are shared with the ATX functions Be careful when you configure the GPIO if you want to use the ATX at the same time The architecture of the CFA835 allows great flexibility in the configuration of the GPIO pins They can be set as input or output T
29. data 6 fail safe enabled for these fans bitmask data 7 fan power update must happen within this many 1 8 second periods data 8 glitch delay for FAN 1 1 100 valid data 9 glitch delay for FAN 2 1 100 valid data 10 glitch delay for FAN 3 1 100 valid data 11 glitch delay for FAN 4 1 100 valid Response Packet Set Fan Power Fail Safe and Glitch type 0x40 0x25 0x65 101 data length 1 data 0 1 Set Read FBSCAB Fan Settings Command Packet Read Fan Settings data length 2 data 0 1 Set Read FBSCAB Fan Settings data 1 FBSCAB module index Response Packet Read Fan Settings type 0x40 0x25 0x65 101 data length 12 data 0 1 Set Read FBSCAB Fan Settings data 1 FBSCAB module index data 2 power level for FAN 1 data 3 power level for FAN 2 data 4 power level for FAN 3 data 5 power level for FAN 4 data 6 fail safe enabled for these fans bitmask data 7 fan power update 1 8 second periods data 8 glitch delay for FAN 1 data 9 glitch delay for FAN 2 data 10 glitch delay for FAN 3 data 11 glitch delay for FAN 4 Subcommand 2 Read Fan Tachometers This command will read the last fan tachometer s information from the specified CFA FBSCAB module Note This command must be executed every 60 seconds or less to read fan speed information from a CFA FBSCAB module If the command is not re executed within 60 seconds fan speed readings will be disabled by the CFA8
30. data length 11 data 0 3 read DOW device information data 1 FBSCAB module index data 2 DOW device index data 3 10 DOW ROM ID Subcommand 4 Read WR DOW Y17 Temperature This command will return the temperature of the specified DOW device on the specified CFA FBSCAB module The specified DOW device must be of type 0x22 or 0x28 WR DOW Y17 with temperature sensor as read by command 37 Subcommand 3 Read DOW Device Information Pg 62 Temperature Data MSB LSB Return Format cc ss S ttt tttt tttt I JJ J 11 bit temperature value in degrees C 16 Sign extension 2 s complement DOW CRC status 00 means CRC was checked and passed 01 means CRC was checked and failed 10 means no sensor detected in this slot 11 means valid sensor but no data yet Command Packet data length 3 data 0 4 read WR DOW Y17 temperature data 1 FBSCAB module index data 2 DOW device index 0 15 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 63 Response Packet type 0x40 0x25 0x65 1011 data length 5 data 0 4 read WR DOW Y17 temperature data 1 FBSCAB module index data 2 DOW device index 0 15 data 3 LSB of temperature data data 4 MSB of temperature data Subcommand 5 GPIO Pin Levels The architecture of the CFA FBSCABs allows great flexibi
31. gt Selected Wave 100 Non selected Wave a CR L L L Luminance of ON segments ene ae L s Luminance of OFF segments Optimal Contrast Setting Figure 10 Definition Of Optimal Contrast Setting Negative Image as CFA835 TFK ac and CFA835 YYK s a D Cc 2 c Selected Wave 100 Non selected Wave ii Ga CR L L L Luminance of ON segments sedate re L s Luminance of OFF segments Optimal Contrast Setting Figure 11 Definition Of Optimal Contrast Setting Positive Image io Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 32 Definition Of Response Time Tr Tf IA CFA835 TML Unselected Selected Unselected State State State l i l Light Transmitted 4 100 Intensity Light Blocked Tr Rise Time Tf Fall Time Figure 12 Definition Of Response Time Tr Tf Negative Image AA CFA835 TFK IG and CFA835 YYK s Unselected Selected Unselected State State State Light Transmitted 100 Intensity Tr Rise Time Tf Fall Time Figure 13 Definition Of Response Time Tr Tf Positive Image N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 33 Definition Of 6 O Clock And 12 00 O Clock Viewing Angles The CFA835 has a 12 o clock viewing angle
32. type 0x20 3210 data length 3 data 0 column position x 0 to 19 data 1 row position y 0 to 3 data 2 length of text to read in characters 1 20 Response Packet type 0x40 0x20 0x60 9610 data length 1 to 20 data read text 33 0x21 Interface Options The CFA835 has a logic level serial interface located on pins 1 Tx and 2 Rx of the H1 connector For full swing RS232 using the optional CFA RS232 Serial Converter Board the H1 pins are passed through to the CFA RS232 s J1 connector After sending this command the host should wait for a positive acknowledgment from the CFA835 at the old baud rate The host can then begin communicating at the new baud rate The baud rate must be saved by command 4 0x04 Store Current State As Boot State Pg 45 if you want the CFA835 to power up restart using the new baud rate The factory default baud rate is 115200 This command is also used to read the current interface options Baud Rate 0 19200 1 115200 2 9600 Option Flags bitO enable interface note USB interface cannot be fully disabled bitl command interpreter enabled note CFA835 will accept packets on this interface interface must be enabled for interpreter on an interface to be enabled normal reply packets are only sent Pe Crystalfontz www crystalfontz com Y to the originating interface interpreter is bit2 CFA835 will transmit bit3 CFA835 will transmit
33. 0x1D 0x5D 9340 data length 1 data 0 watchdog timeout in seconds 0 disabled Command Packet Write data length 1 data 0 enable counter 0 watchdog is disabled 1 255 timeout in seconds Response Packet Write type 0x40 0x1D 0x5D 9340 data length 0 31 0x1F Write Text To The Display This command allows text and special characters to be placed at any position on the display The text is displayed in the default font unless overridden by command 38 Subcommand 0 Load Custom Font Files From MicroSD Card Pg 66 See default font standard set of characters at CHARACTER GENERATOR ROM CGROM FOR STANDARD SET OF CHARACTERS Pg 76 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 54 Command Packet data length 3 to 22 data 0 column position x 0 to 19 data 1 row position y 0 to 3 data 2 21 text to place on the display variable from 1 to 20 characters Response Packet type 0x40 Ox1F 0x5F 95 data length 0 32 0x20 Read Text From The Display This command allows the host to read back text that is displayed on the CFA835 Note This command will only read text displayed by command 31 0x1F Write Text To The Display Pg 53 It cannot be used to read text written by custom font command 38 Subcommand 0 Load Custom Font Files From MicroSD Card Pg 66 Command Packet
34. 40 Subcommand 1 Buffer Flush Pg 69 is executed Command Packet data length 6 data 0 6 Draw a Line data 1 x pixel location to start data 2 y pixel location to start data 3 x pixel location to finish data 4 y pixel location to finish data 5 line shade value Response Packet type 0x40 0x28 0x68 10410 data length 1 data 0 6 Draw a Line Subcommand 7 Draw a Rectangle This command draws a rectangle to the CFA835 s display Note If manual buffer flush is enabled see command 40 Subcommand 0 Graphic Options Pg 69 the rectangle will not be displayed onto the CFA835 until command 40 Subcommand 1 Buffer Flush Pg 69 is executed Command Packet type 0x28 4010 data length 7 data 0 7 Draw a Rectangle data 1 x pixel location top left data 2 y pixel location top left data 3 rectangle width data 4 rectangle height data 5 line shade data 6 fill shade 0 is transparent Response Packet type 0x40 0x28 0x68 10410 data length 1 data 0 7 Draw a Rectangle N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 73 Subcommand 8 Draw a Circle This command draws a circle of the specified radius using the specified x y pair as its center point Note If manual buffer flush is enabled see command 40 Subcommand 0 Graphic Options Pg 69 the ci
35. Index As Integer Dim newCrc As WORD newCrc Lo amp HFF newCrec Hi amp HFF For Index 0 To length 1 exclusive or the input byte with the low order byte of the CRC register to get an index into crcLookupTable Table Index newCrc Lo Xor data Index shift the CRC register eight bits to the right newCrc Lo newCrc Hi newCrc Hi 0 exclusive or the CRC register with the contents of Table at Table Index newCre Lo newCrc Lo Xor crcLookupTable Table Index Lo newCrc Hi newCre Hi Xor crcLookupTable Table Index Hi Next Index Invert amp return newCrc Get Crce Lo newCrce Lo Xor amp HFF Get Crc Hi newCrc Hi Xor amp HFF End Function Private Sub Send Packet ByRef packet As PACKET STRUCT Dim Index As Integer Need to put the whole packet into a linear array since you can t do type overrides VB gotta love it Dim linear array 26 As Byte linear array 0 packet command linear array 1 packet data length For Index 0 To packet data length 1 linear array Index 2 packet data Index Next Index packet cre Get Crc linear array packet data length 2 Might as well move the CRC into the linear array too linear array packet data length 2 packet crc Lo linear array packet data length 3 packet crc Hi Now a simple loop can dump it out the port vo Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 99 For Index
36. Pre terminated interconnect wire Hirose Digi Key H3BBT 10112 B4 ND is typical N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 A Page 36 STANDARD 5V POWER SUPPLY AND DATA COMMUNICATIONS THROUGH USB By using the micro USB 5 pin F B type connector the CFA835 requires only one connection to the host for both data communications and power supply 2012 Crystalfontz America inc a nu Figure 18 Micro B USB Connection Pin Details The micro B USB connector and the cutout in the PCB keeps the CFA835 profile as thin as possible You can connect the CFA835 to one host using a USB interface while at the same time using a serial interface to a second host Note Keep the micro B USB cable connector parallel to the CFA835 when plugging or unplugging the cable Do not lift or pull up on the cable Too much pressure may permanently damage micro B USB connector JP10 on the CFA835 is closed by factory default If you are going to use USB interface while supplying power through H1 you must open JP10 to prevent back powering the USB Open JP10 for USB N Crystalfontz Data Sheet Release 2014 10 13 y wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 U Page 37 ATX POWER SUPPLY POWER AND CONTROL CONNECTIONS ATX power supply control functionality allows the buttons on the CFA835 to replac
37. Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 82 APPENDIX A QUALITY ASSURANCE STANDARDS INSPECTION CONDITIONS Environment m Temperature 25 5 C E Humidity 30 85 RH For visual inspection of active display area E Source lighting two 20 Watt or one 40 Watt fluorescent light m Display adjusted for best contrast E Viewing distance 30 5 cm about 12 inches m Viewable angle inspect at 45 angle of vertical line right and left top and bottom Viewing Angle COLOR DEFINITIONS We try to describe the appearance of our modules as accurately as possible For the photos we adjust for optimal appearance Actual display appearance may vary due to 1 different operating conditions 2 small variations of component tolerances 3 inaccuracies of our camera 4 color interpretation of the photos on your monitor and or 5 personal differences in the perception of color DEFINITION OF ACTIVE AREA AND VIEWING AREA 82 95 Viewing Area 77 95 Active Area 27 50 VA 22 35 AA ACCEPTANCE SAMPLING 1 Acceptable Quality Level maximum allowable error rate or variation from standard DEFECTS CLASSIFICATION Defects are defined as Major Defect results in failure or substantially reduces usability of unit for its intended purpose Minor Defect deviates from standards but is not likely to reduce usability for its intended purpose
38. Some systems use hardware watchdog timers to ensure that a software or hardware failure does not result in an extended system outage Once the host system has booted a system monitor program is started The system monitor program would enable the watchdog timer on the CFA835 with ATX CFA835 WR PWR Y25 ATX power switch cable If the system monitor program fails to update the watchdog timer the CFA835 with ATX will reset the host system and then itself as if command 5 0x05 Restart Pg 46 was issued If the command is not reissued within the specified number of seconds then the CFA835 with ATX will restart the host system see command 28 0x1C ATX Functionality Pg 51 for details and restart itself as if command 5 0x05 Restart Pg 46 restart function was issued Since the watchdog is off by default when it powers up CFA835 with ATX will not issue another host restart until the host has once again enabled the watchdog To turn the watchdog off once it has been enabled set data 0 0 Note The GPIO pins used for ATX control must not be configured as user GPIO They must be configured to their default drive mode in order for the ATX functions to work correctly These settings are factory default but may be changed by the user See the note under command 28 Ox1C ATX Functionality Pg 51 or command 34 0x22 GPIO Pin Levels Pg 55 Command Packet Read data length 0 Response Packet Read type 0x40
39. White On Blue 26 CFA835 YYK Dark On Yellow Green 2 ESD Electro Static Discharge 27 Backlight And Fan Criteria 28 OPTICAL SPECIFICATIONS 29 Optical Characteristics Tables 29 CFA835 TFK Dark On Near White 29 CFA835 TML Near White On Blue And CFA835 YYK Dark On Yellow Green 30 Optical Characteristics Test Conditions And Definitions 30 LED BACKLIGHT INFORMATION 222 222 222 see eeeee 34 CONNECTION INFORMATION 22222 eee eee eee eee eee eee 34 Location Of Connectors 34 H1 Connector Details 35 H1 Pin Assignments 35 Make Your Own H1 Cable 35 LY Y CONTENTS CONTINUED Standard 5v Power Supply And Data Communications Through USB 36 ATX Power Supply Power And Control Connections 37 How to Set ATX Functionality Us
40. based modules CFA533 CFA631 CFA633 CFA635 CFA735 CFA835 are supported CrystalControl2 CC2 CrystalControl2 for Windows displays a great variety of information to a Crystalfontz Intelligent LCD Module in a configurable way We provide a User Manual and support through our forum Note CC2 does not support any of the CFA835 s graphic custom font or multiple FBSCAB capabilities Linux CLI Examples CLI Example Software is a Linux compatible command line demonstration program with C source code 8K Note It will show as dev ttyAcCMx instead of dev ttyUSBx LCDproc is an open source project that supports many of the Crystalfontz displays The CFA635 configuration should work with the CFA835 N Y SAMPLE CODE FOR RPM CALCULATION INFORMATION Crystalfontz www crystalfontz com Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 89 The following C function will decode the fan speed from a Fan Speed Report packet into RPM fan tachometer speed bool HandleFanRPMReplyPacket COMMAND PACKET packet char output uint8 t fbscab index uint8 t fan index uint8 t cycles uint8 t data offset uint8 t timer lsb uint8 t timer msb uint8 t pulses per revolution uint16 t timer ticks uint8 t output offset float fan rpm fan rpm query command reponse packet has the format of type 0x40 0x25 0x65 101 data length 14 data 0 2 read fan tachomet
41. flag set data 1 is treated as a timeout and the CFA835 will wait this long for the specified amount of data before aborting and throwing an error USB Interface Because the USB to host interface has flow control if the CFA835 s incoming USB data buffer becomes full the CFA835 will request the host not to send any more data The overflow flag will never be set Command Packet type 0x24 3610 data length 4 write data length data 0 interface data 1 delay timeout 0 no delay timeout only return data that is already in the buffer 1 to 50 time in milliseconds 10 up to a value of 500mS data 2 clear receive buffer options 0x0 do not clear Oxl clear before read Ox2 clear after read Ox3 clear before and after data 3 requested read bytes data 4 123 data to be written to specified interface Response Packet If there are less bytes available in the circular buffer than are requested a smaller amount of data may be returned as indicated by the read data length type 0x40 0x24 0x64 100 data length 2 read data length data 0 interface data 1 interface buffer status flags bit 0 buffer overflow bit 1 more data is available data 2 123 data read from interface buffer 37 0x25 CFA FBSCAB The CFA835 supports fans temperature sensors and additional GPIOs through the addition of one or more CFA FBSCABs This command group contains all of the subcommands necessary to interact with the
42. formatted SDHC microSD card up to 4 GB must be used You can also program the microcontroller by using a JTAG programmer interface Caution If you load user created firmware you will overwrite the Crystalfontz firmware Functions for the Command Codes described in this Data Sheet will not work There is no method to reinstall the supported firmware without returning the CFA835 to Crystalfontz A reprogramming charge may apply Crystalfontz has no phone or email support for user code HOST COMMUNICATIONS To quickly get up and running download our free demonstration cflest cfTest includes all the commands needed to communicate with the CFA835 display module and showcase its functionality THROUGH USB The easiest and most common way for the host software to access the USB is through the Crystalfontz virtual COM port VCP drivers A link to VCP drivers download and installation instructions can be found on the Crystalfontz website WHQL USB drivers are available under the Datasheets amp Files tab for this product Using these drivers makes it appear to the host system as if there is an additional serial port the VCP on the host system when the CFA835 is connected When communicating over USB the VCP settings are accepted for compatibility reasons The virtual COM port settings such as baud rate speed stop bits etc are ignored as the communications occur as pure USB data THROUGH SERIAL The CFA835 display modules are shipped wi
43. possible Occasionally a supplier discontinues a component or a process used to make the display module becomes obsolete or the process moves to a more modern manufacturing line In order to continue making the display module we will do our best to find an acceptable replacement part or process which will make the replacement fit form and function compatible with its predecessor We recognize that discontinuing a display module may cause problems for some customers However rapidly changing technologies component availability or low customer order levels may force us to discontinue End of Life EOL a display module For example we must occasionally discontinue a display module when a supplier discontinues a component or a manufacturing process becomes obsolete When we discontinue a display module we will do our best to find an acceptable replacement display module with the same fit form and function In most situations you will not notice a difference when comparing a fit form and function replacement display module to the discontinued display module it replaces However sometimes a change in component or process for the replacement display module results in a slight variation perhaps an improvement over the previous design N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 78 Although the replacement display module is sti
44. s H1 Connector Includes GPIOs 35 Figure 18 Micro B USB Connection Pin Details 36 Figure 19 ATX Power Supply and Control Connections Using The WR PWR Y25 Cable 38 Figure 20 Character Generator ROM CGROM 76 Figure 21 Handling Caution To Avoid Damaging Flat Flex Cable 19 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 al Crystalfontz Data Sheet Release 2014 10 13 YV Page 5 FORWARD REVISION INFORMATION Revision History For Data Sheet Data Sheet Release 2014 10 13 Data Sheet for new products CFA835 Hardware And Firmware Revisions For information about firmware and hardware revisions for the CFA835 see Part Change Notifications PCNs and Product Update Notices PUNs under the Notices tab on the website page for each CFA835 part number To ensure that the appropriate people in your organization receive notices please ask them to subscribe at www crystalfontz com news pcn php NOTICES About Variations We work continuously to improve our products Because display technologies are quickly evolving these products may have component or process changes Slight variations for example contrast color or intensity between lots are normal If you need the highest consistency whenever possible order and arrange delivery for your
45. screened legend is backlit with LEDs Fully decoded keypad any key combination is valid and unique LI Voltage regulated adjustable contrast and backlight backlight and contrast are insensitive to changes in voltage over the power supply range The default contrast value for the CFA835 will be acceptable for many applications If necessary you can adjust the contrast using command 13 OxOD Contrast Pg 49 Only a single supply is needed Wide power supply voltage range Vpp 3 3v to 5 5v is perfect for most embed ded systems Wide Temperature operating range 20 C minimum to 70 C maximum Viewing angle is 12 00 o clock DAC Digital to Analog Converter controls the constant current LED driver The front of the display has four bicolor red green LED status lights Using constant current LED driver the LEDs brightness can be set by the host software which allows smoothly adjusting the LEDs to produce other colors for example yellow and orange The CFA835 is powered by an ST Micro STM32F 103 series 32 bit ARM based microcontroller and Sitronix ST7529 driver controller LI Robust packet based communications protocol with 16 bit CRC LI Nonvolatile memory flash capability Customize the power on CFA835 settings 124 byte scratch register for storing IP netmask system serial number etc Q Five GPIOs can be used to control other devices or can be configured for optional ATX functionality LI Optional
46. standard antistatic precautions as you would for any other static sensitive devices such as expansion cards motherboards or integrated circuits Ground your body work surfaces and equipment N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 28 Y BACKLIGHT AND FAN CRITERIA BACKLIGHT AND FAN CRITERIA SPECIFICATION Luminous Intensity Through Panel CFA835 TFK 486 cd m2 CFA835 TML 467 cd m 577 cd m Backlight PWM Frequency 300 Hz nominal CFA835 YYK Fan Power Control PWM Frequency 18 Hz nominal Notes One or more optional CFA FBSCABs are required to add fans PWM is Pulse Width Modulation PWM is a way to simulate intermediate levels by switch ing a level between full on and full off PWM can be used to control the brightness of LED backlights relying on the natural averaging done by the human eye as well as for con trolling fan power N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 29 OPTICAL SPECIFICATIONS OPTICAL CHARACTERISTICS TABLES AAA Crystalfontz i CFA835 TFK Dark On Near White 06 cratis CONDITION TYPICAL MAXIMUM Deg 9 90 Deg 9 270 Viewing Angle 12 o clock Deg 0 0 Deg 9 180 van B LCD Response Time Ta 25 C T Tial C s 1Contrast Ratio brightness with pixels rt
47. very dark may be useful at cold temperatures Response Packet Write type 0x40 0x0D 0x4D 771 data length 0 14 0x0E Display And Keypad Backlights This command sets the brightness of the display and keypad backlights If two bytes are supplied the display is set to the brightness of the first byte the keypad is set to the brightness of the second byte This command can also be used to read the current brightness levels If one byte is supplied both the keypad and display backlights are set to that brightness Pe Crystalfontz www crystalfontz com YV Command Packet Read data length 0 Response Packet Read type 0x40 Ox0E Ox4E 7840 data length 2 Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 50 data 0 current display brightness 0 100 data 1 current keypad brightness 0 100 Command Packet Write data length 1 or 2 data 0 display backlight brightness 0 100 valid 0 off 1 100 variable brightness data 1 keypad backlight power 0 100 valid 0 off 1 100 variable brightness Response Packet Write type 0x40 Ox0E Ox4E 781 data length 0 23 0x17 Keypad Reporting By default the CFA835 reports any key event to the host This command allows the key events to be enabled or disabled on an individual basis This command can also be used to read the current key reporting masks Keypad Bitmask
48. without keypad Pixel Array 79 27 W x 23 78 H Active Area 77 97 W 22 38 Column Dots x Row Dots 244 x 68 5x7 Standard Character see CHARACTER GENERATOR ROM CGROM FOR STAN 3 225 W x 4 875 H m DARD SET OF CHARACTERS Pg 76 Weight including keypad and connectors 55 grams typical if CFA835 is customized with CFA RS232 Serial Converter Board 60 grams typical VIBRATION Test conditions GR 63 CORE 5 4 2 Office Vibration Alternative Test 5 100 5 Hz at 1 0 g with a sweep rate of 25 Octave minute 35 minutes per axis MIL STD 810F Figure 514C 17 Random 1 hour per axis MIL STD 810F Figure 514C 18 Sine 1 hour per axis For test details of the CFA835 s CFA 10052 PCB in CFA 735 mode see APPENDIX C Vibration Test Report Pg 104 SMOI BPIS puy UOJ4 Buimesg euljino sjnpoyy Aejdsig 9 einBi4 AN E V
49. 0 column data 1 row Command Packet Write type 0x0B 11jio data length 2 data 0 column 0 19 valid data 1 row 0 3 valid Response Packet Write type 0x40 0x0B 0x4B 75410 data length 0 12 0x0C Cursor Style This command allows you to either hide the cursor or select among four hardware generated cursor options You can also read the current cursor style using this command Cursor Styles no cursor blinking block cursor underscore cursor blinking block plus underscore inverting blinking block mH WDdDE O ion ud ut u N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 49 Command Packet Read data length 0 Response Packet Read type 0x40 0x0C 0x4C 7610 data length 1 data 0 cursor style Command Packet Write data length 1 data 0 cursor style Response Packet Write type 0x40 0x0C 0x4C 7610 data length 0 13 0x0D Contrast This command sets the contrast of the display This command can also be used to read the current display contrast Command Packet Read data length 0 Response Packet Read type 0x40 0x0D 0x4D 7710 data length 1 data 0 contrast setting 0 255 valid Command Packet Write data length 1 data 0 contrast setting 0 255 valid 0 111 very light 112 light 127 about right 168 dark 169 255
50. 0 Open Close MicroSD File Data is read from the current file pointer location The file pointer position will be incremented by the amount of data read by this command To read data from elsewhere in the file use command immediately above Subcommand 1 Position Seek first Command Packet type 0x27 3916 data length 2 data 0 2 Read File Data data 1 number of bytes to read 1 to 124 Response Packet type 0x40 0x27 0x67 1031 data length 1 to 124 length of data read from the file if data length is less than requested then the end of file has been reached data 0 2 Read File Data data 1 123 data read from the file Subcommand 3 Write File Data Writes data to the file opened by command 39 Subcommand 0 Open Close MicroSD File Data is written at the current file pointer location Command Packet type Ox2F 47 data length 2 to 124 data 0 3 Write File Data data 1 123 data to write to the file Response Packet type 0x40 0x27 0x67 10349 data length 1 data 0 3 Write File Data Subcommand 4 Delete A File This command deletes the specified file from the microSD card Command Packet type 0x27 3919 data length 2 to 124 data 0 4 Delete a File data 1 123 file name of the file located on the microSD card Response Packet type 0x40 0x27 0x67 10349 data length 1 data 0O 4 Delete a File N Crystalfontz Data Sheet Release 2014 10 13 w
51. 0x29 0x69 105 data length 1 data 0 0 Load A Video From MicroSD Card Subcommand 1 Video Control This command controls the video s opened using the supbcommand immediately above Subcommand 0 Load A Video From MicroSD Card Pg 73 Note Attempting to play a video outside of the display s graphical limits will result in an error being returned N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 74 Command Packet type 0x29 4145 data length 3 or 6 data 0 1 Video Control data 1 video slot number 0 to 3 data 2 control option 0 play 1 stop data 3 5 not required for this option 2 toggle pause data 3 5 not required for this option data 3 play video X times in loop up to 255 0x00 continuously data 4 x pixel location data 5 y pixel location Response Packet type 0x40 0x29 0x69 1054 data length 1 data 0 1 Video Control REPORT CODES The CFA835 can be configured to report information automatically when data becomes available Reports are not sent in response to a particular packet received from the host Details are below 128 0x80 Key Activity If a key is pressed or released the CFA835 sends a Key Activity report packet to the host Key event reporting may be individually enabled or disabled by command 23 0x17 Keypad Reporting Pg 50 type 0x80 data length 1
52. 35 to reduce fan noise until the next Read Fan Tachometers subcommand is issued See Sample Code For RPM Calculation Information Pg 89 Command Packet data length 3 data 0 2 read fan tachometer speed data 1 FBSCAB module index N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 62 Response Packet type 0x40 0x25 0x65 1011 data length 14 data 0 2 read fan tachometer speed data 1 FBSCAB module index data 2 fan number of fan tach cycles data 3 fan LSB of fan timer ticks data 4 fan MSB of fan timer ticks data 5 fan number of fan tach cycles data 6 fan LSB of fan timer ticks data 7 fan MSB of fan timer ticks data 8 fan number of fan tach cycles data 9 fan LSB of fan timer ticks data 10 fan MSB of fan timer ticks data 11 fan number of fan tach cycles data 12 fan LSB of fan timer ticks data 13 fan MSB of fan timer ticks PP RWW WDdODNYNFP EE Subcommand 3 Read DOW Device Information This command returns the ROM ID of the specified DOW device attached to the specified CFA FBSCAB module This is used to confirm the attached device is a WR DOW Y17 temperature sensor cable Command Packet type 0x25 3710 data length 3 data 0 3 read DOW device information data 1 FBSCAB module index data 2 DOW device index 0 15 Response Packet type 0x40 0x25 0x65 101
53. 4 data 0 4 Save Screenshot to MicroSD File data 1 123 name of the file to create on the microSD card Response Packet type 0x40 0x28 0x68 104 data length 1 data 0 4 Save Screenshot to MicroSD File Subcommand 5 Pixel Data This command sets or reads the value of the specified individual pixel on the display Note If manual buffer flush is enabled by command 40 Subcommand 0 Graphic Options Pg 69 the value returned is the pixel value in the buffer Command Packet Write type 0x28 404 data length 4 data 0 5 Pixel Data data 1 x pixel location 0 243 data 2 y pixel location 0 67 data 3 new pixel shade Response Packet Write type 0x40 0x28 0x68 104 data length 1 data 0 5 Pixel Data Pe Crystalfontz www crystalfontz com Y Command Packet Read data length 3 data 0 5 Pixel Data data 1 x pixel location 0 243 data 2 y pixel location 0 67 Response Packet Read type 0x40 0x28 0x68 lo data length 2 data 0 5 Pixel Data data 1 pixel shade value Subcommand 6 Draw a Line Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 72 This command draws a line of the specified shade from point a to point b Note If manual buffer flush is enabled see command 40 Subcommand 0 Graphic Options Pg 69 the line will not be displayed onto the CFA835 until command
54. 4h polynomial high byte CRC Test Program org 0 reset vector 0000H clrf PCLATH ensure upper bits of PC are cleared clrf STATUS ensure page bits are cleared goto main jump to start of program ISR Vector org 4 start of ISR goto jump to ISR when coded org 20 start of main program main movlw seedhi setup intial CRC seed value movwf accumh This must be done prior to movilw seedlo sending string to CRC routine movwt accuml clrf index clear string read variables main1 movlw HIGH InputStr point to LCD test string movwf PCLATH latch into PCL moviw index get index call InputStr get character movwt Zero setup for terminator test movf Zero f see if terminator btfsc STATUS Z skip if not terminator goto main2 else terminator reached jump out of loop call CRC16 calculate new cre call SENDUART send data to LCD incf index f bump index goto main1 loop main2 movlw 00h shift accumulator 16 more bits call CRC16 This must be done after sending movlw 00h string to CRC routine call CRC16 comf accumh f invert result comf accuml f moviw accuml get CRC low byte Crystalfontz www crystalfontz com Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 97 call SENDUART send to LCD moviw accumh get CRC hi byte call SENDUART send to LCD stop goto stop word result of 0x93FA is in accumh accuml
55. 5 GPIO Pin Levels Pg 63 Subcommand 6 Reset And Search Pg 65 Command 38 0x26 Custom Fonts Pg 66 includes Subcommand 0 Load Custom Font Files From MicroSD Card Pg 66 Subcommand 1 Print Custom Font To Display Pg 66 Command 39 0x27 MicroSD File Operations Pg 67 includes Subcommand 0 Open Close MicroSD File Pg 67 Subcommand 1 Position Seek Pg 67 Subcommand 2 Read File Data Pg 68 Subcommand 3 Write File Data Pg 68 Subcommand 4 Delete A File Pg 68 Command 40 0x32 Display Graphic Options Pg 69 includes Subcommand 3 Display Image File From MicroSD Card On CFA835 Pg 70 Subcommand 4 Save Screenshot to MicroSD File Pg 71 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 he Page 44 MICROSD OPERATIONS Continued Command 41 Subcommand 0 Load A Video From MicroSD Card Pg 73 EEPROM OPERATIONS Command 2 0x02 Write User Flash Area Pg 44 Command 3 0x03 Read User Flash Area Pg 45 Command 4 0x04 Store Current State As Boot State Pg 45 Each command packet is answered by either a response packet or an error packet The low 6 bits of the type field of the response or error packet is the same as the low 6 bits of the type field of the command packet being acknowledged You can experiment with these command by using our free download of cfTest 0 0x00 Ping Command Use
56. 6 ae Page 47 The CFA835 will return the acknowledge packet immediately then restart itself The CFA835 may not respond to new command packets for up to 3 seconds Command Packet type 0x05 510 data length 3 data 0 8 data 1 25 data 2 48 CFA835 Restore Default Settings Restarts the system boot state to that of a factory CFA835 and then performs a CFA835 restart If used as a USB device this command will cause the module to disconnect and then reconnect re enumerate This command will also restart any attached CFA FBSCAB to the state saved in their nonvolatile memory This option does not affect the user flash values set by command 2 0x02 Write User Flash Area Pg 44 The CFA835 will return the acknowledge packet immediately then restart itself The CFA835 may not respond to new command packets for up to 3 seconds Command Packet type 0x05 510 data length 3 data 0 10 data 1 8 data 2 98 Response Packet For All Five Restart Options type 0x40 0x05 0x45 69 data length 0 6 0x06 Clear Display Clears the CFA835 s display graphical display buffer and character row column buffer It also moves the cursor to the left most column of the top line and stops any videos that are being played from an microSD card See command 41 Ox3A Video Playback Control Pg 73 Command Packet type 0x06 640 data length 0 Response Packet type 0x40 0x06 0x46 701 data l
57. 6 0x076AF 0x04434 0x055BD 0x0AD4A 0x0BCC3 0x08E58 0x09FD1 0x0EB6E 0x0FAE7 0x0C87C 0x0D9F5 0x03183 0x0200A 0x01291 0x00318 0x077A7 0x0662E 0x054B5 0x0453C 0x0BDCB 0x0AC42 0x09ED9 0x08F50 0Ox0FBEF 0x0EA66 0x0D8FD 0x0C974 0x04204 0x0538D 0x06116 0x0709F 0x00420 0x015A9 0x02732 0x036BB 0x0CE4C 0x0DFC5 0x0ED5E 0x0FCD7 0x08868 0x099E1 0x0AB7A 0x0BAF3 0x05285 0x0430C 0x07197 0x0601E 0x014A1 0x00528 0x037B3 0x0263A 0x0DECD 0x0CF44 0x0FDDF 0x0EC56 0x098E9 0x08960 0x0BBFB 0x0AA72 0x06306 0x0728F 0x04014 0x0519D 0x02522 0x034AB 0x00630 0x017B9 0OxOEF4E 0Ox0FEC7 0x0CC5C 0x0DDD5 0x0A96A 0x0B8E3 0x08A78 0x09BF1 0x07387 0x0620E 0x05095 0x0411C 0x035A3 0x0242A 0x016B1 0x00738 OxOFFCF 0Ox0EE46 0x0DCDD 0x0CD54 0x0B9EB 0x0A862 0x09AF9 0x08B70 0x08408 0x09581 0x0A71A 0x0B693 0x0C22C 0x0D3A5 0x0E13E 0x0FOB7 0x00840 0x019C9 0x02B52 0x03ADB 0x04E64 0x05FED 0x06D76 0x07CFF 0x09489 0x08500 0x0B79B 0x0A612 0x0D2AD 0x0C324 Ox0F1BF 0x0E036 0x018C1 0x00948 0x03BD3 0x02A5A 0x05EE5 0x04F6C 0x07DF7 0x06C7E 0x0A50A 0x0B483 0x08618 0x09791 0x0E32E 0x0F2A7 0x0C03C 0x0D1B5 0x02942 0x038CB 0x00A50 0x01BD9 0x06F66 0x07EEF 0x04C74 0x05DFD 0x0B58B 0x0A402 0x09699 0x08710 0Ox0F3AF 0x0E226 0x0DOBD 0x0C134 0x039C3 0x0284A 0x01AD1 0x00B58 0x07FE7 0x06E6E 0x05CF5 0x04D7C 0x0C60C 0x0D785 0x0E51E 0x0F497 0x08028 0x091A1 0x0A33A 0x0B2B3 0x04A44 0x05BCD 0x06956 0x078D
58. 7A Ox0E70E 0x0F687 0x0C41C 0x0D595 0x0A12A 0x0B0A3 0x08238 0x093B1 0x06B46 0x07ACF 0x04854 0x059DD 0x02D62 0x03CEB 0x00E70 0x01FF9 Ox0OF78F 0x0E606 0x0D49D 0x0C514 0x0B1AB 0x0A022 0x092B9 0x08330 0x07BC7 0x06A4E 0x058D5 0x0495C 0x03DE3 0x02C6A 0x01EF1 0x00F78 register word newCrc newCrc O0xFFFF This algorithm is based on the IrDA LAP example while len newCre newCre gt gt 8 crcLookupTable newCre bufptr amp Oxff Make this cre match the one s complement that is sent in the packet return newCrc Algorithm 2 C Bit Shift Implementation This algorithm was mainly written to avoid any possible legal issues about the source of the routine at the request of the LCDproc group This routine was clean coded from the definition of the CRC It is ostensibly smaller than the table driven approach but will take longer to execute This routine is offered under the GPL typedef unsigned char ubyte typedef unsigned short word word get crc ubyte bufptr word len register unsigned int newCRC Put the current byte in here ubyte data int bit count This seed makes the output of this shift based algorithm match the table based algorithm The center 16 bits of the 32 bit newCRC are used for the CRC The MSb of the lower byte is used to see what bit was shifted out of the center 16 bit CRC accumulator carry flag analog newCRC 0x00F32100 while len
59. 9 ATX Power Supply and Control Connections Using The WR PWR Y25 Cable HOW TO SET ATX FUNCTIONALITY USING CFTEST B aS ee Download the cfTest application here http Awww crystalfontz com software CFTEST html Connect the CFA835 to a Windows based PC You may want to connect the 5VSB and 5VSENSE so you will be able to see the CFA835 when it powers up Disable any applications that communicate with the CFA835 to free up the virtual COM port Launch cfTest The application should automatically recognize the CFA835 and display it in the Communications Port dropdown list If not select your CFA835 from the dropdown list In the Send Packet section select command 28 0x1C ATX Functionality from the dropdown list Type in the following value 240 into the Data field The 240 represents the bitmask value for data 0 Click Send Packet Select command 4 0x04 Store Current State As Boot State from The PacketType dropdown list Clear the Data text box Click Send Packet This saves the current state set with ATX FIRMWARE HOW TO IDENTIFY FIRMWARE REVISION NUMBER Before you apply power to the CFA835 press the right arrow key on the keypad Apply power keeping the right arrow key depressed until the firmware revision displays As long as the keypad is depressed this information is displayed When you release the right arrow key the display clears after five seconds Or when coming out of restart keep the right
60. A835 supports using up to 4 custom fonts simultaneously Subcommand 0 Load Custom Font Files From MicroSD Card This command loads custom font files from the inserted microSD card Your custom font files must be created using the CFA835 Font Editor Pg 86 The loaded font is printed to the display using the subcommand immediately below Subcommand 1 Print Custom Font To Display The CFA835 supports using up to 4 individual custom font files at a time four slots User defined characters as set by command 9 0x09 Special Character Bitmaps Pg 47 are not supported by this command or the subcommand immediately below Subcommand 1 Print Custom Font To Display Command 31 0x1F Write Text To The Display Pg 53 supports a special replacement mode using a custom font Replacement mode is activated by loading a custom font into slot O with data 2 bit 1 set to 1 To disable replacement mode load a custom font into slot O with data 2 bit 1 set to O Replacement mode can only use a custom font in slot 0 attempting to set data 2 bit 1 for a custom font loaded in any other slot will throw an error Command Packet type 0x26 3810 data length 4 to 124 data 0 0 Load Custom Font Files From MicroSD Card data 1 font slot 0 to 3 data 2 option flags bit 0 forced monospace ignore proportional flag in font file header bit 1 use font for 31 0x1F Write Text To The Display utf 8 only must be a monospace font or
61. ATX functionality allows the keypad buttons to replace the power and restart switches on your system sim plifying front panel design The 16 pin WR PWR Y25 ATX power switch cable may be used for direct connection to the host s power supply A perfect fit for 1U appliances the CFA835 can be the only component in your front panel simplifying mechanical electrical and software design Q Hardware watchdog can restart host on host software failure LI Additional free demonstration code is available See APPENDIX B FREE DEMONSTRATION AND OTHER SOFTWARE Pg 86 LJ To download the most current Certificate of Compliance for ISO ROHS and REACH go to the CFA835 s Doc Files tab on the part number s website page 0D DDD D D N Crystalfontz Data Sheet Release 2014 10 13 a www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 10 ADDITIONAL FEATURES WHEN USED WITH OPTIONAL CFA FBSCABS 2012 Crystalfontz America Inc En Ty few 3 SO Op ws ONG TA ey i gt u innii E i le Be m S E i E PS von tes Opisal CFA RS232 05 Crystalfontz Americe Seeeeeeeeeeenn TCE Et fas A Pn amp iiij i EA g ta RS232 serial A za S Iy interface te p Se stalfontz merica Inc a 94v0 USA y p hs INV 2011 Cr A 4 RJ t om Gyn 2 ry me i n oO tk oe c z Eo a c2 R22 09 a5 ee Yn i i a AAABBBRBRAAADS R32 TO amp
62. B Host TTL Logic Level Serial Full Swing RS232 Host and GPIO Serial Host Figure 9 System Block Diagram Pe Crystalfontz www crystalfontz com Y DISPLAY DUTY AND BIAS Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 22 DRIVING METHOD SPECIFICATION Duty 1 160 Bias 1 13 1The duty cycle also known as duty ratio or multiplex rate is the fraction of total frame time that each row of the display is addressed The drive bias also known as voltage margin is related to the number of voltage levels used when driving the display Bias is defined as 1 number of voltage levels 1 The more segments driven by each driver 1 the higher number of voltage levels are required There is a direct relationship between the bias and the duty www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Crystalfontz Data Sheet Release 2014 10 13 Y Page 23 ABSOLUTE MAXIMUM RATINGS All variants all colors ABSOLUTE MAXIMUM RATINGS SYMBOL Soe semen ee are ae If interface is Full Swing RS232 using optional CFA RS232 Serial Converter Board Notes These are stress ratings only Extended exposure to the absolute maxi mum ratings listed above may affect reliability or cause permanent dam age Changes in temperature can result in changes in contrast DC CHARACTERISTICS SPECIFICATIONS SYMBOL TYPICAL
63. Both of the two serial interfaces use firmware that bring the two UART pins Tx amp Rx of the CFA835 s microcontroller to the CFA835 s H1 connector Logic Level Serial This is the default interface for the CFA835 This interface exposes the UART Tx amp Rx logic level Ov to 3 3v Tx nominal Ov to 5 0v Rx nominal on pin 1 and pin 2 of the CFA835 s 16 pin H1 connector If your embedded processor is close to the CFA835 you can cable its UART Rx and Tx pins directly to the CFA835 s Tx and Rx pins No RS232 level translators are required on either end Full Swing RS232 Serial Requires Optional CFA RS232 Serial Converter Board Bidirectional 9600 19200 115200 baud ESD protected RS232 is provided when you customize your web order with a mounted CFA RS232 Serial Converter Board This interface is the correct choice if your embedded controller or host system has a full swing RS232 serial port implemented with a UART plus RS232 level converter Figure 1 CFA RS232 Serial Converted Board Mounted On CFA835 The CFA RS232 Serial Converter Board has a 16 pin female connector J3 that mates with the male 16 pin connector H1 on the back of the CFA835 The CFA RS232 converts the Ov to 5v logic level Rx and Tx signals from the CFA835 s microcontroller to RS232 levels For more information download the Data Sheet on the CFA RS232 website page N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 In
64. CRC16 movwft savchr Save the input character movwt datareg load data register movlw 8 setup number of bits to test movwf j save to incrementor _loop clre clear carry for CRC register shift rrf datareg f perform shift of data into CRC register rrf accumh f rrf accuml f btfss STATUS C skip jump if if carry goto _notset otherwise goto next bit movlw polyL XOR poly mask with CRC register xorwf accuml F movilw polyH xorwf accumh F _notset decfsz j F decrement bit counter goto _ loop loop if not complete movfw savchr restore the input character return return to calling routine SENDUART return org 0100h Inputstr addwf PCL f dt 7h 10h This is a test 0 end Algorithm 4 Visual Basic Table Implementation Visual BASIC has its own challenges as a language such as initializing static arrays and it is also challenging to use Visual BASIC to work with binary arbitrary length character data possibly containing nulls such as the data portion of the CFA835 packet data This routine was adapted from the C table implementation The complete project can be found in our forums This program is brutally blunt Just like VB No apologies Written by Crystalfontz America Inc 2004 http www crystalfontz com Free code not copyright copyleft or anything else Some visual basic concepts taken from http www planet source code com vb scripts ShowCode asp txtCodeId 21434 am
65. Cable Pg 35 CABLES FOR USB INTERFACE Note The CFA835 uses a nonstandard 2 mm low profile USB connector USB cables with this type of connector are not readily available If you do not have this cable and cannot build one be sure to add one of these cables to your order Note For these cables keep the micro B USB cable connector parallel to the CFA835 when plugging or unplugging the cable Do not lift or pull up on the cable Too much pressure may permanently damage the CFA835 s micro B USB connector For more information see Standard 5v Power Supply And Data Communications Through USB Pg 36 WR USB Y27 TE The WR USB Y27 cable is about 6 feet 3 75 inches long Connect the cable s USB A female connector to your host s USB A connector Connect the cable s micro B USB female connector to the CFA835 s micro B USB connector WR USB Y34 The WR USB Y34 cable is about 2 feet 2 35 inches long Connect the cable s micro B USB female connector to CFA835 s micro B USB connector Connect the cable s single piece 4 pin 0 1 female connector to USB pins on host s motherboard For correct orientation note the 5v location on the 4 pin connector N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 14 CABLES FOR FULL SWING RS232 INTERFACE USING CFA RS232 SERIAL CONVERTER BOARD If you customize your CFA835 order by adding the op
66. F 0x00C60 0x01DE9 0x02F72 0x03EFB 0x0D68D 0x0C704 0x0F59F 0x0E416 0x090A9 0x08120 0x0B3BB 0x0A232 vo Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 101 0x05AC5 0x04B4C 0x079D7 0x0685E 0x01CE1 0x00D68 0Ox03FF3 0x02E7A Ox0E70E 0x0F687 0x0C41C 0x0D595 0x0A12A 0x0B0A3 0x08238 0x093B1 0x06B46 0x07ACF 0x04854 0x059DD 0x02D62 0x03CEB 0x00E70 0x01FF9 Ox0OF78F 0x0E606 0x0D49D 0x0C514 OxXOB1AB 0x0A022 0x092B9 0x08330 0x07BC7 Ox06A4E 0x058D5 0x0495C 0x03DE3 0x02C6A 0Ox01EF1 0x00F78 our test packet read from an enter key press over the serial line type 80 key press data length 1 1 byte of data data 5 my type 80 my length 01 my data 05 my packet chr hex type chr hex length chr hex data my valid cre 5584 print A CRC of Packet packet Should Equal valid crc n my Scrc OxFFFF printf x n Serc foreach my char split packet newCrce newCrc gt gt 8 crcLookupTable newCre bufptr amp Oxff amp is bitwise AND is bitwise XOR gt gt bitwise shift right Scre crc gt gt 8 CRC LOOKUP crc print out the running cre at each byte printf x n Serc A ord Schar amp OxFF get the complement Scra Scrc Scre S crc amp OxFFFF print out the cre in hex printf x n
67. Internal Processor And Logic a N Crystalfontz Data Sheet Release 2014 10 13 y wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 U Page 24 LOGIC LEVEL GPIO 5 VOLT TOLERANT PINS FOR SERIAL INTERFACE The H1 connector on the CFA835 has five GPIO pins See H1 Pin Assignments Pg 35 DC CHARACTERISTICS SYMBOL MAXIMUM 0 42 Vpp 2 v 1v Input High Voltage IH If Vpp 3 3v 1 55v 0 32 Vpp 2v 0 75v Input Low Voltage VIL 0 3v If Vpp 3 3v 1 17v The default serial interface for the CFA835 is logic level serial If the optional CFA RS232 Serial Converter is mounted to provide full swing RS232 the H1 connector s GPIO pins pass through to the CFA RS232 J2 connector For CFA RS232 connection details see the Data Sheet on the CFA RS232 website page CONTROLLER AND GPIO CURRENT LIMITS TYPICAL GPIO CURRENT LIMITS N Crystalfontz Data Sheet Release 2014 10 13 ir www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 25 CURRENT CONSUMPTION Current consumption varies by color choice Current consumption is the same for all interfaces AA CFA835 TFK Dark On Near White aG 300 3 3V 3 5v 4 0v 4 5v 5 0v Typical Current Consumption mA 0 10 20 30 40 50 60 70 80 90 100 LED Keypad and Display Backlight Power Setting TYPICAL TEENS CURRENT CONSUMPTION Display and Keypad All Status LED
68. Microsoft Windows format only Note If manual buffer flush is enabled see command 40 Subcommand 0 Graphic Options Pg 69 the pixel will not be drawn until command 40 Subcommand 1 Buffer Flush Pg 69 is executed N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 71 Command Packet data length 6 to 124 data 0 3 Display Image File From MicroSD Card On CFA835 data 1 option flags bit 0 enable transparency pixel value 0 is transparent bit 1 invert image shade will invert transparency value also data 2 x pixel location to start data 3 y pixel location to start data 4 123 name of the image file located on the microSD card Response Packet type 0x40 0x28 0x68 104 data length 1 data 0 3 Display Image File From MicroSD card on CFA835 Subcommand 4 Save Screenshot to MicroSD File This command saves a screenshot of the current image to a BMP file of the specified name on the microSD card If a file with the specified name already exists it will be overwritten The BMP file will be saved in Microsoft format 8bits pixel greyscale with no compression and is 17 670 bytes in size Note If manual buffer flush is enabled see command 40 Subcommand 0 Graphic Options Pg 69 the image stored will be the image currently in the buffer Command Packet type 0x28 4010 data length 2 to 12
69. Ox06F66 0x07EEF 0x04C74 0x05DFD 0x0B58B 0x0A402 0x09699 0x08710 Ox0OF3AF 0x0E226 0x0DO0BD 0x0C134 0x039C3 0x0284A 0x01AD1 0x00B58 0x07FE7 OX06E6E 0x05CF5 0x04D7C 0Ox0C60C 0x0D785 Ox0E5I1E 0x0F497 0x08028 0x091A1 0x0A33A 0x0B2B3 0x04A44 0x05BCD 0x06956 0x078DF 0x00C60 Ox01DE9 0x02F72 0x03EFB 0Ox0D68D 0x0C704 Ox0F59F 0x0E416 0x090A9 0x08120 0x0B3BB 0x0A232 0Ox05AC5 0x04B4C 0x079D7 0x0685E 0x01CE1 0x00D68 Ox03FF3 0x02E7A Ox0E70E 0Ox0F687 0x0C41C 0x0D595 0x0A12A 0x0B0A3 0x08238 0x093B1 0x06B46 0x07ACF 0x04854 0x059DD 0x02D62 0x03CEB 0x00E70 0x01FF9 OxOF78F 0x0E606 0x0D49D 0x0C514 0Ox0B1AB 0x0A022 0x092B9 0x08330 0x07BC7 Ox06A4E 0x058D5 0x0495C 0x03DE3 0x02C6A OXO01EF1 0Ox00F78 public static int compute byte data OxOFFFF 0 i lt data length i int newCrec for int i int lookup crcLookupTable newCre data i amp OxFF newCre newCrce gt gt 8 lookup return newCrc Algorithm 6 Perl Table Implementation This code was translated from the C version by one of our customers usr bin perl use strict my CRC LOOKUP 0x00000 0x01189 0x02312 0x0329B 0x04624 0x057AD 0x06536 0x074BF 0x08C48 0x09DC1 0x0AF5A 0x0BED3 OxOCA6C 0x0DBE5 0x0E97E 0x0F8F7 0x01081 0x00108 0x03393 0x0221A 0x056A5 0x0472C 0x075B7 0x0643E 0x09CC9 0x08D40 0x0BFDB 0x0AE52 0x0DAED 0x0CB64 0x0F9FF 0x0E876 0x02102 0x0308B 0x00210 0x01399 0x0672
70. RC dsplyCRCData equ Ox83F 8 bit CRC data for display use dsplyCRCCount equ 0x840 8 bit CRC count for display use SendCount equ 0x841 8 bit byte count for sending to display RXBUF2 equ 0x8CO0 32 byte receive buffer for Display TXBUF2 equ 0Ox8E0 32 byte transmit buffer for Display ClearScreen movilb RAM8 movlw 0 movwt SendCount movilw OxF3 movwt dsplyCRC seed ho for CRC calculation movilw 0x21 movwf dsplyCRC 1 seen lo for CRC calculation call ClaimFSR1 movlw 0x06 movwf TXBUF2 LFSR FSR1 TXBUF2 movf SendCount w movwf TXBUF2 1 message data length call BMD1 goto SendMsg send message via interrupt routine The code is made complex due to the limited FSR registers and extended memory space used ClaimFSR 1 FSR1 TXBUF2 4 CORO BusName 2 me neo Ne set data string position move string to TXBUF2 Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Crystalfontz www crystalfontz com Page 103 addwf SendCount movf f SendCount TXBUF2 1 insert message data length call BuildMsgDSPLY call SendMsg return BuildMsgDSPLY movilw OxF3 movwf dsplyCRC seed hi for CRC calculation movilw 0x21 movwf dsplyCRC 1 seed lo for CRC calculation LFSR FSR1 TXBUF2 point at transmit buffer movlw Ox1F command to send data to LCD movwt TXBUF2 insert command byte from us to CFA 635 BMD1 moviw 2 ddwf SendCount w overhead call ComputeCRC2
71. Read DOW Device Information 62 Subcommand 4 Read WR DOW Y17 Temperature 62 Subcommand 5 GPIO Pin Levels 63 Subcommand 6 Reset And Search 65 38 0x26 Custom Fonts 66 Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 2 vo Crystalfontz Data Sheet Release 2014 10 13 y wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 NM Page 3 CONTENTS CONTINUED Subcommand 0 Load Custom Font Files From MicroSD Card 66 Subcommand 1 Print Custom Font To Display 66 39 0x27 MicroSD File Operations 67 Subcommand 0 Open Close MicroSD File 67 Subcommand 1 Position Seek 67 Subcommand 2 Read File Data 68 Subcommand 3 Write File Data 68 Subcommand 4 Delete A File 68 40 0x32 Display Graphic Options 69 Subcommand 0 Graphic Options
72. Scrc Algorithm 7 For PIC18F8722 or PIC18F2685 This code was written for the CFA635 by customer Virgil Stamps of ATOM Instrument Corporation CRC Algorithm for CrystalFontz CFA 635 display DB535 This code written for PIC18F8722 or PIC18F2685 Your main focus here should be the ComputeCRC2 and CRC16 routines ComputeCRC2 movilb RAM8 movwt dsplyLPCNT w has the byte count nxtl dsply movt POSTINC1 w call CRC16 _ decfsz dsplyLPCNT goto nxtl dsply movlw 0 shift accumulator 16 more bits call CRC16 _ movlw 0 Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Crystalfontz www crystalfontz com Page 102 call CRC16 _ comf dsplyCRC F invert result comf dsplyCRC 1 F return CRC16 movwf dsplyCRCData w has byte to cre movilw 8 movwt dsplyCRCCount _cloop bcf STATUS C clear carry for CRC register shift rrcf dsplyCRCData f perform shift of data into CRC register rrcf dsplyCRC F rrcf dsplyCRC 1 F btfss STATUS C skip jump if carry goto _notset otherwise goto next bit movilw 0x84 xorwE dsplyCRC F movlw 0x08 XOR poly mask with CRC register xorwE dsplyCRC 1 F _notset decfsz dsplyCRCCount F decrement bit counter bra _cloop loop if not complete return example to clear screen dsplyFSR1 TEMP equ Ox83A 16 bit save for FSR1 for display message handler dsplyCRC equ 0x83C 16 bit CRC H L dsplyLPCNT equ 0x83E 8 bit save for display message length C
73. Test Pg 38 Note The CFA835 with optional CFA FBSCABs has no ATX functionality provided through the CFA FBSCABs However ATX control is still available on the CFA835 s H1 connector F WR PWR Y25 About 11 inches long connect the WR PWR Y25 ATX power switch cable s 16 pin female connector to the CFA835 s H1 connector Connect the cable s male connector directly to your host s ATX power supply Or connect the cable s 4 separate female connectors to the 4 pins on your hosts motherboard N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 15 WR PWR Y 44 Similar to the WR PWR Y25 above this one meter long WR PWR Y44 ATX power cable is designed for use with rack mount chassis where extra length is necessary for routing and connectivity CABLE FOR DIRECT CONNECTION TO HOST S POWER SUPPLY WR PWR Y24 The WR PWR Y24 cable is about 2 feet 2 55 inches long Connect power directly from your hosts power supply For logic level interface connect the cable s 16 pin female connector to the CFA835 s 16 pin H1 connector Connect the cable s 4 pin male connector to your host s power supply Note Rx TX will not be available For full swing RS232 interface use this cable to supply power no communications to the CFA835 through the optional mounted CFA RS232 Serial Converter Board from the host s power supply Connect the c
74. XT Y37 The CFA835 CFA FBSCABs has no ATX functionality provided through the CFA FBSCABs However ATX control is still available using the H1 connector on the CFA835 Note Remove power before connecting or disconnecting multiple CFA FBSCABs Connecting or disconnecting multiple CFA FBSCABs while powered will cause addressing problems For more information download the Data Sheet on the CFA FBSCAB website page CABLES TO USE WITH OPTIONAL CFA FBSCABS FB SYSTEM COOLING ACCESSORY BOARDS The CFA835 does not supply power to the CFA FBSCABs The CFA FBSCABs require external power typically supplied by a 4 pin 3 5 inch floppy drive power connector If you customize your CFA835 order by adding up to 32 optional CFA FBSCABs you will be prompted to add these cables to your order WR EXT Y37 The WR EXT Y37 is about 1 foot 6 inches long Connect the cable s 4 pin male connector to the CFA835 s connector labeled FBSCAB Connect the cable s 4 pin female connector to the first CFA FBSCAB This connector has the top left pin labeled Rx2 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 12 WR PWR Y12 amp a The WR PWR Y12 cable is about foot 0 55 inches long This 4 pin hard drive to floppy connector and hard drive splitter power cable can be used to power the CFA FBSCABs Requires 5v and 12v for fans WR FAN X01 Up to four fan
75. a Maxim DS1822 Econo 1 Wire Digital Thermometer with 2 C accuracy Make Your Own CFA FBSCAB Cable To make your own CFA FBSCAB cable here are some typical connector parts manufactured by Hirose available through Digi Key Connection At CFA FBSCAB Female housing on cable Hirose DF11 4DS 2C Digi Key H2019 ND Female crimp terminal in housing Hirose DF11 2428SC Digi Key H1504TR ND For reference mating male connector on CFA FBSCAB Hirose DF11GZ 4DP 2V 20 Digi Key H10259 ND N Crystalfontz Data Sheet Release 2014 10 13 H www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 13 Connection At CFA835 Male housing on cable Hirose DF11 4DEP 2C Digi Key H2913 ND Male crimp terminal in housing Hirose DF11 EP2428PC Digi Key H1506 ND For reference mating female connector on CFA835 Hirose DF11Z 4DS 2V 20 Digi Key H10197 ND Pre crimped wires are also available from Digi Key Here is a link to a 12 24ga pin to socket in blue Hirose H3ABT 10112 L4 ND H3ABT 10112 L4 ND For more information download the Data Sheet on the CFA FBSCAB website page CABLES FOR CFA835 Most of the cables described below can be added to your CFA835 order using the Customize and Add to Cart feature on CFA835 web pages See all of our cables listed at https www crystalfontz com products Icd display cables html To make your own cable see the part list under Make Your Own H1
76. a To Display From Host Pg 69 Subcommand 3 Display Image File From MicroSD Card On CFA835 Pg 70 Subcommand 4 Save Screenshot to MicroSD File Pg 71 Subcommand 5 Pixel Data Pg 71 Subcommand 6 Draw a Line Pg 72 Subcommand 7 Draw a Rectangle Pg 72 ro Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 43 DISPLAY LCD Continued Subcommand 8 Draw a Circle Pg 73 Command 41 0x3A Video Playback Control Pg 73 includes Subcommand 0 Load A Video From MicroSD Card Pg 73 Subcommand 1 Video Control Pg 73 Command 14 Ox0E Display And Keypad Backlights Pg 49 Command 23 0x17 Keypad Reporting Pg 50 Command 24 0x18 Read Keypad Polled Mode Pg 51 Command 28 0x1C ATX Functionality Pg 51 includes Function 1 KEYPAD RESTART Pg 51 Function 2 KEYPAD POWER _ON Pg 52 Function 3 KEYPAD POWER _OFF Pg 52 Command 34 0x22 GPIO Pin Levels Pg 55 Command 37 Subcommand 5 GPIO Pin Levels Pg 63 Command 34 Subcommand 2 Read Fan Tachometers Pg 61 Command 37 0x25 CFA FBSCAB Pg 58 includes Subcommand 0 Read CFA FBSCAB Information Pg 59 Subcommand 1 Fan Settings Pg 60 includes Set Fan Power Fail Safe And Glitch information Subcommand 2 Read Fan Tachometers Pg 61 Subcommand 3 Read DOW Device Information Pg 62 Subcommand 4 Read WR DOW Y17 Temperature Pg 62 Subcommand
77. a protective film over the polarizer Please peel off the protective film slowly Peeling off the protective film abruptly may generate static electricity The polarizer is made out of soft plastic and is easily scratched or damaged When handling the display module avoid touching the polarizer Finger oils are difficult to remove To protect the soft plastic polarizer from damage place a transparent plate for example acrylic polycarbonate or glass in front of the display module leaving a small gap between the plate and the display surface We recommend Lexan which is readily available and works well Allow adequate space for the flex at the bottom of the display module If flex is creased display module may be permanently damaged For USB interface keep the micro B USB cable connector parallel to the CFA835 when plugging or unplugging the cable Do not lift or pull up on the cable Too much pressure may permanently damage the CFA835 s micro B USB connector Do not disassemble or modify the display module Do not modify the five tabs of the metal bezel or make connections to them Do not reverse polarity to the power supply connections Reversing polarity will immediately ruin the display module AVOID SHOCK IMPACT TORQUE OR TENSION Do not expose the display module to strong mechanical shock impact torque or tension Do not drop toss bend or twist the display module Do not place weight or pressure on the display module
78. able s 16 pin female connector to the mounted CFA RS232 s 16 pin male J2 connector Connect the cable s 4 pin male connector directly to your host s power supply connector N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Y Page 16 BRACKETS AND SLEDS A bracket or SLED can be added to your CFA835 order using the Customize and Add to Cart feature on CFA835 web pages A colored overlay with a display window of thick hard coated polycarbonate is attached with adhesive to the front of the bracket or SLED Overlay choices are black brushed anodized aluminum silver brushed anodized aluminum beige plastic and black plastic Drive Bay Bracket A 5 25 inch half height drive bay mounting bracket with your choice of four overlays The bracket can hold a CFA835 and the optional CFA FBSCAB Figure 4 Bracket With Silver Brushed Anodized Aluminum Overlay SLED Our SLED is a chassis that fits in 5 25 inch half height drive bay The SLED can hold a CFA835 the optional CFA FBSCAB and a 3 5 inch hard disk drive Hard drive is not included Figure 5 SLED With Black Plastic Overlay Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 17 re Y MECHANICAL SPECIFICATIONS PHYSICAL CHARACTERISTICS Ce Depth Thickness with keypad and connectors
79. arrow key depressed until the firmware revision displays As long as the keypad is depressed this information is displayed When you release the right arrow key the display clears after five seconds An alternate method to identify revision number is by using command 1 0x01 Get Module Information Pg 44 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 39 POSSIBLE FUTURE FIRMWARE UPDATES The CFA835 display modules are shipped with preinstalled firmware that performs the command functions described in this Data Sheet We may make updates to the firmware in the future Firmware updates are announced through our PCN Part Change Notices Any updates to firmware will be available as free downloads under the Datasheets amp F iles tab on the part number s web page Updated firmware is downloaded onto the CFA835 by copying the firmware file onto a microSD card which is then inserted in the CFA835 s microSD card socket A MS DOS FAT 12 16 32 formatted microSD SDHC card must be used Detailed instructions and description of firmware changes will be included in the firmware update package CREATE YOUR OWN FIRMWARE The CFA835 uses a STMicroelectronics STM32F103R microcontroller The microcontroller is preprogrammed with a bootloader that can load user created firmware into the microcontroller s flash memory from a microSD card A MS DOS FAT 12 16 32
80. attached CFA FBSCABs including reading and writing from the CFA FBSCAB s fans temperature sensors and GPIO pins As many as 32 CFA FBSCABs can be attached by daisy chaining them with WR EXT Y37 communication cables Fan Power Definition Percentage value 0 to 100 PWM fan power N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 59 Fail Safe Definition The combination of the CFA835 one or more CFA FBSCABs can be used as part of an active cooling system The fans can be slowed down to reduce noise when a system is idle or when the ambient temperature is low The fans speed up when the system is under heavy load or the ambient temperature is high Since there is a large number of ways to control the speed of the fans thresholds thermostat proportional PID multiple temperature sensors contributing to the speed of several fans there was no way to foresee the particular requirements of your system and include an algorithm in the CFA835 s firmware that would be an optimal fit for your application Varying fan speeds under host software control gives the ultimate flexibility in system design but would typically have a fatal flaw a host software or hardware failure could cause the cooling system to fail If the fans were set at a slow speed when the host software failed system components may be damaged due to inadequate cooling The fan po
81. ature of CFA835 s packets makes it unnecessary to implement traditional hardware or software handshaking The host should wait for a corresponding acknowledge packet from the CFA835 before sending the next command packet The CFA835 will respond to all packets within 250mS The host software should report an error if a packet is not acknowledged within 250ms This situation indicates a possible hardware problem for example a disconnected cable Please note that some operating systems may introduce delays between when the data arrives at the physical port from the CFA835 until it is available to the user program In this case the host program may have to increase its timeout window to account for the additional overhead of the operating system The CFA835 can be configured to send several types of report packets along with regular acknowledge packets The host should be able to buffer several incoming packets and must guarantee that it can process and remove packets from its input buffer faster than the packets can arrive For any modern PC or microcontroller using reasonably efficient software this requirement will not be a challenge The report packets are sent asynchronously with respect to the command packets received from the host The host should not assume that the first packet received after it sends a command is the acknowledge packet for that command The host should inspect the type field of incoming packets and process them accordingly
82. compute CRC of transmit message movt dsplyCRC 1 w movwft POSTINC1 append CRC byte movf dsplyCRC w movwf POSTINC1 append CRC byte return SendMsg call ReleaseFSR1 LFSR FSRO TXBUF2 movff FSROH irptFSRO movff FSROL irptFSRO 1 Save interrupt use of FSRO movf f SendCount TXBUSY2 bsf PIE2 TX2IE set transmit interrupt enable bit 4 return macro to move string to transmit buffer SHOW macro src stringname call src MOVLF upper stringname TBLPTRU MOVLF high stringname TBLPTRH MOVLF low stringname TBLPTRL call MOVE STR endm MOVE STR tbird 4 movf TABLAT w bz ms1b movwf POSTINC1 incf SendCount goto MOVE STR Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 104 APPENDIX C VIBRATION TEST REPORT Q KeylronicEMS N yri Commitment Results di Test Sine amp Random Vibration Reliability Laboratory Originator Brent Crosby Crystalfontz America Test Coordinator Larry Bettinger lbetting keytronic com 509 927 5577 Test Started April 9 2013 Test Completed April 10 2013 Summary The following Crystalfontz America samples were submitted for operational vibration testing l 1212735TFK0002778 _ __ gt S IN 1212735TFKOOO2778 __ _ O Test Conditions The samples were mounted to a customer s fixture plate which was bolted directly to the slip table for the X and Y a
83. copyright 2013 by Part No s Scale Drawing Number 6 Button Not to scale CFA835_Family_master L Z Crystalfontz America Inc Keypad Detail Units Date Sheet U www crystalfontz com products Millimeters 2013 11 08 1of1 QNIMVYC 1IV13q AYdAJM Q gt foe Q9 o1 r 2 E gt r J O s O Q D L Q Q ie D lt a 3 Q D lt 2 2 w D r D U j D D r A D D on D N _ gt _ I _ 9 oz e6ed ax Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 21 ELECTRICAL SPECIFICATIONS SYSTEM BLOCK DIAGRAM Switching Power Up to 4 Fans 4 Bicolor Supply per Status LEDs 3 3v to 5 5v input CFA FBSCAB 3 3v output A Sitronix y ST7529 a Driver and LCD Panel Up to 16 Controller for 3 CFA FBSCAB Optional Grayscale LCD i System Cooling gt gt Accessory Boards 2 Sided Edge cy wee ee LED Backlight f STMicroelectronics Backlight l STM32F103 Brightness y 32 Bit ARM Control Up to 16 Keypad Backlight Temperature Sensors WR DOW Y17 per 3 2 simultaneous interfaces CFA FBSCAB USB AND Serial H1 16 Pin Connector GPIO 5v Tolerant Micro USB Connector CFA RS232 Serial Converter mounted on H1 connector bosccsccoccscococccsococcocsccoscoccsococosocococsococosococoscococooocot US
84. d to verify communication with the CFA835 The CFA835 will echo the Ping Command to the host Command Packet type 0x00 010 data length 0 to 124 data any arbitrary data Response Packet type 0x40 0x00 0x40 64 data length identical to command packet data identical to command packet 1 0x01 Get Module Information The CFA835 will return the hardware and firmware revision or serial number to the host Command Packet type 0x01 lio data length 0 or 1 data 0 module information to return optional 0 optional hardware and firmware version 1 CFA835 module serial number Response Packet data_length 0 or data 0 0 type 0x40 0x01 0x41 6514 data length 16 data CFA835 hxX x fY Y Response Packet data 0 1 type 0x40 0x01 0x41 654 data length 17 data 1134835TMI0O000001 2 0x02 Write User Flash Area The CFA835 reserves 124 bytes of nonvolatile memory for arbitrary use by the host This memory can be used to store a serial number IP address gateway address netmask or any other data required N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Vv Page 45 Command Packet data length 1 to 124 data arbitrary user data to be stored in nonvolatile memory Response Packet type 0x40 0x02 0x42 661 data length 0 3 0x03 Read User Flash Area Command Packet
85. dleTempReplyPacket COMMAND PACKET packet char output uint8 t fbscab index uint8 t sensor index uint8 t temp lsb uint8 t temp msb uintl16 t temp raw uint8 t cre status float deg c float deg f temperature query command reponse packet has the format of type 0x40 0x25 0x65 101 data length 5 data 0 4 read WR DOW Y17 temperature data 1 FBSCAB module index data 2 DOW device index 0 15 data 3 LSB of temperature data data 4 MSB of temperature data check the packets command number and type 0x25 0x40 FBSCAB Command Group Reply Packet if packet gt command 0x25 0x40 wrong packet type return false check the packets sub command type 4 Read WR DOW Y17 temperature if packet gt data 0 4 wrong packet type return false get fbscab amp temp sensor index from the packet fbscab index packet gt data 1 sensor index packet gt data 2 get raw temperature data from the packet temp lsb packet gt data 3 temp msb packet gt data 4 temp raw temp lsb temp msb lt lt 8 check temperature data CRC flags cre status temp raw lt lt 14 if cre status 1 CRC check failed return false if cre status 2 no sensor in this location this should never happen return false if cre status 3 no valid data from this sensor yet Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intel
86. e the power and restart button on your system simplifying front panel design For ATX If You Add Optional CFA FBSCABS FB System Cooling Accessory Boards The CFA835 CFA FBSCABs has no ATX functionality provided through the CFA FBSCAB However ATX control is available using a WR PWR Y25 ATX power switch cable on the H1 connector of the CFA835 For ATX Do Not Change Dedicated GPIO Pins The GPIO pins used for ATX control must not be configured as user GPIO They must be configured to their default drive mode in order for the ATX functions to work correctly These settings are factory default but may be changed by the user See the note under command 28 0x1C ATX Functionality Pg 51 or command 34 0x22 GPIO Pin Levels Pg 55 GPIO 1 ATX Host Power Sense Since the CFA835 must act differently depending on whether the host s power supply is on or off you must also connect the host s switched 5v to GPIO 1 This GPIO line functions as POWER SENSE The POWER SENSE pin is configured as an input with a pull down 5KQ nominal GPIO 2 ATX Host Power Control The motherboard s power switch input is connected to GPIO 2 This GPIO line functions as POWER CONTROL The POWER CONTROL pin is configured as a high impedance input until the CFA835 instructs the host to turn on or off Then it will change momentarily to low impedance output driving either low or high depending on the setting of POWER INVERT See command 28 0x1C ATX Fu
87. ength 0 9 0x09 Special Character Bitmaps Sets the bitmap for one of the special characters in the CGRAM to be used with command 31 0x1F Write Text To The Display Pg 53 Note special characters are not supported when using custom fonts See command 38 Subcommand 0 Load Custom Font Files From MicroSD Card Pg 66 for details Command Packet Read type 0x09 910 data length 1 data 0 index of special character to read 0 7 are valid N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 48 Response Packet Read type 0x40 0x09 0x49 734 data length 9 data 0 index of special character data data 1 8 bitmap of this special character Command Packet Write type 0x09 910 data length 9 data 0 index of special character that you would like to modify 0 7 are valid data 1 8 bitmap of this special character Response Packet Write type 0x40 0x09 0x49 7314 data length 0 11 0x0B Display Cursor Position This command allows the cursor to be placed at the desired location on the CFA835 s display If you want the cursor to be visible you may also need to send command 12 OxO0C Cursor Style Pg 48 The current cursor location can also be read using this command Command Packet Read data length 0 Response Packet Read type 0x40 0x0B 0x4B 7510 data length 2 data
88. er speed data 1 FBSCAB module index data 2 fan number of fan tach cycles data 3 fan LSB of fan timer ticks data 4 fan MSB of fan timer ticks data 5 fan number of fan tach cycles data 6 fan LSB of fan timer ticks data 7 fan MSB of fan timer ticks data 8 fan number of fan tach cycles data 9 fan LSB of fan timer ticks WWNHONNFRE data 10 fan 3 MSB of fan timer ticks data 11 fan 4 number of fan tach cycles data 12 fan 4 LSB of fan timer ticks data 13 fan 4 MSB of fan timer ticks check packet length if packet gt length 14 unexpected packet length should be 14 bytes return false check the packets command number and type 0x25 0x40 FBSCAB Command Group Reply Packet if packet gt command 0x25 0x40 wrong packet command type return false check the packets sub command type 2 Read fan tachometer speed if packet gt data 0 2 wrong packet sub command value return false get fbscab index from the packet fbscab index packet gt data l1 prepare output string output offset 0 output offset sprintf amp output output offset FBSCAB d 1 fbscab index Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 90 process packet data for the 4 fans for fan index 0 fan index lt 4 fan index data offset for fan index data in the packet data off
89. fault is ATX Host Power Control 3 GPIO 3 H1 pin 10 default is ATX Host Restart Control 4 GPIO 4 H1 pin 13 5 GPO 5 LED 3 bottom green die 6 GPO 6 LED 3 bottom red die 7 GPO 7 LED 2 green die 8 GPO 8 LED 2 red die 9 GPO 9 LED 1 green die 10 GPO 10 LED 1 red die 11 GPO 11 LED 0 top green die 12 GPO 12 LED 0 top red die data 1 Pin output state actual behavior depends on drive mode 0 100 valid 0 output set to low 1 99 output duty cycle percentage 100 Hz nominal 100 output set to high data 2 pin function select and drive mode optional 0 15 valid except for 6 and 14 0 only meaningful for GPIOs index 0 4 GPOs index of 5 12 will ignore 000 l strong drive up O resistive pull down 001 1l strong drive up O strong drive down 010 hi Z use for input 011 l resistive pull up O strong drive down 100 l strong drive up O hi z 101 l strong drive up O strong drive down 110 reserved do not use error returned 111 1 hi Z 0 strong drive down eee F function only valid for GPIOs index of 0 4 0 port unused for GPIO it will take on the default function such as ATX DOW on CFA FBSCABs or unused the user is responsible for setting the drive to the correct value in order for the default function to work correctly 1 port used for GPIO under user control the user is responsible for setting the drive to the correct value in order for the desired GPIO
90. forced monospace bit 2 O utf 8 l utf 16 data 3 123 file name of the font file located on the microSD card Response Packet type 0x40 0x26 0x46 1021 data length 1 data 0 0 Load Custom Font Files From MicroSD Card Subcommand 1 Print Custom Font To Display This command prints the specified string to the display using the font slot set by the subcommand immediately above Subcommand 0 Load Custom Font Files From MicroSD Card N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 67 Command Packet type 0x26 3810 data length 4 to 124 data 0 1 Print Custom Font to Display data 1 font slot 0 to 3 data 2 character placement style 0 char row 1 pixel x y column value only used if font is monospaced or forced monospaced pixel x y is top left pixel of the first character data 3 column or x pixel position of the top left of first character data 4 row or y pixel position of the top left of first character data 5 123 utf 8 or utf 16 text string Response Packet type 0x40 0x26 0x46 10210 data length 2 data 0 1 Print Custom Font to Display data 1 length of the printed text in pixels 39 0x27 MicroSD File Operations Subcommand 0 Open Close MicroSD File This command opens the specified file on the inserted microSD card for reading writing Only one file on the microSD card may be acce
91. from the USB interface or 2 seconds from any other interface Failure to do so will result in the CFA835 returning an error packet and ignoring any following raw data Raw pixel data is in the format of one byte per pixel The display is capable of displaying 32 shades of grey most significant 5 bits of the byte The least significant 3 bits of shade is ignored Pixel data is interpreted in order left to right top to bottom RLE compression removes repetitive values Here is an example RLE Compression Example values in hexidecimal 3 4 5 6 7 9 0 Oxoz oxso oxe oxo o e Byte Order 0 1 2 Sent RLE Data 0x00 0x8 Displayed Pixel Data 0x00 0xF8 Command Packet data length 6 data 0 2 Send Image Data To Display From Host data 1 option flags bit 0 enable transparency pixel value 0 is transparent bit 1 invert image color will invert transparency value also bit 2 RLE compression format 0x03 length value data 2 x pixel location to start data 3 y pixel location to start data 4 width of image in pixels data 5 height of image in pixels Response Packet type 0x40 0x28 0x68 10410 data length 1 data 0 2 Send Image Data To Display From Host Subcommand 3 Display Image File From MicroSD Card On CFA835 This command displays a BMP formatted image file located on the inserted microSD card The BMP file must be grayscale 8 bits pixel no compression
92. g or relating to any combination machine or process in which our products or services might be or are used All specifications in Data Sheets and on our website are to the best of our knowledge accurate but not guaranteed Corrections to specifications are made as any inaccuracies are discovered Company and product names mentioned in this publication are trademarks or registered trademarks of their respective owners Copyright 2014 by Crystalfontz America Inc 12412 East Saltese Avenue Spokane Valley WA 99216 0357 U S A N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 7 COLOR AND INTERFACE CHOICES INTERFACE CHOICES All CFA835 Intelligent Display Modules can simultaneously send and receive command packets using two interfaces USB and a serial interface When you order a CFA835 TFK CFA835 TML or CFA835 YYK on our website you can choose one of two serial interfaces using the Customize and Add to Cart feature For the serial interface you have two choices You can choose USB and logic level serial interfaces or USB and full swing RS232 serial interfaces when the optional CFA RS232 Serial Converter Board is purchased to customize your CFA835 order The special bridged interface mode allows use of an interface to communicate with other slave devices Difference Between The Two Serial Interface Choices
93. gs Once POWER ON SENSE GPIO 1 goes high the CFA835 will restart as if power had just been applied to it ATX Bitmasks bitO AUTO POLARITY Automatically detects polarity for restart and power recommended bitl RESTART INVERT Restart pin drives high instead of low ignored if AUTO POLARITY is set bit2 POWER INVERT Power pin drives high instead of low ignored if AUTO POLARITY is set bit3 LEDS MIMIC HOST POWER Turn off the LEDs also if the host is off ignored if MODULE MIMIC HOST POWER is not set bit4 MODULE MIMIC HOST POWER Turn off the display if the Host is off bit5 KEYPAD RESTART bit6 KEYPAD POWER ON bit7 KEYPAD POWER OFF Command Packet Read data length 0 Response Packet Read type 0x40 0x1C 0x5C 92 data length 2 data 0 bitmask of enabled functions data 1 length of power on amp off pulses in 1 32 second increments Command Packet Write data length 1 or 2 data 0 bitmask of enabled functions data 1 optional length of power on amp off pulses in 1 32 second increments 1 1 32 second 2 1 16 second 16 1 2 second 254 7 9 second 255 Hold until power sense change or 8 second whichever is shorter default N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 53 Response Packet Write type 0x40 0x1C 0x5C 9210 data length 0 29 0x1D Watchdog
94. he CFA835 will show RESTART and then the CFA835 will restart itself N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 52 showing its boot state as if it had just powered on Once the pulse has finished the CFA835 will not respond to any commands until after it has restart the host and itself Function 2 KEYPAD_POWER_ON If POWER ON SENSE GPIO 1 is low pressing the green check key for 0 25 seconds will pulse POWER CONTROL GPIO 2 for the duration specified in data 1 During this time the CFA835 will show POWER ON then the CFA835 will restart itself Function 3 KEYPAD_POWER_OFF If POWER ON SENSE GPIO 1 is high holding the red X key for 4 seconds will pulse POWER CONTROL GPIO 2 for the duration specified in data 1 If the user continues to hold the power key down then the CFA835 will continue to drive the line for a maximum of 5 additional seconds During this time the CFA835 will show POWER OFF Function 4 MODULE_MIMIC_HOST_ POWER If MODULE MIMIC HOST POWER is set the CFA835 will blank its display and turn off its backlight to simulate its power being off any time POWER ON SENSE GPIO 1 is low The CFA835 will still be active since it is powered by Vsp monitoring the keypad for a power on keystroke If 12v remains active which would not be expected since the host is off the fans will remain on at their previous settin
95. he user is responsible for setting the drive to the correct value in order for the desired GPIO mode to work correctly reserved Subcommand 6 Reset And Search This command sends a reset instruction to all attached CFA FBSCAB modules This will revert the CFA FBSCAB modules back to their saved power on state After the reset instructions have been sent the CFA835 re searches for attached CFA FBSCAB modules Note For one attached CFA FBSCAB this command takes approximately 400 mS to complete and return the response packet If multiple CFA FBSCABs are attached searching may take longer up to 2 additional seconds Command Packet data length 1 data 0O 6 Reset amp Search Response Packet type 0x40 0x25 0x65 101 data length 1 data 0 6 Reset amp Search N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 66 38 0x26 Custom Fonts The CFA835 is the first in our intelligent product line with a monochrome graphic LCD It supports printing text using most any custom font in most any language To support this exciting new functionality we ve developed a utility to convert fonts to the new CFA835 font structure Using this utility fonts can be created from scratch or imported from the Windows library and modified for export Custom fonts can then be transfered to the CFA835 using the on board microSD card The CF
96. hey can output constant high or low signals or a variable duty cycle 100 Hz PWM signal The default GPIO mode uses PWM and a suitable current limiting resistor to control the LEDs on the front of the module They can be turned on and off and even dimmed under host software control With suitable external circuitry the GPIOs can also be used to drive external logic or power transistors N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 56 The CFA835 continuously polls the GPIOs as inputs at 50 Hz The present level can be queried by the host software at a lower rate The CFA835 also keeps track of whether there were rising or falling edges since the last host query subject to the resolution of the 50 Hz sampling This means that the host is not forced to poll quickly in order to detect short events The algorithm used by the CFA835 to read the inputs is inherently debounced The GPIOs also have pull up and pull down modes These modes can be useful when using the GPIO as an input connected to a switch since no external pull up or pull down resistor is needed For instance the GPIO can be set to pull up Then when a switch connected between the GPIO and ground is open reading the GPIO will return a 1 When the switch is closed the input will return a 0 Pull up pull down resistance values are approximately 40kQ Typical GPIO current limit
97. ight by X pixels uint8 t ScreenSpaceTop offset character positions downwards by X pixels uint8 t Flags font flags font editor use only these values can be undefined CFA835 module disregards these values char OrigFont 128 uints t TrimTop uint8 t TrimBottom uint8 t TrimLeft uint8 t TrimRight FR FileHeader typedef struct vo Crystalfontz Data Sheet Release 2014 10 13 ir www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 N Page 93 uint8 t CharFlags character flags uint8 t CharWidth character width in pixels for proportional fonts uint8 t CharData FR FileHeader DataWidth FR FileHeader DataHeight FR Character typedef struct FR FileHeader Header FR Character Characters FR FileHeader EndChar FR FileHeader StartChar FR FontFile ALGORITHMS TO CALCULATE THE CRC Below are eight sample algorithms that will calculate the CRC of a CFA835 packet Some of the algorithms were contributed by forum members and originally written for the CFA631 The CRC used in the CFA835 is the same one that is used in IrDA which came from PPP which seems to be related to a CCITT ref Network Working Group Request for Comments 1171 standard At that point the trail was getting a bit cold and diverged into several referenced articles and papers dating back to 1983 The polynomial used is X16 X1 X X 0x8408 The result is bit wise inverted before being returned
98. ing cfTest 38 FIRMWARE 2 22 2222s esses ee eee 38 How To Identify Firmware Revision Number 38 Possible Future Firmware Updates 39 Create Your Own Firmware 39 HOST COMMUNICATIONS 2 2222222222 seen eee eee eee eee eens 39 Through USB 39 Through Serial 39 Multiple Port Communications 40 Packet Structure 40 About Handshaking 41 Command Codes 42 O 0x00 Ping Command 44 1 0x01 Get Module Information 44 2 0x02 Write User Flash Area 44 3 0x03 Read User Flash Area 45 4 0x04 Store Current State As Boot State 45 5 0x05 Restart 7 7 46 6 0x06 Clear Display
99. ligent LCD Modules Hardware v1 0 Firmware v0 6 Page 92 return false if we get to here crc status 0 so temperature data is valid calculate temperature deg c temp raw float 16 0 deg f deg c 9 0 5 0 32 0 return text sprintf output FBSCAB d SENSOR d TEMP DEGC 0 2f TEMP DEGF 0 2f fbscab index sensor index deg c deg f done return true SAMPLE CODE FOR FONT FILE FORMAT The following source code is C pseudo code It will need to be modified to fit your application The structures are little endian and are byte aligned packed font flags define FR None 0x00 define FR AntiAliased 0x01 define FR Proportional 0x02 define FR MergeAA 0x04 define FR Sharpen 0x08 define FR CenterScreen 0x10 char flags define FR NoChar 0x00 define FR HasCharacter 0x01 define FR IsCustomChar 0x02 version information define FR FileID CFFF define FR FileVersion 105 typedef struct char ID 4 FR_FileID uint16 t Version FR_FileVersion rendering data uint8 t DataWidth character width in pixels uint8 t DataHeight character height in pixels uint16 t StartChar UTF16 character number of first character in font file uint16 t EndChar UTF16 character number of last character in font file uint8 t CharSpaceRight extra character spacing on the right uint8 t CharSpaceBelow extra character spacing below uint8 t ScreenSpaceLeft offset character positions to the r
100. lity in the configuration of the GPIO pins They can be set as input or output They can output constant high or low signals or a variable duty cycle 100 Hz PWM signal In output mode using the PWM and a suitable current limiting resistor an LED may be turned on or off and even dimmed under host software control With suitable external circuitry the GPIOs can also be used to drive external logic or power transistors The CFA FBSCAB continuously polls the GPIOs as inputs The present level can be queried by the host software at a lower rate The CFA FBSCAB also keeps track of whether there were rising or falling edges since the last host query subject to the resolution of the 50 Hz sampling This means that the host is not forced to poll quickly in order to detect short events The algorithm used by the CFA FBSCABs to read the inputs is inherently debounced The GPIOs also have pull up and pull down modes These modes can be useful when using the GPIO as an input connected to a switch since no external pull up or pull down resistor is needed For instance the GPIO can be set to pull up Then when a switch connected between the GPIO and ground is open reading the GPIO will return a 1 When the switch is closed the input will return a 0 Pull up pull down resistance values are approximately 40kQ Typical GPIO current limits when sinking or sourcing all five GPIO pins simultaneously are 8 mA Command Packet Set Pin Value
101. ll within the stated Data Sheet specifications and tolerances of the discontinued module changes may require modification to your circuit and or firmware Possible changes include Backlights with LEDs Brightness may be affected perhaps the new LEDs have better efficiency or the current they draw may change new LEDs may have a different VF Controller A new controller may require minor changes in your code Component tolerances Display module components have manufacturing tolerances In extreme cases the tolerance stack can change the visual or operating characteristics Please understand that we avoid changing a display module whenever possible we only discontinue a display module if we have no other option We post Part Change Notices PCN on the product s website page as soon as possible If interested you can subscribe to future part change notifications CARE AND HANDLING PRECAUTIONS For optimum operation of the CFA835 and to prolong its life please follow the precautions described below Caution When not in use always verify that the microSD card socket is in the closed and LOCKED position Caution Excessive voltage will shorten the life of the module You must drive the display within the specified voltage limit See Absolute Maximum Ratings Pg 23 HANDLING CAUTIONS Display Modules Shipped In Trays If you receive display modules packed in trays handle trays carefully by supporting the entire tray
102. mode to work correctly reserved must be 0 Response Packet Write type 0x40 0x22 0x62 98 data length 0 36 0x24 Interface Bridge Interfaces 0 serial 1 USB The CFA835 has two interfaces USB and a serial interface logic level or full swing RS232 with mounted optional CFA RS232 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 58 By default all interfaces on the CFA835 have the command interpreter enabled and are used by the host or hosts to send receive command packets to and from the CFA835 If the command interpreter is disabled for an interface using command 33 0x21 Interface Options Pg 54 that interface can be used to forward and receive raw data using this command For example a host connected to the CFA835 s USB interface could send raw data to the serial interface buffer Incoming raw data on the serial interface is buffered and can be read from the buffer using the USB interface Note This command will return an error if the interface being written to or read from has the command interpreter enabled Serial Interface If the command interpreter is turned off incoming bytes will be buffered in a circular buffer If the buffer is allowed to wrap it will overwrite the oldest data first If the circular buffer does wrap the next write read command response will have the buffer overflow
103. n the 1 wire bus The CFA835 will return the acknowledge packet immediately then reload its settings Command Packet type 0x05 510 data length 3 data 0 8 data 1 18 data 2 99 Restart Host WR PWR Y25 ATX Power Switch Cable Required This option instructs the CFA835 to restart the host via the WR PWR Y25 ATX power switch cable and then restart itself This command will also restart any attached CFA FBSCAB modules to the state saved in their nonvolatile memory The CFA835 will return the acknowledge packet before carrying out the actions Command Packet type 0x05 510 data length 3 data 0 12 data 1 28 data 2 97 Power Off Host WR PWR Y25 ATX Power Switch Cable Required This option instructs the CFA835 to power down the host via the WR PWR Y25 ATX power switch cable and then restart itself This command will also restart any attached CFA FBSCAB modules to the state saved in their nonvolatile memory Command Packet type 0x05 510 data length 3 data 0 3 data 1 11 data 2 95 CFA835 Restart Performs a software restart of the CFA835 module If used with USB interface this command will cause the CFA835 module to disconnect and then reconnect re enumerate This command will also restart any attached FBSCAB modules to the state saved in their nonvolatile memory N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0
104. ncrease the delay count to give it some margin Setting the glitch delay to higher values will make the fan tachometer monitoring slightly more intrusive at low power settings Also the higher values will increase the lowest speed that a fan with tachometer reporting enabled will seek at 0 power setting Subcommand 0 Read CFA FBSCAB Information This subcommand returns the quantity of CFA FBSCABs detected by the CFA835 or the serial number of a specified CFA FBSCAB Command Packet Query Number Of CFA FBSCABs data length 1 data 0 0 read FBSCAB information N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 60 Response Packet Query Number Of CFA FBSCABs type 0x40 0x25 0x65 101 data length 2 data 0 0 read FBSCAB information data 1 number of attached FBSCABs Command Packet Query CFA FBSCAB Serial Number type 0x25 3710 data length 2 data 0 0 Read FBSCAB Information data 1 FBSCAB index Response Packet Query CFA FBSCAB Serial Number type 0x40 0x25 0x65 101 data length 18 data 0 0 read FBSCAB Information data 1 index of queried FBSCAB data 2 18 serial number of specified FBSCAB module text Subcommand 1 Fan Settings This command will configure or read the power settings for the fan connectors on the specified CFA FBSCAB module Command Packet Set Fan Power
105. nctionality Pg 51 GPIO 3 ATX Host Restart Control The motherboard s restart switch input is connected to GPIO 3 This GPIO line functions as RESTART The RESTART pin is configured as a high impedance input until the CFA835 wants to restart the host Then it will change momentarily to low impedance output driving either low or high depending on the setting of RESTART_INVERT See command 28_ Ox1C ATX Functionality Pg 51 This connection is also used for the hardware watchdog Control Connections Connector GPIO 2 ATX Host POWER CONTROL GPIO 3 ATX Host RESTART CONTROL For full swing RS232 using the optional CFA RS232 Serial Converter Board the H1 pins are passed through to the CFA RS232 s J1 connector LY YV Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 38 Below is an illustration of how the optional WR PWR Y25 ATX power switch cable connects to the CFA835 s connector H1 and your hosts motherboard and ATX power supply CFA835 POWER POWER CONTROL H1 Connector RESET RESET Power Power supply Typical refer to your computer manual Peripheral A e Connector o 5v Sense Connects to 16 pin connector VSB lt q Vss always on 5v H1 on module CJNI D lt q GND Figure 1
106. nd displayed Many font size type spacing and other options are available See CFA835 commands Subcommand 0 Load Custom Font Files From MicroSD Card and Subcommand 1 Print Custom Font To Display for details on font file use ro Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 87 CFA835 Video Encoder i CFA835 Video Encoder Crystalfontz America Inc Input Video lt filename gt Use Existing Image Frame Files Start Position sec Length sec 0 end of file 0 0 Output Video lt filename gt Output Width pixels 0 full size Output Height pixels 0 full size 0 0 a Output Framerate Resize Align Rotate er v Negative Image Palette Size NOs Maximum Shades Keep Image Frame Files Save Resized Greyscale Image Files Processing on large video files may take a lot of time to complete minutes or hours The conversion process may use a lot of disk space DEANE TELL Make sure you have adequate space left on your C Drive Windows or tmp Linux The Video Encoder converts common video format files into a video file that the CFA835 can play to the display The video conversion uses MPlayer a GNU GPLv2 licensed open source software to create many single image files from the source video and then reassembles the image files into a CFA835 video file Processing time depends on the
107. ndled together in a CFA835 utilities package The utilities are built upon the most recent cf Test command descriptions cfTest is also included in the package CFA835 Font Editor ie CFA835 Font Editor Crystalfontz America Inc Font Selection Font Point Size 8 Start End Character List 32 0x0020 42 0x002a 2 52 0x0034 8 62 0x003e 2 B E 72 0x0048 ERNAS LE L3 Start Character 32 End Character 126 Show Empty Rows _ Font Options Character Preview Editor Anti Alias Merge AA Non AA Sharpen Selected 32 0x0020 Use Proportional Spacing Top amp Bottom Trim 0 Left amp Right Trim 0 Extra Character Spacing 0 Center Text on LCD Metrics Font MS Shell Dig 2 Character Size pixels 12 x 16 LCD Size pixels 244 x 68 LCD Size chars 20 columns 4 rows LCD Borders pixels left 0 right 4 top 0 bottom 4 Proportional Spacing Width 1 left click darken right click lighten Revert The CFA835 Font Editor converts any font into the CFA835 font format The editor creates CFA835 compatible custom font files using fonts available on the your PC When the font file is loaded onto a microSD card inserted into the CFA835 card socket the module can write custom font text to the display The font converter and CFA835 support UTF16 Unicode fonts allowing non English for example Cyrillic Asian symbolic etc font files to be created a
108. o it Location of mounting holes display and keypad are the same for the CFA835 and CFA635 The CFA835 hardware is identical to the CFA 735 hardware Q The CFA835 command set supports most of the commands from the standard Crystalfontz Packet Command set Certain commands have been expanded to support increased functionality as well as the addition of many new use ful commands See Command Codes Pg 42 You can download the free software cflest to experiment with this command set Q Commands include tools to draw lines rectangles and circles For example create a chart to display temperature fluctuations over time Q The CFA835 has a microSD card socket and is compatible with most FAT 12 16 32 formatted SDHC microSD cards Use the microSD card to display images play videos log data and even update firmware LJ Fits nicely in a 1U rack mount case using an optional mounting bracket Or use the optional SLED chassis that holds the CFA835 one optional CFA FBSCAB and a 3 5 inch disk drive not included Order a bracket or SLED using the Customize and Add to Cart feature on our website Select from 4 overlay colors N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 9 LI Available in three colors the edge lit display is backlight with 12 LEDs 6 per side and has an attractive stainless steel bezel LI Six button translucent silicone keypad with
109. o sjnpoyy Aeldsiq Z aniy P A V og 325 Ta RE 300 A ae ae H f TOT N 025 Flex Detail B Pixel Detail C LED Detail A Front View PCB Cutout For USB MicroSD Cable Clearance Card Slot l mw fe jen Back View CFA835 TML Not to scale CFA835 Family_master v1 0 Crystalfontz America Inc CFA835 YYK Unis BE Spee www crystalfontz com products Millimeters 2014 02 07 2 of 2 STIVLAG 13Xld 8 M3IA MOVE ONIMVYC ANITILNO JINGOW AV1dSIC 6 e6ed Q gt foe oe Ol 5 P r m O J Oo Q D a Q Q Q D lt a 3 Q D lt d J D er D wn S D D an A D D T D N T I oo Buimeiq jieyeq pedA y 9g ni Color Red Pantone 032U 5 0 17 5 0 2 17 5 0 2 5 0 A a A 6 Cc OT T ins 10 0 O Kr O 12 343 17 520 2 LED dice dimension 1 6mm L x0 8mm W x0 8mm H 3 0 12 0 11 0 2 0 T9 Color Black Pantone Black a 5 0 S Bs Rl o o z R N yg o o i a9 11 814 10 0 Color Green Pantone 361U 0 7 Notes 1 Material silicone rubber hardness durometer 50 Shore A 2 Carbon coated 3 Lifetime 1 million keystrokes 4 Resistance Less than 100 Q 5 Actuation Force 80 120 grams 6 Silicone rubber color translucent white 7 All comers have a fillet radius of 0 75mm
110. p lngWId 1 most of the algorithm is from functions in 635 WinTest http www crystalfontz com product 635WinTest html Full zip of the project is available in our forum http www crystalfontz com forum showthread php postid 9921 post9921 Private Type WORD Lo As Byte Hi As Byte Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 98 End Type Private Type PACKET STRUCT command As Byte data length As Byte data 22 As Byte crc As WORD End Type Dim crcLookupTable 256 As WORD Private Sub MSComm OnComm Leave this here End Sub My understanding of visual basic is very limited however it appears that there is no way to initialize an array of structures Nice language Fast processors lots of memory big disks and we fill them up with this this this STUFF Sub Initialize CRC Lookup Table crcLookupTable 0 Lo amp HO crcLookupTable 0 Hi amp HO For purposes of brevity in this data sheet I have removed 251 entries of this table the full source is available in our forum http www crystalfontz com forum showthread php postid 9921 post9921 crcLookupTable 255 Lo crcLookupTable 255 Hi End Sub amp H7 8 amp HF This function returns the CRC of the array at data for length positions Private Function Get Crc ByRef data As Byte ByVal length As Integer As WORD Dim Index As Integer Dim Table
111. production runs at one time so your displays will be from the same lot About Volatility The CFA835 has nonvolatile memory N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 6 Additional Fine Print Certain applications using Crystalfontz America Inc products may involve potential risks of death personal injury or severe property or environmental damage Critical Applications CRYSTALFONTZ AMERICA INC PRODUCTS ARE NOT DESIGNED INTENDED AUTHORIZED OR WARRANTED TO BE SUITABLE FOR USE IN LIFE SUPPORT APPLICATIONS DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS Inclusion of Crystalfontz America Inc products in such applications is understood to be fully at the risk of the customer In order to minimize risks associated with customer applications adequate design and operating safeguards should be provided by the customer to minimize inherent or procedural hazard Please contact us if you have any questions concerning potential risk applications Crystalfontz America Inc assumes no liability for applications assistance customer product design software performance or infringements of patents or services described herein Nor does Crystalfontz America Inc warrant or represent that any license either express or implied is granted under any patent right copyright or other intellectual property right of Crystalfontz America Inc coverin
112. ptional CFA FBSCAB Connected To CFA835 With WR EXT Y37 Extension Cable 10 Figure 3 Example Of Optional CFA FBSCABs Daisy Chained with WR EXT Y37 11 Figure 4 Bracket With Silver Brushed Anodized Aluminum Overlay 16 Figure 5 SLED With Black Plastic Overlay 16 Figure 6 Display Module Outline Drawing Front And Side Views 18 Figure 7 Display Module Outline Drawing Back View And Pixel Details 19 Figure 8 Keypad Detail Drawing 20 Figure 9 System Block Diagram 21 Figure 10 Definition Of Optimal Contrast Setting Negative Image 31 Figure 11 Definition Of Optimal Contrast Setting Positive Image 31 Figure 12 Definition Of Response Time Tr Tf Negative Image 32 Figure 13 Definition Of Response Time Tr Tf Positive Image 32 Figure 14 Definition Of 6 00 O Clock And 12 00 O Clock Viewing Angles 33 Figure 15 Definition Of Horizontal And Vertical Viewing Angles CR gt 2 33 Figure 16 Location Of CFA835 Connectors 34 Figure 17 Pin Assignments on CFA835
113. rcle will not be displayed onto the CFA835 until command 40 Subcommand 1 Buffer Flush Pg 69 is executed Command Packet data length 6 data 0 8 Draw a Circle data 1 x of circle data 2 y position center of circle data 3 circle radius data 4 line shade data 5 fill shade 0 is transparent Response Packet type 0x40 0x28 0x68 10410 data length 1 data 0 8 Draw a Circle 41 0x3A Video Playback Control Subcommand 0 Load A Video From MicroSD Card The CFA835 can play up to four independent video files four slots to the CFA835 at a time Video slots are drawn in order of slot number so a video in slot 1 will be displayed over the top of a video in slot 0 Each video can be controlled independently using the subcommand immediately below Subcommand 1 Video Control Pg 73 The video files must be encoded using the CFA835 Video Encoder utility See CFA835 Video Encoder Pg 87 Note Playing a video directly on top of another video may result in flicker We recommend against doing this If your project solution depends on playing multiple videos layered over each other compression must be disabled during encoding and the videos must have the same frame rate Command Packet type 0x29 41156 data length 3 to 124 data 0 0 Load A Video From MicroSD Card data 1 video slot number 0 to 3 data 2 123 name of the video file on the microSD card Response Packet type 0x40
114. rting of this fan s tach input S state at the last reading at least one falling edge has been detected since the last poll R at least one rising edge has been detected since the last poll reserved this reading is the actual pin state which may or may not agree with the pin setting depending on drive mode and the load presented by external circuitry the pins are polled at approximately 32Hz asynchronously with respect to this command transients that happen between polls will not be detected data 4 requested pin level PWM level 0 100 output duty cycle percentage this value is the requested PWM duty cycle the actual pin may or may not be toggling in agreement with this value depending on the drive mode and the load presented by external circuitry data 5 pin function select and drive mode FDDD I I I ry ll 000 l strong drive up O resistive pull down 001 l strong drive up O strong drive down 010 hi Z use for input 011 l resistive pull up O strong drive down 100 1l strong drive up 0 hi Z 101 l strong drive up O strong drive down 110 reserved do not use error returned 111 1 hi Z 0 strong drive down F function 0 port unused for GPIO It will take on the default function such as ATX DOW on CFA FBSCABs or unused the user is responsible for setting the drive to the correct value in order for the default function to work correctly 1 port used for GPIO under user control t
115. s bitO up key bitl enter key bit2 cancel key bit3 left key bit4 right key bit5 down key Command Packet Read data length 0 Response Packet Read type 0x40 0x17 0x57 8710 data length 2 data 0 current keypad press mask data 1 current keypad release mask Command Packet Write type 0x17 234 data length 2 data 0 press mask valid 0 63 data 1 release mask valid 0 63 Response Packet Write type 0x40 0x17 0x57 8719 data length 0 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 51 24 0x18 Read Keypad Polled Mode In some situations it may be convenient for the host to poll the CFA835 for key activity This command allows the host to detect which keys are currently pressed which keys have been pressed since the last poll and which keys have been released since the last poll This command is independent of the key reporting masks set by command 23 0x17 Keypad Reporting Pg 50 All keys are always visible to this command Typically both masks of command 23 would be set to 0 if the host is reading the keypad in polled mode Keypad Bitmasks bitO up key bitl enter key bit2 cancel key bit3 left key bit4 right key bit5 down key Command Packet type 0x18 data length 2446 0 Response Packet type 0x40 0x18 0x58 88 data length 3
116. s Backlights 4 Red 4 Green 3 Vpp 5 0v at 100 at 100 a m em COE E N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 U Page 26 Lo CFA835 TML Near White On Blue 275 3 3V 3 5v 4 0v 4 5v 5 0v Typical Current Consumption mA 0 10 20 30 40 50 60 70 80 90 100 LED Keypad and Display Backlight Power Setting TYPICAL TENS ENASTED CURRENT CONSUMPTION Display and Keypad All Status LEDs Backlights 4 Red 4 Green Vpp 3 3v VbDp 5 0v at 100 at 100 o o m m op e o k om aom N Crystalfontz Data Sheet Release 2014 10 13 YV CFA835 YYK Dark On Yellow Green eG 350 Typical Current Consumption mA 0 10 20 30 40 50 60 70 80 90 100 LED Keypad and Display Backlight Power Setting TYPICAL PENS ee CURRENT CONSUMPTION Display and Keypad All Status LEDs Backlights 4 Red 4 Green Vpp t3 3V Vpp 5 0v at 100 at 100 o o m m op e o k m om ESD ELECTRO STATIC DISCHARGE Tx and Rx pins when serial interface is used 15 kV Human Body Model 15 kV IEC1000 4 2 Air Discharge 8 kV IEC1000 4 2 Contact Discharge 3 3v 3 5v 4 0v 4 5v 5 0v www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 27 The remainder of the circuitry is industry standard CMOS logic and is susceptible to ESD damage Please use industry
117. s are supported per CFA FBSCAB Crystalfontz offers the WR FAN X01 extension cable to extend the range of your fans The WR FAN X01 fan cable is about 1 foot 4 30 inches long Connect the cable s 3 pin male connector to a CFA FBSCAB s connectors labeled FAN1 FAN2 FAN3 or FAN4 Connect the cable s 3 pin female connector to a fan s connector Fans are not sold by Crystalfontz Daisy Chain male connector allows Female connector mates with male header on 633 DS18B20 sensor WR DOW Y17 Temperature Sensor a 1 2 2 _ The WR DOW Y17 temperature sensor cable is about 1 foot 1 15 inches in length overall When an optional CFA FBSCAB is connected to a CFA835 you can add a WR DOW Y17 to the CFA FBSCAB s connector labeled J DOW The WR DOW Y17 has a Maxim DS18B20 Programmable Resolution 1 Wire temperature sensor attached to a daisy chainable cable If desired connect the cable s 3 pin male connector to an additional temperature sensor Up to 32 temperature sensors per CFA FBSCAB can be connected daisy chained Connect the cable s 3 pin female connector to the CFA FBSCAB s connector labeled J_ DOW The cable has a male expansion header midway along its length If desired connect the cable s 3 pin male connector to an additional temperature sensor The Maxim DS18B20 temperature sensor on the WR DOW Y17 has 0 5 C absolute accuracy You can make your own temperature sensor cable using
118. s when sinking or sourcing all five GPIO pins simultaneously are 8 mA If you need more information see the ST Micro STM32F103 datasheet Note The GPIO pins may also be used for ATX control through the H1 connector using the WR PWR Y25 ATX power switch cable By factory default the GPIO output setting function and drive mode are set correctly to enable operation of the ATX function The GPIO output setting function and drive mode must be set to the correct values in order for the ATX function to function properly Our free demonstration software cfTest may be used to easily check and restart the GPIO configuration to the default state so the ATX and DOW WR DOW Y17 temperature sensor cable functions will work Command Packet Read data length 1 data 0 index of GPIO GPO to read 0 12 valid Response Packet Read type 0x40 0x22 0x62 98 data length 4 data 0 index of GPIO GPO data 1 pin output state data 2 pin PWM output value data 3 pin function select and drive mode N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 57 Command Packet Write data length 2 bytes to change value only 3 bytes to change value and configure function and drive mode data 0 index of GPIO GPO to modify 0 12 valid 0 GPIO 0 H1 pin 11 1 GPIO 1 Hl pin 12 default is ATX Host Power Sense 2 GPIO 2 Hl pin 9 de
119. set 2 fan index 3 prepare output string output offset sprintf amp o0utput output offset FAN d fan index get the fan data from the packet cycles packet gt data data offset timer lsb packet sdata data offset 1 timer msb packet sdata data offset 2 timer ticks timer lsb timer msb lt lt 8 check fan cycles value if cycles lt 3 fan has stopped output offset sprintf amp output output offset STOPPED next fan continue if cycles lt 4 fan is turning too slow to count RPM output offset sprintf amp output output offset SLOW next fan continue if cycles OxFF unknown value output offset sprintf amp output output offset UNKNOWN next fan continue if we get to here we have valid fan tach data calculate fan RPM pulses per revolution 2 specific to each fan most commonly 2 fan rpm 27692308L pulses per revolution cycles 3 float tim er ticks add RPM to output string output offset sprintf amp output output offset 5 2f fan rpm done next fan all done return true Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 91 N Y SAMPLE CODE FOR TEMPERATURE SENSOR REPORT The following C function will decode the Temperature Sensor Report packet into C and F bool Han
120. source video file See CFA835 commands 41 0x3A Video Playback Control for details on playing a video on the CFA835 io Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 88 CFA835 Graphic Test aie CFA835 Graphic Test Crystalfontz America Inc CFA835 Port Selection Communications Port COM1 Note USB Connection to the CFA835 is required Packet Log most recent at top sent 0x00 0x10 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x00 0x10 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x00 0x10 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0X00 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x00 0x10 OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf OxOf 0x00 0x10 OxOe 0Ox0e OxOe 0x0e OxOe 0x0e 0x0e Ox0e OxOe 0x0e OxOe O0x0e 0x0e OxO0e 0x0e 0x0e 0x00 0x10 OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd OxOd 0OxOd Ox0d 0x00 0x10 OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc OxOc Ox0c 0x00 0x10 Ox0b Ox0b OxOb OxOb OxOb OxOb OxOb OxOb OxOb OxO0b OxOb OxOb OxOb OxOb OxOb 0x0b 0x00 0x10 OxOa OxOa OxOa Ox0a OxOa OxOa OxOa OxOa OxOa OxO0a OxOa OxOa Ox0a Ox0a Ox0a Ox0a 0x00 0x10 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0
121. ss subcommand immediately above Subcommand 0 Graphic Options Pg 69 bit 0 is set to manual Command Packet data length 1 data 0O 1 Buffer Flush Response Packet type 0x40 0x28 0x68 104 data length 1 data 0O 1 Buffer Flush Subcommand 2 Send Image Data To Display From Host This command supports a special data streaming mode unique to this command After this packet has been sent to the CFA835 raw pixel data not in normal packet format is sent to the CFA835 Note As graphical data is not sent in packets it is not CRC checked Any data transmission errors will result in an incorrect image being displayed on the CFA835 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 70 Note A return acknowledge packet will not be sent by the CFA835 to the host until transmission of the graphical data is complete Note If manual buffer flush is enabled see command 40 Subcommand 0 Graphic Options Pg 69 the image will not be drawn until the subcommand immediately above Subcommand 1 Buffer Flush Pg 69 is executed Note This command has no support for directly interpreting jpg png bmp etc file formats only raw pixel data cfTest includes functionality to convert an image many different formats into raw data which is then sent to the CFA835 The raw pixel data transfer must be completed within 500 ms
122. ssed at a time The subcommands 1 through 4 operate on the opened file data 1 options 1 and 2 will set the file pointer position to the start of the file position 0 data 1 option 2 will set the file pointer position to the end of the file Command Packet type 0x27 3919 data length 2 to 124 data 0 0 Open Close File data 1 options 0 close currently opened file file name does not need to be specified 1 open file for reading 2 open file for reading and writing truncates existing file 3 open file for reading and writing appends to existing file data 2 123 file name of the file located on the microSD card Response Packet type 0x40 0x27 0x67 10340 data length 5 data 0 0 Open Close File data 1 4 file size in bytes Subcommand 1 Position Seek This command seeks sets the file pointer to the location specified in the file opened with the subcommand immediately above Subcommand 0 Open Close MicroSD File Command Packet type 0x27 3919 data length 5 data 0 1 Position Seek data 1 4 32 bit location of byte position in the file LSB first N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 68 Response Packet type 0x40 0x27 0x67 10349 data length 1 data 0 1 Position Seek Subcommand 2 Read File Data Read data from the file opened by command 39 Subcommand
123. t Release 2014 10 13 y wwwcrystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 NV Page 85 MAJOR MINOR 7 DEFECT TYPE CRITERIA Backlight defects 1 Light fails or flickers Color and luminance do not correspond to specifications Exceeds standards for display s blemishes or foreign matter see test Minor 5 Pg 84 and dark lines or scratches see test 6 Pg 84 Minor if display functions correctly Major if the display fails COB defects Pinholes gt 0 2 mm Seal surface has pinholes through to the IC Minor More than 3 locations of sealant beyond 2 mm of the sealed areas not smooth Minor if display functions correctly Major if the display fails Soldering defects Unmelted solder paste Cold solder joints missing solder connections or oxidation Solder bridges causing short circuits Minor Solder balls Minor if display functions correctly Major if the display fails PCB defects Oxidation or contamination on connectors Wrong parts missing parts or parts not in specification Jumpers set incorrectly Minor Solder if any on bezel LED pad zebra pad or screw hole pad is io Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 T Page 86 APPENDIX B FREE DEMONSTRATION AND OTHER SOFTWARE CFA835 UTILITIES The three CFA835 Window utilities described below are bu
124. telligent LCD Modules Hardware v1 0 Firmware v0 6 T Page 8 COLOR CHOICES The CFA835 Intelligent Display Modules have three color choices 3 Color Choices a Crystalfontz q i a Crystalfontz 2 a CFA835 j CFA835 Part Number ONV anterri seen A EV 1835 CFA835 TFK CFA835 TML CFA835 YYK Glass Color black neutral neutral Polarizer Film transflective transflective 1FSTN has better contrast than STN Positive Image Displays dark near black characters on light near white background The display can be read in normal office lighting in dark areas and in bright sunlight Negative Image Display can be read in normal office lighting and in dark areas May be difficult to read in direct sunlight FEATURES LIST Q The CFA835 is a 244 x 68 graphic display module The CFA835 can display 5 bit 32 shade grayscale images from a host computer or a microSD card LI Create your own custom made Unicode compatible fonts to fit as many as 80 small characters x 8 lines in any lan guage Or use our standard set of characters See CHARACTER GENERATOR ROM CGROM FOR STANDARD SET OF CHARACTERS Pg 76 LI Free downloadable utilities package includes the CFA835 Font Editor CFA835 Video Encoder and CFA835 Graphic Test See CFA835 Utilities Pg 86 Q Active Area is 77 97 W x 22 38 H millimeters Pixel size is 0 300 W x 0 325 H millimeters LI The CFA835 is mechanically similar to the CFA635 but not identical t
125. tem is initialized and ready to receive the data Command Packet type 0x04 440 data length 0 Response Packet type 0x40 0x04 0x44 68 data length 0 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 T Page 46 5 0x05 Restart Depending on the parameters you provide this command provides five restart options 1 Reload Boot Settings 2 Restart Host 3 Power Off Host 4 CFA835 Restart or 5 CFA835 Restore Default Settings When using both the USB and a serial interface simultaneously logic level or full swing RS232 with mounted optional CFA RS232 Serial Converter Board you may notice that performing a restart from one interface will impact the other interface The ATX related options to power down or restart the host using the CFA835 may be useful in many situations The ATX related options to power down or restart the host using the CFA835 may be useful in many situations These options rely on the GPIO pins used for ATX control to be configured in their default drive modes in order for the ATX functions to work correctly See command 28 0x1C ATX Functionality Pg 51 Reload Boot Settings Reloads the settings stored using command 4 0x04 Store Current State As Boot State Pg 45 Reloading the boot settings may be useful when testing the boot configuration It may also be useful to re enumerate the devices o
126. th port settings 115200 baud 8 data bits no parity 1 stop bit Baud rate can be changed to 19200 or 9600 baud See command 33 0x21 Interface Options Pg 54 N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 T Page 40 MULTIPLE PORT COMMUNICATIONS The CFA835 supports communication through two interfaces at the same time Keypad report packets are sent to all available interfaces All command reply packets are sent to the interface from which the command packet originated PACKET STRUCTURE All communication between the CFA835 and the host takes place in the form of a simple and robust CRC checked packet The packet format allows for very reliable communications between the CFA835 and the host without the traditional problems that occur in a stream based serial communication such as having to send data in inefficient ASCII format to escape certain control characters or losing sync if a characters is corrupted missing or inserted Note Reconciling packets is recommended rather than using delays when communicating with the CFA835 To reconcile your packets please ensure that you have received the acknowledgment packet from the packet most recently sent before sending any additional packets to the CFA835 This practice will guarantee that you will not have any dropped packets or missed communication with the CFA835 The following C defini
127. tion may be useful for understanding the packet structure typedef struct unsigned char type unsigned char data length unsigned char data max data length unsigned short CRC COMMAND PACKET All packets have the following structure lt type gt lt data length gt lt data gt lt CRC gt type Is one byte and identifies the type and function of the packet TTcc ccecce command response error or report code 0 63 type 00 normal command from host to CFA835 01 normal response from CFA835 to host 10 normal report from CFA835 to host not in direct response to a command from the host 11 error response from CFA835 to host data length specifies the number of bytes that will follow in the data field The valid range of data_length is 0 to 124 data is the payload of the packet Each type of packet will have a specified data_length and format for data as well as algorithms for decoding data detailed below CRC is a Standard 16 bit CRC of all the bytes in the packet except the CRC itself The CRC is sent LSB first At the port the CRC immediately follows the last used element of data See APPENDIX B FREE DEMONSTRATION AND OTHER SOFTWARE Pg 86 for several examples of how to calculate the CRC in different programming languages N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 41 ABOUT HANDSHAKING The n
128. tional CFA RS232 Serial Converter Board you will be prompted to add RS232 cables to supply power and communications WR 232 Y08 a ___ The WR 232 Y08 cable is about 2 feet 2 55 inches long Connect the cable s 10 pin female connector to the CFA RS232 s J1 connector Connect cable s RS232 DB9 9 pin female connector to your host s external 9 pin serial port Ca Tmi me i WR 232 Y22 Gummi The WR 232 Y22 cable is about 2 feet 1 inches long Connect the cable s 0 1 2x5 female connector to the CFA RS232 s J1 10 pin connector Connect the cable s second 0 1 2x5 female connector to your host s motherboard 10 pin connector Choose standard or alternate pinout n O WR 232 Y23 The WR 232 Y23 cable is about 2 feet 1 75 inches long Connect the cable s 0 1 2x5 female connector to the CFA RS232 s J1 10 pin connector Connect the cable s RS232 DB9 9 pin female connector to your host s external 9 pin serial port Choose standard or alternate pinout Note This cable is not listed on the CFA835 Customize and Add to Cart feature Add the cable as a separate item to your order CABLE FOR ATX FUNCTIONALITY ATX power supply control functionality allows the buttons on the CFA835 to replace the power and restart button on your system simplifying front panel design For more information see ATX Power Supply Power And Control Connections Pg 37 followed by How to Set ATX Functionality Using cf
129. ules Hardware v1 0 Firmware v0 6 www crystalfontz com Page 107 LogMag g Abort Alarm Abort Alarm 100 5 00 10 0 Hz Y axis GR 63 CORE 5 4 2 Office Vibration Alternative Test LogMag g Abort Alarm a ADOT Alarm 100 5 00 10 0 Hz X axis GR 63 CORE 5 4 2 Office Vibration Alternative Test Test Report Number CRYSTALFONTZ002 Page 4 of 7 Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 108 200m 100m LogMag g rms Hz oO 3 2 00m 20 0 100 0 1000 0 2000 0 Hz X axis MIL STD 810F Figure 514C 17 Random 200m 100m LogMag g rms Hz 3 2 00m 20 0 100 0 1000 0 2000 0 Hz Y axis MIL STD 810F Figure 514C 17 Random Test Report Number CRYSTALFONTZ002 Page 5 of 7 Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 109 200m 100m LogMag g rms Hz S O 3 2 00m 20 0 100 0 1000 0 2000 0 Hz Z axis MIL STD 810F Figure 514C 17 Random 10 0 1 00 LogMag g 100m 5 00 10 0 100 500 Hz Z axis MIL STD 810F Figure 514C 18 Sine Test Report Number CRYSTALFONTZ002 Page 6 of 7 Crystalfontz Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 www crystalfontz com Page 110
130. unt unsigned char ptr unsigned short crc Calculated CRC unsigned char i Loop count bits in byte unsigned char data Current byte being shifted crc OxFFFF Preset to all 1 s prevent loss of leading zeros while count data ptr i 8 do if crc data amp 0x01 cre gt gt 1 crc 0x8408 else cre gt gt 1 data gt gt 1 while i 0 return erc Algorithm 3 PIC Assembly Bit Shift Implementation This routine was graciously donated by one of our customers originally for the CFA635 Crystalfontz CFA835 PIC CRC Calculation Example This example calculates the CRC for the hard coded example provided Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 96 Crystalfontz www crystalfontz com in the documentation It uses This is a test as input and calculates the proper CRC of 0x93FA accuml equ 40h BYTE CRC result register high byte accumh equ 41h BYTE CRC result register high low byte datareg equ 42h BYTE data register for shift j equ 43h BYTE bit counter for CRC 16 routine Zero equ 44h BYTE storage for string memory read index equ 45h BYTE index for string memory read savchr equ 46h BYTE temp storage for CRC routine seedlo equ 02ih initial seed for CRC reg lo byte seedhi equ OF3h initial seed for CRC reg hi byte polyL equ 008h polynomial low byte polyH equ 08
131. ve up 0 hi Z 101 l strong drive up O strong drive down 110 reserved do not use error returned 111 1 hi Z 0 strong drive down F function www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 64 O port unused for GPIO it will take on the default function such as ATX DOW on CFA FBSCABs or unused the user is responsible for setting the drive to the correct value in order for the default function to work correctly 1 port used for GPIO under user control the user is responsible for setting the drive to the correct value in order for the desired GPIO mode to work correctly reserved must be 0 may be an extension of F in future versions Response Packet Set Pin Value amp Configuration type 0x40 0x25 0x65 101 data length 0 Command Packet Read Pin Value amp Configuration type 0x25 37 04 data length 3 data 0 5 Set Read GPIO Pin Configuration amp Value data 1 FBSCAB module index data 2 index of GPIO N Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 ae Page 65 Response Packet Read Pin Value amp Configuration type 0x40 0x25 0x65 101 data length 6 data 0 5 Set Read GPIO Pin Configuration amp Value FBSCAB module index data 2 index of GPIO data 3 pin state amp changes since last poll RFS enable repo
132. wer fail safe command allows host control of the fans without compromising safety When the fan control software activates it should set the fans that are under its control to fail safe mode with an appropriate timeout value If for any reason the host fails to update the power of the fans before the timeout expires the fans previously set to fail safe mode will be forced to 100 power Fail Safe Bitmask Definitions bitO fan 1 bitl fan 2 bit2 fan 3 bit3 fan 4 Glitch Definition The CFA835 uses approximately 18 Hz for the PWM repetition rate The fan s tachometer output is only valid if power is applied to the fan Most fans produce a valid tachometer output very quickly after the fan has been turned back on However some fans take time after being turned on before their tachometer output is valid This command allows you to set a variable length delay after the fan has been turned on before the CFA835 will recognize transitions on the tachometer line The delay is specified in counts each count being nominally 552 5 uS long 1 100 of one period of the 18 Hz PWM repetition rate In practice most fans will not need the delay to be changed from the default length of 1 count If a fan s tachometer output is not stable when its PWM setting is other than 100 simply increase the delay until the reading is stable Typically you would 1 start at a delay count of 50 or 100 2 reduce it until the problem reappears and then 3 slightly i
133. ww crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 YV Page 69 40 0x32 Display Graphic Options The CFA835 supports the ability to update the display either directly or using a buffer that can be flushed manually This option is enabled or disabled using Subcommand 0 Graphic Options see immediately below Valid ranges for all the subcommands in this command group are X pixels 0 243 Y pixels 0 67 shade 0 255 Subcommand 0 Graphic Options This command controls two of the options related to the CFA835 s graphical display capabilities 1 Buffer Flush When enabled display graphical commands except command 31 0x1F Write Text To The Display Pg 53 are buffered and only written to display when using the subcommand immediately below Subcommand 1 Buffer Flush Pg 69 2 Gamma Correction When enabled graphics and fonts written to the display will have gamma correction applied This option does not affect command 31 0x1F Write Text To The Display Pg 53 Command Packet type 0x28 40 data length 2 data 0 0 Graphics Options data 1 option flags bit 0 buffer flush 0 automatic 1 manual bit 1 gamma correction 1 enabled 0 disabled Response Packet type 0x40 0x28 0x68 1041 data length 1 data 0 0 Graphics Options Subcommand 1 Buffer Flush This command flushes the memory of the graphical buffer to the CFA835 s display This command has no effect unle
134. x036BB Ox0CE4C 0OxODFC5 0x0ED5E 0x0FCD7 0x08868 0x099E1 0x0AB7A 0Ox0BAF3 0x05285 0x0430C 0x07197 0x0601E 0x014A1 0x00528 0x037B3 0x0263A OxODECD 0x0CF44 OXOFDDF 0x0EC56 0x098E9 0x08960 OxOBBFB 0Ox0AA72 0x06306 0x0728F 0x04014 0x0519D 0x02522 0x034AB 0x00630 0x017B9 OxOEF4E 0x0FEC7 0x0CC5C 0x0DDD5 0x0A96A 0x0B8E3 0x08A78 0x09BFI1 0x07387 0x0620E 0x05095 0x0411C 0x035A3 0x0242A 0x016B1 0x00738 OxOFFCF 0x0EE46 0x0DCDD 0x0CD54 0x0B9EB 0x0A862 0x09AF9 0x08B70 0x08408 0x09581 0x0A71A 0x0B693 0x0C22C 0x0D3A5 OX0E13E 0x0FOB7 0x00840 0x019C9 0x02B52 0x03ADB 0x04E64 OxXO5FED 0x06D76 0x07CFF 0x09489 0x08500 0x0B79B 0x0A612 0x0D2AD 0x0C324 OXOFIBF 0Ox0E036 0x018C1 0x00948 0x03BD3 0x02A5A 0x05EE5 0x04F6C 0x07DF7 0x06C7E Ox0A50A 0x0B483 0x08618 0x09791 OxX0E32E 0OxOF2A7 0x0C03C 0x0D1B5 vo Crystalfontz Data Sheet Release 2014 10 13 www crystalfontz com CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 N Page 94 0x02942 0x038CB 0x00A50 0x01BD9 0x06F66 0x07EEF 0x04C74 0x05DFD 0x0B58B 0x0A402 0x09699 0x08710 OxXOF3AF 0x0E226 0x0D0BD 0x0C134 0x039C3 0x0284A 0x01AD1 0x00B58 0x07FE7 OX06E6E 0x05CF5 0x04D7C 0x0C60C 0x0D785 O0Ox0ES5I1E 0x0F497 0x08028 0x091A1 0x0A33A 0x0B2B3 0x04A44 0x05BCD 0x06956 0x078DF 0x00C60 0Ox01DE9 0x02F72 0x03EFB 0x0D68D 0x0C704 Ox0F59F 0x0E416 0x090A9 0x08120 0x0B3BB 0x0A232 0x05AC5 0x04B4C 0x079D7 0x0685E 0x01CE1 0x00D68 0x03FF3 0x02E
135. x09 0x09 0x09 0x09 0x09 0x09 0x09 0X00 0x10 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x00 0x10 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x07 0x00 0x10 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x00 0x10 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x00 0x10 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x00 0x10 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x00 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 This demonstration shows some of the graphical capabilities of the CFA835 by rendering an animated logo clock histogram and scrolling text Source code C Qt 4 8 and created in QtCreator 2 5 is included in the utilities package DEMONSTRATION SOFTWARE Demonstration software is available for free download under the Related tab on the website page for each CFA835 part number Or click on the links in the software descriptions below No registration is required for download cfTest cfTest for Windows is testing and configuration software that works on all Crystalfontz Intelligent LCD modules This software allows you to experiment with the command set for all Crystalfontz Smart LCDs Streaming communication based modules CFA632 CFA634 and packet communication
136. xes For the Z axis the fixture was bolted to the tester with a small aluminum coupling plate The vibration testing was performed on a Ling Dynamic Systems V730 vibrator with a Data Physics SignalStar Scalar vibration control system version 2 2 923 The samples were subjected to following profiles e GR 63 CORE 5 4 2 Office Vibration Alternative Test 5 100 5 Hz at 1 0 g with a sweep rate of 25 octave minute 35 minutes per axis e MIL STD 810F Figure 514C 17 Random 1 hour per axis e MIL STD 810F Figure 514C 18 Sine 1 hour per axis Equipment used Equipment iE Model _ __ S N _ _ Calibration Due Date Endevco Control Accelerometer 7221 AM67 12 03 13 Endevco Charge amplifier 2 21B ERO1 12 03 13 Data Physics Vibration controller SignalStar Scalar 74244 05 29 13 ax Crystalfontz Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 Page 105 Test Setups Test Report Number CRYSTALFONTZ002 Page 2 of 7 Crystalfontz Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Modules Hardware v1 0 Firmware v0 6 www crystalfontz com Page 106 Control accelerometer vibration level graphs 2 00 1 00 D e D e l Abort Alarm Ahr Alarm 400m 100 5 00 10 0 Hz Z axis GR 63 CORE 5 4 2 Office Vibration Alternative Test Test Report Number CRYSTALFONTZ002 Page 3 of 7 Crystalfontz Data Sheet Release 2014 10 13 CFA835 Intelligent LCD Mod
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - オーム電機 User Manual - WeatherConnection Typhoon Wireless Notebook Mouse Service Manual-XR10 to XR35 NOTICE D`UTILISATION Overland Storage NEO 200s, 1x LTO-5 Descargar ficha técnica AT&T Generic 3 User's Manual 20151116 ~ FORBO-EUROCOL-NL ~ 641-eurostar-special MÉMOIRE MAGISTÈRE ÉTUDE DES PROTECTIONS DES Copyright © All rights reserved.
Failed to retrieve file