MAX7232BF has 4-bit serial input, 2 decimal points and 4-bit address; the output is 10-bit data plus 20 independent decimal points, the data output code is BCD code, and the 2 decimal points of each bit are on COM3. It can be directly connected to the microprocessor.
1 Pin structure and description
MAX7232BF has a dual in-line 40-pin package and a quad 44-pin package. The pin structure and function of the 40-pin package are introduced in the general form; the 44-pin package is similar, except that some pins are empty (NC), and the other pin numbers and their functions are slightly different from the 40-pin package. See Table 1.
2 Dynamic Display Drive Timing
Since the LCD display drive signal is not quite the same as the LED display drive signal, it is not possible to simply add a high level or a low level to the LCD electrode in the dynamic display drive mode, otherwise the display will be chaotic. On the other hand, there should be no DC voltage between the two electrodes of the LCD, that is, the average value of the drive signal of the two electrodes should be 0. Therefore, the LCD display drive signal needs to use the bias method. Commonly used bias methods include 1/2 bias, 1/3 bias, 1/4 bias and 1/7 bias. The MAX7232BF drive signal uses 1/3 bias for dynamic scanning drive. The scanning signal is output from the back electrode, and the display information is output from the segment electrode.
3 Decoding selection format
MAX7232BF inputs 4-bit data, 2-bit decimal point and 4-bit address binary data. Different combinations of them will produce different output formats. The following will discuss the decoding formats of various combinations. According to different display needs, different encoding combinations can be selected to produce the required display format.
3.1 Decimal point decoding output format
The decimal point control input is 2 bits, which produces 4 different combinations. Any format can be selected according to the display needs. The decoding format is shown in Table 2.
3.2 Data decoding output format
The data control inputs 4 bits of binary data, forming a total of 16 output formats. Since the MAX7232BF outputs BCD code, only 9 digits from 1 to 9 are required, and there is also 1 non-output control, so the other 6 bits are not used.
3.3 Address decoding output format
The MAX7232BF can output up to 10 bits of data, which is controlled by the 4-bit input binary address data. These 4 bits of data are decoded into 16 bits, of which the first 10 bits select the address of the output bit and the last 6 bits are invalid.
4 MAX7232BF Operating Timing
The MAX7232BF has three input timings:
The first type is used to output 10-bit data (maximum value, can be less than 10 bits) and 20 independent decimal points;
The second type is used to output 10-bit data (maximum value, can be less than 10 digits) but without any decimal point;
The third type is used to output 10-bit data (maximum value, can be less than 10 digits) but only outputs 10 independent decimal points on the right (AN2).
In order to make the display function of the designed LCD as powerful as possible, it is necessary not only to ensure powerful hardware functions, but also to maximize the hardware functions in software. Therefore, the first timing should be selected in the timing so that both decimal points can be displayed. Here, only the first timing is read. Figure 1 shows the input timing of this input method.
As shown in Figure 1, the data input timing is: AN1→AN2→BD0→BD1→BD2→BD3→A0→A1→A2→A3. It is required to input these 10 bits of data in sequence at the rising edge of the clock pulse. It cooperates with the clock pulse to input data. At the rising edge of each clock pulse, MAX7232BF automatically reads the data on the data input line. Therefore, each clock pulse must input one bit of data. It is not allowed to stop for several cycles during the write period until the write control line becomes a low level. [page]
In addition, there is the relationship between the write input line and the data enable output line, as well as the principle and process of controlling data input through them. When the data enable output is high, the rising edge of the write pulse of the write input line will trigger the reset shift register and control logic, and start reading data from the rising edge of the next clock pulse; when the data enable output remains high, when the MAX7232BF is reading data, if there is another write input pulse, the shift register and control logic will be reset again, and the MAX7232BF will start reading data again; when the data enable output is low, the rising edge of the write pulse of the write input line will make the data enable output high, and the two work together to decode and latch the input data into the output buffer, and reset the shift register and control logic, ready to read the next data.
5 Hardware connection between MAX7232BF and MCU
The P1 port of the 89C51 microcontroller is used as the input part of the control display, and its three control lines P1.2, P1.1 and P1.0 are used to control the clock input, write control input and data input of the MAX7232BF respectively; considering the needs of different programming methods, some of them need to use the output signal of the data enable output line of the MAX7232BF as the selection condition, and P1.3 can be used as the receiving end of the output enable line of the MAX7232BF.
6 Software Programming
This article gives the displayed subroutine, which is as follows:
7 Conclusion
The MAX7232BF is used as the LCD driver, and the LCD display is driven by the 1/3 time division method to replace the parallel display to reduce the number of transmission lines and increase the life of the display. It is rare to see the discussion of using the MAX7232BF as an LCD driver before. This article also has reference significance for the MAX7232CF and MAX7234 series. The difference between the MAX7232CF and the MAX7232BF is that the MAX7232CF has a decimal point on COM1, while the other is on COM3. The MAX7234 has a serial input of 6-bit data (ASCII code), a 3-bit address, and an output of 5 characters, but there is no independent decimal point.
Previous article:Microcontroller controller improves TV image quality for large-screen LCDs
Next article:Implementation of temperature and humidity sensing system based on single chip microcomputer
Recommended ReadingLatest update time:2024-11-17 04:40
- Popular Resources
- Popular amplifiers
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- Power Integrated Circuit Technology Theory and Design (Wen Jincai, Chen Keming, Hong Hui, Han Yan)
- Installation and Testing of Analog Electronic Products (Edited by Chen Jingzhong and Tang Mingjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Detailed explanation of terminal device state switching in TI ZigBee protocol stack
- GitHub acquires npm
- [Easy-to-understand communication] What is compressed sensing (CS)?
- 6.6kW Totem Pole PFC Reference Design for On-Board Charger
- Does anyone know the manufacturer of this RF IC?
- Oops! The silkscreen is on top of the surface traces
- Module Design and FPGA Verification of 64-bit MIPS Microprocessor
- Why do we need to add a lens in front of the infrared temperature sensor?
- [National Technology N32WB452 Review] 4. LCD Display DVP Capture Image
- Let’s have dinner! EEWorld netizens will have an offline dinner in Shenzhen on the evening of December 20th. Come and sign up~~