Smart phone terminal design
Introduce the design and implementation of a smart phone terminal system. The system uses the microprocessor as the control center, which can realize terminal function setting, information input, control of information receiving and sending through modem, and display and storage of information.
Keywords: smart phone; modem; information processing
This article refers to the address: http://
And Technology, Shanghai 200093, China)
(1) The physical layer is responsible for the transfer of physical data bit streams between entities. In this system, the Z02215 MODEM chip is used as a modem for data transmission and reception. The chip is powerful, so the peripheral circuit is extremely simple. Z02215 is Zilog's newly developed single-chip embedded MODEM chip with integrated controller, data pump and analog front end, running on the public switched telephone network (PSTN). Z02215 is applicable to V.22bis, V.22, V. .23 (Ninitel), V.21, Bell 212A, Bell 202, Bell 202T and Bell 103 and other MODEM standards [1], [2]. The Z02215 offers comprehensive, selectable and programmable voice generation and detection. Fully meet the hardware requirements of physical layer data transmission.
(2) The link layer will provide a reliable data transmission mechanism [3]. The functions to be realized include: establishment of telephone voice path and message communication path, caller ID, packing when message is sent, unpacking function when receiving data, data check, retransmission control, and the like. The following is a packet format and communication protocol established to ensure that data is reliably transmitted and received.
Frame format: word interval + start bit + data (8 bits, send high bit after transmitting low bit first) + odd check word interval: ≥ 2bit, fixed to 1; start bit: 1 bit, fixed to 0; data: 1 byte (8 bits); odd parity: 1 bit.
Packet format: data (16bytes) + serial number (1byte) + check (1byte).
Data: If the data length is less than 16 bytes, it is filled with 0x20; serial number: adopts continuous accumulation, from 1~255, can't be 0; check digit: all data and serial number are added (excluding checksum The complement itself is checked; the receiver checks the check digit; if all the data are added equal to 0 (including the check digit) then the check is correct.
Packet confirmation information format (1 byte):
FFH: Correct reception as an acknowledgment signal; 00H: Error reception as a retransmission signal.
The half-duplex transmission mode is used, and both uplink and downlink use 1200 bps. In addition, in order to ensure reliable transmission of data, a minimum of 1 ms of 10 ms is transmitted as a synchronization code before each data packet is transmitted.
(3) The message layer specifies the format of the message and the command and the format of the confirmation message. The data sent by the upper layer is a 16-byte data packet. The sender program is responsible for increasing the serial number and verification, and the receiving program is responsible for checking the serial number and verification. The underlying program ensures the correctness and order of the submitted packets.
Transmitter: After sending a complete packet (a total of 18 bytes), the sender waits for 150ms. If no acknowledgment signal is received or a retransmission signal is received, the packet will be resent. If the acknowledgment signal is received, the next packet is sent immediately.
Receiver: If a complete data packet is not received within 200ms after receiving the first valid data, or the verification error occurs, the receiving end sends an error message, if the serial number of the received data packet and the previous data If the serial number of the packet is the same, the packet is discarded.
Receiver check: The receiver has two kinds of checksums to ensure the correct data: one is the odd check in each byte to ensure the correctness of a single byte; the other is the packet check to ensure the integrity of the whole package. Sex.
The sender retransmits: If the acknowledgment signal is still not received after the transmission is repeated three times according to the above sending process, the communication is considered to be unsuccessful, and the message that the transmission fails is reported to the upper layer and submitted to the upper layer for processing.
Led High Bay lighting is an energy efficient solution to unique high-bay environments which include warehouses, factories, gymnasiums, workshops, plants, supermarkets, distribution centers, sports fields, squares, public areas, airport halls, and construction fields. Using independent development fin radiator, big heat dissipation area, good air convection performance. High color rendering index (CRI) led chip, stable light color, no glare and more favorable visual health. Multiple beam angle options (60°/90°/120°) are available to meet various applications based on lux requirements.
Led High Bay Light,High Bay Light,High Bay Led Lights,High Bay Lamp
Guangdong guangzhidian lighting Co., Ltd. , http://www.gzdlighting.com