AML8726-M_UserGuide v1.1
- 格式:pdf
- 大小:1.27 MB
- 文档页数:38
INTRODUCTIONThe 8726C (round plate) and 8726W (rectangular plate) Address-able Remote Lamps, shown in Figure 1, operate as an additional LED indicator for a device in the fire alarm control system’s addres-sable device circuit. The 8726C/8726W can be used when a device already has an accessory. The 8726C/8726W can be installed at any location of an addressable device circuit, and it remotely indicates the status of the device(s) in that same circuit.Mode of OperationThe 8726C/8726W has one mode of operation: Direct Addressing Mode. The two-position jumper P1 must be positioned to set the mode to Direct Addressing.When set and programmed to Direct Addressing Mode, system logic and programming determine when the ILED-H will blink.Controls and IndicatorsIn Direct Addressing mode, the LED on the 8726C/8726W is controlled by logic functions programmed using the CIS-4 Tool. In Direct Addressing mode, the 8726C/8726W blink color (red only) cannot be changed.PROGRAMMINGRefer to Figure 2 for the location of the programming holes and jumper P1.Direct Addressing ModeTo set the 8726C/8726W to Direct Addressing Mode follow the steps listed below:1.Determine a unique address for the 8726C/8726W.2.Set jumper P1 to position 2 and3.3.Connect the 8726C/8726W to the 8720 Programmer/Tester byinserting the plug from the cable provided with the 8720 Programmer/Tester into the programming holes on the 8726C/8726W board.4.Follow the instructions in the 8720 Programmer/Tester Manual, P/N 315-033260FA, to program the 8726C/8726W to the desired address. Record the device address on the label located on the 8726C/8726W front panel.INSTALLATION INSTRUCTIONS AND WIRING FORINTELLIGENT REMOTE LAMPSP/N 8726C AND 8726WFigure 18726C And 8726W Remote LampsSiemens Industry, Inc.Building Technologies Division • Florham Park, NJ Tel: (973) 593-2600 • Fax: (973) 593-6670Web: Figure 28726 Printed Circuit Board5.In the CIS-4 Programming Tool, assign the 8726C/8726W to an output zone. When an Input Group that is assigned to that Output Zone reports an off-normal event, the 8726C/8726W will blink red if the reported event type matches the output type selected for its zone. Refer to the CIS-4 Manual for further information.6.The 8726C/8726W can now be installed and wired to the system.WIRINGWARNING: Disconnect BATTERY and AC prior to working on equipment.Refer to the wiring diagram in Figure 3 below to wire the 8726C/8726W.NOTE: The 8726C/8726W is polarity insensitive. Switching Line1 and Line2 has no effect on performance.Recommended wire size:18 AWG minimum, 14 AWG maximumWire larger than 14 AWG can damage the connector.LINE2LINE1TO ADDRESSABLE DEVICE CIRCUITFigure 3Wiring The 8726C/8726WINSTALLATIONNOTE: Be sure to program the 8726C/8726W before installing the unit.The 8726C/8726W may be placed at any location on the address-able device circuit. Use a single-gang switch box (user supplied) for mounting the 8726W. Use a 4-inch octagonal conduit box (user supplied) for mounting the 8726C. Refer to Figure 4 for typical 8726C/8726W installation.The number of 8726C/8726W modules on the addressable device circuit must be included in the total count of intelligent field devices.For the restriction of the total number of devices in the FDLC loop,refer to the FDLC Installation Instructions, P/N 315-447360FA.ELECTRICAL RATINGSDO NOT USE REAR CONDUIT ENTRYFigure 4Mounting The 8726Wtn e r r u C t u p n I Am 1。
DS91M125 125 MHz 1:4 M-LVDS Repeater withLVDS Input Evaluation KitUSER MANUALPart Number: DS91M125EVK NOPBFor the latest documents concerning these products and evaluation kit, visit . Schematics andgerber files are also available at OverviewThe purpose of this document is to familiarize you with the DS91M125 evaluation board, suggest the test setup procedures and instrumentation, and to guide you through some typical measurements that will demonstrate the performance of the device. The board enables the user to examine performance and all functions of theDS91M125 as a standalone device.The DS91M125 is a high-speed 1:4 M-LVDS repeater with an LVDS input designed for multipoint applications with multiple drivers or receivers. The device conforms to TIA/EIA-899 standard. It utilizes M-LVDS technology for low power, high-speed and superior noise immunity.DescriptionFigure 1 below represents the top layer drawing of the board with the silkscreen annotations. It is a 2.5 x 3 inch 4 layer printed circuit board (PCB) that features a single DS91M125 (U2) device.Figure 1 -DS91M125EVK Top View DrawingDS91M125 Evaluation in a Point-to-Point LinkThe following is a recommended procedure for using and evaluating the DS91M125EVK. Figure 2 depicts a typical setup and instrumentation used.1. Select a single DS91M125 evaluation board.2. Apply the power to the board (3.3 V typical) between J3 and J4 power tabs, observe the value of I CC,and compare it with the expected value (refer to the datasheet) to ensure that the devices arefunctional.3. Enable one of the U2 driver outputs. This is accomplished by setting the DE0-3 pin to VDD (JP3-6).4. Connect a signal source to the driver input (DI+, DI-). The signal needs to be an LVDS/M-LVDS/CML/LVPECL compliant signal. Refer to the DS91M125 datasheet for the receiver inputcompatibility.5. Connect one of the U2 outputs (A0-3/B0-3) to an oscilloscope and observe the waveforms.Figure 2 – DS91M125 Test SetupFigure 3 shows an eye diagram acquired at the output of the DS91M125 driver loaded with a 100-ohm resistor. The generator connected to the driver input simulated a 100 Mbps PRBS-7 NRZ.Figure 3 – DS91M125 OutputIMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries(TI)reserve the right to make corrections,modifications,enhancements,improvements, and other changes to its products and services at any time and to discontinue any product or service without notice.Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty.Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty.Except where mandated by government requirements,testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design.Customers are responsible for their products and applications using TI components.To minimize the risks associated with customer products and applications,customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license,either express or implied,is granted under any TI patent right,copyright,mask work right, or other TI intellectual property right relating to any combination,machine,or process in which TI products or services are rmation published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement e of such information may require a license from a third party under the patents or other intellectual property of the third party,or a license from TI under the patents or other intellectual property of TI.Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties,conditions,limitations,and notices.Reproduction of this information with alteration is an unfair and deceptive business practice.TI is not responsible or liable for such altered rmation of third parties may be subject to additional restrictions.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice.TI is not responsible or liable for any such statements.TI products are not authorized for use in safety-critical applications(such as life support)where a failure of the TI product would reasonably be expected to cause severe personal injury or death,unless officers of the parties have executed an agreement specifically governing such use.Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications,and acknowledge and agree that they are solely responsible for all legal,regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications,notwithstanding any applications-related information or support that may be provided by TI.Further,Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications.TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or"enhanced plastic."Only products designated by TI as military-grade meet military specifications.Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk,and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS16949requirements.Buyers acknowledge and agree that,if they use any non-designated products in automotive applications,TI will not be responsible for any failure to meet such requirements.Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAudio /audio Automotive and Transportation /automotiveAmplifiers Communications and Telecom /communicationsData Converters Computers and Peripherals /computersDLP®Products Consumer Electronics /consumer-appsDSP Energy and Lighting /energyClocks and Timers /clocks Industrial /industrialInterface Medical /medicalLogic Security /securityPower Mgmt Space,Avionics and Defense /space-avionics-defense Microcontrollers Video and Imaging /videoRFID OMAP Mobile Processors /omapWireless Connectivity /wirelessconnectivityTI E2E Community Home Page Mailing Address:Texas Instruments,Post Office Box655303,Dallas,Texas75265Copyright©2012,Texas Instruments Incorporated。
Application NotesAML 8726-MXUART Interface User GuideAMLOGIC, Inc.3930 Freedom Circle Santa Clara, CA 95054U.S.A.AMLOGIC reserves the right to change any information described herein at any time without notice.AMLOGIC assumes no responsibility or liability from use of such information.Di s t ri bu t et oE md o o r!Table of Content1. GENERAL DESCRIPTION ............................................................................................................................................. 42. OVERVIEW ....................................................................................................................................................................... 43. FEATURES ........................................................................................................................................................................ 44.UART SIGNAL AND PIN MAPPING ............................................................................................................................ 5 4.1. S IGNAL ......................................................................................................................................................................... 5 4.2. P IN M APPING . (5)5. INTERRUPT (6)6. POWER MANAGEMENT ............................................................................................................................................... 77. RESET ................................................................................................................................................................................ 78.BAUD RATE ...................................................................................................................................................................... 8 8.1. I NPUT C LOCK ................................................................................................................................................................ 8 8.2.B AUD R ATE G ENERATION ............................................................................................................................................ 8 9. REGISTER DESCRIPTIONS (9)9.1. UART_A ...................................................................................................................................................................... 9 9.2. UART_B .................................................................................................................................................................... 14 9.3. UART_C .................................................................................................................................................................... 19 9.4. UART_AO ................................................................................................................................................................. 24 10. ADDRESS MAPPING ................................................................................................................................................. 29 11.ANDROID™/LINUX KERNE L (30)11.1. O PERATION M ACRO D EFINITION ............................................................................................................................ 30 11.2.R EGISTER M ACRO D EFINITION (30)Di s t ri bu t et oE md o o r!Revision HistoryRevision Number Revised Date By Changes0.1 Feb. 15, 2012 Kevin Zhu Initial release draft0.2 May. 22,2012 Kevin Zhu UART0~2 renamed to UART_A, UART_B and UART_CDi s t ri bu t et oE md o o r!1. General DescriptionAmlogic AML8726-MX is a highly integrated multimedia application processor SoC for Multimedia Internet Device (MID), tablet and Set Top Box (STB). It integrates a powerful CPU, a 2D/3D graphics subsystem and a state-of-the-art video decoding engine together with all major peripherals.This document is a user guide of universal asynchronous receiver/transmitter (UART) serial ports integrated in AML8726-MX.The guide provides:● An overview of UART interface ● The feature of UART● The UART interface pin selection ● The baud rate generation● The register definition that control and operate UART interface ● AML8726-MX UART in Android/Linux Amlogic porting2. OverviewEach AML8726-MX has four fully functional UARTs which use the same programming model. They are named as UART_A, UART_B, UART_C and UART_AO. The one with ‘AO ’ in the naming are located at the Always-On (AO) power domain, which cannot be powered off unless AML8726-MX is disconnected from power supply.The four UARTs are controlled separately. Each UART has a build-in standalone register set for controlling and data exchange.The UARTs in AML8726-MX can only operate in FIFO mode. UART_A has a 128-byte RX/TX FIFO and UART_B/UART_C/UART_AO has a 64-byte FIFO. If non-FIFO mode is required, the registers of UART should be fine tuned and a polling mechanism should be used to fulfill.Each UART has programmable interrupt generation circuit which will reduce the loading of processor and to improve communication performance.A baud-rate generator is also contained in each UART to provide flexible division of input clock by 1 to (216-1) or 1to (223-1) according to the setting in the internal register.3. FeaturesThe UARTs share the following features:● Each UART independent control register set● Independently controlled transmit and receive interrupts with FIFO threshold ● Programmable serial interface:⏹ 5-, 6-, 7- or 8-bit characters⏹ Even, odd or no parity detection ⏹ 1 stop bit generation⏹ Programmable baud rate● 64-byte transmit and receive FIFO (UART_B/UART_C/UART_AO) ● 128-byte transmit and receive FIFO (UART_A) ● Automatic frame error detection● Programmable RX, TX, RTS, CTS signal polarityDi s t ri bu t et oE md o o r!4. UART Signal and Pin Mapping4.1. SignalEach AML8726-MX UART function module has 4 external signals which can be connected to a series of GPIO pins via pin multiplex mapping circuit. The pins transmit digital CMOS-level signals only.The signals are described in the table below:Table 1. UART Signal DescriptionsName Type Description RX Input Serial data input to the receive shift register and Receive FIFO. TX Output Serial data output to external data set. CTS Input Clear to Send.When asserted, it indicates that the receiver is ready to exchange data.RTS Output Request to Send.When asserted, it notifies the receiver that the sender is ready to exchange data.4.2. Pin MappingIn AML8726-MX, only UART RX and TX signal are available. If CTS and RTS signal are required, please contact with Amlogic Sales.AML8726-MX has 11 GPIO banks. UART_A, UART_B and UART_C are located in Bank X and UART_AO is in the dedicated Bank AO. RX and TX signals of the UART function blocks can be multiplexed to the corresponding bank in pair.The relationship between pins and registers of each UART signal and GPIO bank is shown in the table below:Table 2. UART Signal Pin out MappingUART Module UART Signal Bank X Bank AOUART_AUART_RX_A GPIOX_14 UART_TX_A GPIOX_13UART_CTS_A GPIOX_15 UART_RTS_A GPIOX_16 UART_BUART_RX_B GPIOX_18 UART_TX_B GPIOX_17UART_CTS_B GPIOX_19 UART_RTS_B GPIOX_20 UART_CUART_RX_C GPIOX_22 UART_TX_C GPIOX_21UART_CTS_C GPIOX_23 UART_RTS_C GPIOX_24 UART_AOUART_RX_AO GPIOAO_1 UART_TX_AO GPIOAO_0UART_CTS_AO GPIOAO_2 UART_RTS_AO GPIOAO_3About GPIO function settings, please refer to AML8726-MX GPIO User Guide for detailed description.Di s t ri bu t et oE md o o r!5. InterruptThe UART interrupts are controlled in two levels: CPU and Function.In CPU level, the UART interrupts can be controlled and programmed by using the registers below:Table 3. Interrupt Control Register UART CPU LevelUART Module Offset Bit R/WUART_A 0x2690 bit 26 R UART_A interrupt flag. When interrupt happens, it will beset to 1.0x2691 bit 26 R/W Write 1 to this register bit to clean UART_A interrupt flag.0x2692 bit 26 R/W Interrupt mask. Set to 1 to mask UART_A interrupt (disableUART_A interrupt).0x2693 bit 26 R/W Fast interrupt enable. Set to 1 to enable UART_A interruptmultiplexing to CPU FAST interruptUART_B 0x2698 bit 11 R UART_B interrupt flag. When interrupt happens, it will beset to 1.0x2699 bit 11 R/W Write 1 to this register bit to clean UART_B interrupt flag.0x269A bit 11 R/W Interrupt mask. Set to 1 to mask UART_B interrupt (disableUART_A interrupt).0x269B bit 11 R/W Fast interrupt enable. Set to 1 to enable UART_B interruptmultiplexing to CPU FAST interruptUART_C 0x2698 bit 29 R UART_C interrupt flag. When interrupt happens, it will beset to 1.0x2699 bit 29 R/W Write 1 to this register bit to clean UART_C interrupt flag.0x269A bit 29 R/W Interrupt mask. Set to 1 to mask UART_C interrupt (disableUART_AO interrupt).0x269B bit 29 R/W Fast interrupt enable. Set to 1 to enable UART_C interruptmultiplexing to CPU FAST interruptUART_AO 0x2698 bit 26 R UART_AO interrupt flag. When interrupt happens, it will beset to 1.0x2699 bit 26 R/W Write 1 to this register bit to clean UART_AO interrupt flag.0x269A bit 26 R/W Interrupt mask. Set to 1 to mask UART_AO interrupt(disable UART_AO interrupt).0x269B bit 26 R/W Fast interrupt enable. Set to 1 to enable UART_AO interruptmultiplexing to CPU FAST interruptIn Function Level, the block registers need to be set to enable UART interrupt. ● UART_A: UART_A_CONTROL[27] and [28] must be set to 1. ● UART_B: UART_B_CONTROL[27] and [28] must be set to 1. ● UART_C: UART_C_CONTROL[27] and [28] must be set to 1. ● UART_AO: AO_UART_CONTROL[27] and [28] must be set to 1.For more details and other register setup, please refer to the Register Descriptions section.Di s t ri bu t et oE md o o r!6. Power ManagementThe UARTs in AML8726-MX can be shut down to save power consumption by using the register bits described below:Need verify● UART_A: i n EE domain; ● UART_B: i n EE domain; ● UART_C: in EE domain; ● UART_AO: in AO domain;Setting these bits to 0 will disable the UARTs function blocks and 1 will enable them. After system power-on or reset, UART modules are enabled on default.7. ResetFor the UART module in the AO power domain, it is possible to reset it by programming the register bit 0x0010[17] which is also in AO domain. Setting this bit to 1 will reset the I2C AO function blocks.Note: The receivers and transmitters of UARTs are disabled after system power-on or reset. Therefore software must program the registers to enable them, e.g., bit 12 and 13 in the corresponding control register should be set to 1.Di s t ri bu t et oE md oo r!8. Baud RateA build-in baud rate generator is implemented in AML8726-MX for each UART interface. The generator contains an input clock, a divider circuits and control registers.8.1. Input ClockThe input clock of the generator, named as UART_Clock, is configurable. The exact value of UART_Clock is based on AML8726-MX system software implementation.In Amlogic Android/Linux porting for AML8726-MX, the value of UART_Clock can be obtained by using the following process in software.1. Include clkdev.h at [linux_kernel_root]/arch/arm/include/asm/.2. Include clock.h at [linux_kernel_root]/arch/arm/mach-meson/include/mach/.3. Define a variable type struct clk.4. Define an unsigned int type variable uart_clock_rate.5. Use API clk_get_sys(“clk81”, NULL) to get clock structure.6. Use API clk_get_rate() to get the value of UART_Clock.The sample code is illustrated as below:#include <linux/clk.h> #include <asm/clkdev.h> #include <mach/clock.h>unsigned int uart_clock_rate; struct clk *uart_clockuart_clock = clk_get_sys(“clk81”, NULL); uart_clock_rate = clk_get_rate(uart_clock);8.2. Baud Rate GenerationAfter obtaining the uart_clock_rate, software can use the equation as shown below to generate correct baud rate.● UART_A:oror● UART_B:oror● UART_C:oror● UART_AO:ororDi s t ri bu t et oE md o o r!9. Register DescriptionsThese are 6 registers are defined and implemented in AML8726-MX for each UART. They are all 32-bit.9.1. UART_AWrite Buffer Register (UART_A_WFIFO)UART_A_WFIFO is the data entry of UART_A transmit FIFO. Writing to the register puts a byte data into the top of transmit FIFO. The data at the front of the FIFO transmits automatically until transmit FIFO empty.Table 4. UART_A_WFIFO register definitionName UART_A_WFIFO Offset 0x2130 Width 32-bit Bit R/W Name Default Description 31:8 R - 0 Reserved 7:0 W FIFO_WDATA - Write UART Transmit FIFO. The Write FIFO holds 64 bytesRead Buffer Register (UART_A_RFIFO)UART_A_RFIFO is the data entry of UART Read FIFO. It latches the value of data byte at the front of UART Read FIFO.Table 5. UART_A_RFIFO register definitionName UART_A_RFIFO Offset 0x2131 Width 32-bit Bit R/W Name Default Description 31:8 R - 0 Reserved 7:0 R FIFO_RDATA 0x00 Read a byte from UART FIFO.Di s t ri bu t et oE md o o r!UART_A Mode Register (UART_A_CONTROL)UART_A_CONTROL is a control register.Table 6. UART_A_CONTROL register definitionName UART_A_CONTROL Offset 0x2132 Width 32-bit Bit R/W Name Default Description 31 R/W RTS_INV 0 Invert RTS signal. 0: RTS active LOW. 1: RTS active HIGH 30 R/W ERR_MASK_EN 0 Error Mask enable. 0: disable error mask. 1: enable error mask. 29 R/W CTS_INV 0 Invert CTS signal. 0: CTS active LOW 1: CTS active HIGH. 28 R/W UART_TX_INT_EN 0 Transmit byte interrupt enable. When enabled, an interrupt will begenerated whenever a byte is read from Transmit FIFO. 0: disable transmit byte interrupt 1: enable transmit byte interrupt27 R/W UART_RX_INT_EN 0 Receive byte interrupt enable. When enabled, an interrupt will begenerated whenever a byte is written to Read FIFO. 0: disable receive byte interrupt 1: enable receive byte interrupt26 R/W UART_TX_INV 0 Invert TX signal. 0: TX active HIGH. 1: TX active LOW 25 R/W UART_RX_INV 0 Invert RX signal. 0: RX active HIGH. 1: RX active LOW 24 R/W UART_CLR_ERR 0 Clear error. Writing 1 to this register bit clears error.Note: This bit does not clear to 0 automatically. Please set the bit to 0 after clearing error manually.23 R/W UART_RX_RST 0 Reset receive state machine. Writing 1 to this register bit resetsreceive state machine.22 R/W UART_TX_RST 0 Reset transmit state machine. Write 1 to this register bit resettransmit state machine.21:20 R/W UART_DATA_LEN 00 Character length of data.00: 8-bit 01: 7-bit 10: 6-bit 11: 5-bit19 R/W PARITY_EN 1 Parity enable bit. 0: disable parity bit. 1: enable parity bit 18 R/W PARITY_TYPE 0 Parity type bit. 0: even parity. 1: odd parity 17:16 R/W STOP_BIT_LEN 0 Stop bit length.00: 1 stop bit 01: 2 stop bit 10-11: reserved.15 R/W TWO_WIRE_EN 0 Two-wire mode enables. 0: four-wire mode. 1: Two-wire mode 14 - - 0 Reserved 13 R/W UART_RX_EN 0 Receive enable. 0: disable receive function. 1: enable receivefunction12 R/W UART_TX_EN 0 Transmit enable. 0: disable transmit function. 1: enabletransmit function11:0 R/W BAUD_RATE 0x120 Baud rate setup. Please refer to Baud Rate Generation Sectionfor detail.Di s t ri bu t et oE md o o r!UART_A Status Register (UART_A_STATUS)UART_A_STATUS is a read-only register to indicate the status of UART interface.Table 7. UART_A_STATUS register definition Name UART_A_STATUS Offset 0x2133Width 32-bit Bit R/W Name Default Description31:27 - - 0x00 Reserved26 R UART_RECV_BUSY 0 Receive state machine busy indicator. Being set to 1indicates receive state machine is busy25 R UART_XMIT_BUSY 0 Transmit state machine busy indicator. Being set to 1indicates transmit state machine is busy24 R RECV_FIFO_OVERFLOW 0 Receive FIFO overflow indicator. Being set to 1 indicatesreceive FIFO overflows23 R CTS_LEVEL 0 CTS signal level.22 R TX_FIFO_EMPTY 0 Transmit FIFO Empty indicator. Being set to 1 indicatesTransmit FIFO is empty21 R TX_FIFO_FULL 0 Transmit FIFO Full indicator. Being set to1 indicatesTransmit FIFO is full.20 R RX_FIFO_EMPTY 0 Receive FIFO Empty indicator. Being set to 1 indicatesReceive FIFO is empty19 R RX_FIFO_FULL 0 Receive FIFO Full indicator. Being set to 1 indicatesReceive FIFO is full.18 R TX_FIFO_WERR 0 Transmit FIFO writing error indicator. The bit is set to 1 ifwriting data to Transmit FIFO when Transmit FIFO is full.Note: Please use register UART_A_CONTROL bit 24 toclear this bit. Refer to UART_A_CONTROL registerdefinition.17 R FRAME_ERR 0 Frame Error indicator. The bit is set to 1 if frame errordetected.Note: Please use register UART_A_CONTROL bit 24 toclear this bit. Refer to UART_A_CONTROL registerdefinition.16 R PARITY_ERR 0 Parity Error indicator. The bit is set to 1 if parity errordetected.Note: Please use register UART_CONTROL bit 24 to clearthis bit. Refer to UART_A_CONTROL register definition.15 - - 0 Reserved14:8 R TX_FIFO_DCNT 0 Transmit FIFO data count. The value is the number ofbytes in the Transmit FIFO.7 R - 0 Reserved6:0 R RX_FIFO_DCNT 0 Receive FIFO data count. The value is the number ofbytes in the Receive FIFO.Di s t r i b u t e t o E m d o o r !UART_A Interrupt Control Register (UART_A_MISC)UART_A_MISC is the register to control UART related interrupt.Table 8. UART_A_MISC register definition Name UART_A_MISC Offset 0x2134Width 32-bit Bit R/W Name Default Description31 - - 0 Reserved30 R/W USE old Rx Baud 0 he Rx baud rate generator was re-designed to compute abaud rate correctly. If you want to use the old (stupid) logic,you can set this bit to 1.29 R/W ASYNC_FIFO_PURGE 0 Set to 1 after all UART bytes have been received in order topurge the data into the async FIFO28 R/W ASYNC_FIFO_EN 0 Automatically send to async FIFO module enable1: enable automatic sending0:disable automatic sending27 R/W CTS_FIL_TB_SEL 0 CTS input filter time base selection.A digital signal filter can be used to filter the UART CTS signalinput.The filter has two parameters, the time base and the numberof time base.0: The time base is 111nS.1: The time base is 1uS.26-24 R/W CTS_FIL_SEL 0 CTS input filter times000: No filter.…111: Maximum filter time. The time is 7x 111= 777nS(CTS_FIL_TB_SEL = 0) or 7x 1=7uS (CTS_FIL_TB_SEL = 1)23-20 R/W BAUD_RATE_EXT 0 Extend the baud rate divider to 16-bits together withUART_A_STATUS[11:0]Baud_Rate = {Reg4[23:20],Reg2[11:0]}19 R/W RX_FIL_TB_SEL 0 RX input filter time base selection.A digital signal filter can be used to filter the UART RX signalinput.The filter has two parameters, the time base and the times oftime base.0: The time base is 111nS.1: The time base is 1uS.18:16 R/W RX_FIL_SEL 0 RX input filter times000: No filter.…111: Maximum filter time. The time is 7x 111= 777nS(RX_FIL_TB_SEL = 0) or 7x 1=7uS (RX_FIL_TB_SEL = 1)15:8 R/W XMIT_IRQ_CNT 32 Transmit FIFO threshold.UART generates an interrupt when the number of bytes inTransmit FIFO is below the value of these bits.7:0 R/W RECV_IRQ_CNT 15 Receive FIFO threshold.UART generates an interrupt when the number bytes inReceive FIFO is large than the value of these bits.Di s t ri b u t e t o E m d o o r !UART_A_REG5Table 9. UART_A_REG5 register definition Name UART_A_REG5 Offset 0x2135Width 32-bit Bit R/W Name Default Description31-24 R/W - 0 unused23 R/W USE New Baud rate. 0 Over the years, the baud rate has been extended byconcatenating bits from different registers. To takeadvantage of the full 23-bit baud rate generate (extended to23 bits to accommodate very low baud rates), you must setthis bit. If this bit is set, then the baud rate is configuredusing bits [22:0] below22:0 R/W NEW_BAUD_RATE: 0 If bit[23] = 1 above, then the baud rate for the UART iscomputed using these bits. This was added in MX toaccommodate lower baud rates.Di s t r i b u t e t o E m d o o r !9.2. UART_BWrite Buffer Register (UART_B_WFIFO)UART_B_WFIFO is the data entry of UART_B transmit FIFO. Writing to the register puts a byte data into the top of transmit FIFO. The data at the front of the FIFO transmits automatically until transmit FIFO empty.Table 10. UART_B_WFIFO register definition Name UART_B_WFIFO Offset 0x2137 Width 32-bitBit R/W Name Default Description31:8 R - 0 Reserved7:0 W FIFO_WDATA - Write UART Transmit FIFO.Read Buffer Register (UART_B_RFIFO)UART_B_RFIFO is the data entry of UART Read FIFO. It latches the value of data byte at the front of UART Read FIFO. Table 9. UART_B_RFIFO register definition Name UART_B_RFIFO Offset 0x2138 Width 32-bit Bit R/W Name Default Description 31:8 R - 0 Reserved 7:0 R FIFO_RDATA 0x00 Read a byte from UART FIFO.Di s t r i b u t e t o E m d o o r !UART_B Mode Register (UART_B_CONTROL)UART_B_CONTROL is a control register.Table 10. UART_B_CONTROL register definition Name UART_B_CONTROL Offset 0x2139Width 32-bit Bit R/W Name Default Description31 R/W RTS_INV 0 Invert RTS signal. 0: RTS active LOW. 1: RTS active HIGH30 R/W ERR_MASK_EN 0 Error Mask enable. 0: disable error mask. 1: enable error mask. 29 R/W CTS_INV 0 Invert CTS signal. 0: CTS active LOW 1: CTS active HIGH.28 R/W UART_TX_INT_EN 0 Transmit byte interrupt enable. When enabled, an interrupt will begenerated whenever a byte is read from Transmit FIFO.0: disable transmit byte interrupt1: enable transmit byte interrupt27 R/W UART_RX_INT_EN 0 Receive byte interrupt enable. When enabled, an interrupt will begenerated whenever a byte is written to Read FIFO.0: disable receive byte interrupt1: enable receive byte interrupt26 R/W UART_TX_INV 0 Invert TX signal. 0: TX active HIGH. 1: TX active LOW 25 R/W UART_RX_INV 0 Invert RX signal. 0: RX active HIGH. 1: RX active LOW 24 R/W UART_CLR_ERR 0 Clear error. Writing 1 to this register bit clears error.Note: This bit does not clear to 0 automatically. Please set the bitto 0 after clearing error manually.23 R/W UART_RX_RST 0 Reset receive state machine. Writing 1 to this register bit resetsreceive state machine.22 R/W UART_TX_RST 0 Reset transmit state machine. Write 1 to this register bit resettransmit state machine.21:20 R/W UART_DATA_LEN 00 Character length of data.00: 8-bit01: 7-bit10: 6-bit11: 5-bit19 R/W PARITY_EN 1 Parity enable bit. 0: disable parity bit. 1: enable parity bit 18 R/W PARITY_TYPE 0 Parity type bit. 0: even parity. 1: odd parity17:16 R/W STOP_BIT_LEN 0 Stop bit length.00: 1 stop bit01: 2 stop bit10-11: reserved.15 R/W TWO_WIRE_EN 0 Two-wire mode enables. 0: four-wire mode. 1: Two-wire mode 14 - - 0 Reserved13 R/W UART_RX_EN 0 Receive enable. 0: disable receive function. 1: enable receivefunction12 R/W UART_TX_EN 0 Transmit enable. 0: disable transmit function. 1: enabletransmit function11:0 R/W BAUD_RATE 0x120 Baud rate setup. Please refer to Baud Rate Generation Sectionfor detail.D i s t ri b u t e t o E m d o o r !UART_B Status Register (UART_STATUS)UART_B_STATUS is a read-only register to indicate the status of UART interface.Table 13. UART_B_STATUS register definition Name UART_B_STATUS Offset 0x213AWidth 32-bit Bit R/W Name Default Description31:27 - - 0x00 Reserved26 R UART_RECV_BUSY 0 Receive state machine busy indicator. Being set to 1indicates receive state machine is busy25 R UART_XMIT_BUSY 0 Transmit state machine busy indicator. Being set to 1indicates transmit state machine is busy24 R RECV_FIFO_OVERFLOW 0 Receive FIFO overflow indicator. Being set to 1 indicatesreceive FIFO overflows23 R CTS_LEVEL 0 CTS signal level.22 R TX_FIFO_EMPTY 0 Transmit FIFO Empty indicator. Being set to 1 indicatesTransmit FIFO is empty21 R TX_FIFO_FULL 0 Transmit FIFO Full indicator. Being set to1 indicatesTransmit FIFO is full.20 R RX_FIFO_EMPTY 0 Receive FIFO Empty indicator. Being set to 1 indicatesReceive FIFO is empty19 R RX_FIFO_FULL 0 Receive FIFO Full indicator. Being set to 1 indicatesReceive FIFO is full.18 R TX_FIFO_WERR 0 Transmit FIFO writing error indicator. The bit is set to 1 ifwriting data to Transmit FIFO when Transmit FIFO is full.Note: Please use register UART_B_CONTROL bit 24 toclear this bit. Refer to UART_B_CONTROL registerdefinition.17 R FRAME_ERR 0 Frame Error indicator. The bit is set to 1if frame errordetected.Note: Please use register UART_B_CONTROL bit 24 toclear this bit. Refer to UART_B_CONTROL registerdefinition.16 R PARITY_ERR 0 Parity Error indicator. The bit is set to 1 if parity errordetected.Note: Please use register UART_CONTROL bit 24 to clearthis bit. Refer to UART_B_CONTROL register definition.15 - - 0 Reserved14:8 R TX_FIFO_DCNT 0 Transmit FIFO data count. The value is the number ofbytes in the Transmit FIFO.7 R - 0 Reserved6:0 R RX_FIFO_DCNT 0 Receive FIFO data count. The value is the number ofbytes in the Receive FIFO.Di s t r i b u t e t o E m d o o r !UART_B Interrupt Control Register (UART_B_MISC)UART_B_MISC is the register to control UART related interrupt.Table 11. UART_B_MISC register definition Name UART_B_MISC Offset 0x213BWidth 32-bit Bit R/W Name Default Description31 - - 0 Reserved30 R/W USE old Rx Baud 0 he Rx baud rate generator was re-designed to compute abaud rate correctly. If you want to use the old (stupid) logic,you can set this bit to 1.29 R/W ASYNC_FIFO_PURGE 0 Set to 1 after all UART bytes have been received in order topurge the data into the async FIFO28 R/W ASYNC_FIFO_EN 0 Automatically send to async FIFO module enable1: enable automatic sending0:disable automatic sending27 R/W CTS_FIL_TB_SEL 0 CTS input filter time base selection.A digital signal filter can be used to filter the UART CTS signalinput.The filter has two parameters, the time base and the numberof time base.0: The time base is 111nS.1: The time base is 1uS.26-24 R/W CTS_FIL_SEL 0 CTS input filter times000: No filter.…111: Maximum filter time. The time is 7x 111= 777nS(CTS_FIL_TB_SEL = 0) or 7x 1=7uS (CTS_FIL_TB_SEL = 1)23-20 R/W BAUD_RATE_EXT 0 Extend the baud rate divider to 16-bits together withUART_B_STATUS[11:0]Baud_Rate = [BAUD_RATE_EXT: BAUD_RATE]19 R/W RX_FIL_TB_SEL 0 RX input filter time base selection.A digital signal filter can be used to filter the UART RX signalinput.The filter has two parameters, the time base and the times oftime base.0: The time base is 111nS.1: The time base is 1uS.18:16 R/W RX_FIL_SEL 0 RX input filter times000: No filter.…111: Maximum filter time. The time is 7x 111= 777nS(RX_FIL_TB_SEL = 0) or 7x 1=7uS (RX_FIL_TB_SEL = 1)15:8 R/W XMIT_IRQ_CNT 32 Transmit FIFO threshold.UART generates an interrupt when the number of bytes inTransmit FIFO is below the value of these bits.7:0 R/W RECV_IRQ_CNT 15 Receive FIFO threshold.UART generates an interrupt when the number bytes inReceive FIFO is large than the value of these bits.Di s t r i b u t e t o E m d o o r !。
国产四核主控处理器芯片一瞥海思K3V2最早推出四核主控的本土芯片公司是海思,在去年3月份它就推出了基于ARM Cortex-A9处理器K3V2,不过该主控芯片也就是自产自销,还不能惠及广大国产平板电脑厂商。
K3V2处理器尺寸为12×12mm,号称是2012年初业界体积最小的四核A9架构处理器。
它采用台积电40nm制程,主频分为1.2GHz和1.5GHz,官方声称这款芯片能够在一系列的基准测试中超越Tegra3性能30%到50%。
K3V2内置两颗Vivante GC4000组成16核图形处理器,拥有32位渲染设计,能够支持35FPS的视频处理能力。
该芯片还采用了高端的64bit带宽DDR 内存设计来充分释放四核的性能,支持Mobile SDR/DDR SDRAM,提供片内8层总线并行访问,最高到30Gbps的片内带宽;支持8/16bit NANDFlash存储访问及Flash lock功能。
另外该方案特点还包括支持智能功耗性能调节、支持多种外设接口和传感检查功能、提供方案级完整的电源系统与多种充电方式等。
炬力ATM70292012年10月份,珠海炬力推出了其首个猫头鹰系列四核芯片ATM7029,它基于ARM Cortex-A9系列CPU,采用ARMv7-A架构,单核最高运行频率可达1.3GHz;图形处理方面采用了多核3D GPU与一颗专有的独立2D GPU;支持1080p视频编解码。
至于功耗,炬力表示ATM7029集成了领先的分模块独立电源域管理系统和智能调节背光技术,能做到待机时间长达1,000小时、视频连续播放14小时、游戏时长12小时、上网时间10小时。
ATM7029的特点还包括:带有炬力独创的QuickBoot技术,支持1秒瞬间启动,开机速度也仅需10秒,是全球开机最快的平板电脑方案之一;支持画中画,6路视频同时播放,即1屏6播;集成了USB3.0 PHY;内置HDMI 1.4a;支持最新制程60bit EEC NAND Flash等。
Application NotesAML 8726-MXL/MXSGPIO User GuideRevision 0.3 PRELIMINARYAMLOGIC, Inc.3930 Freedom Circle Santa Clara, CA 95054U.S.A. AMLOGIC reserves the right to change any information described herein at any time without notice.AMLOGIC assumes no responsibility or liability from use of such information.Di st r i b u t et oS ky n o o n !Table of Content1 GENERAL DESCRIPTION ...................................................................................................................................... 42 GPIO BANKS ............................................................................................................................................................. 43 GPIO GENERAL FUNCTIONAL REGISTER ......................................................................................................4 4PIN MULTIPLEXING ............................................................................................................................................... 9 4.1 GPIO F UNCTION S ETTING ..................................................................................................................................... 9 4.2 R EGISTER M ACRO D EFINITION .............................................................................................................................. 9 4.3 D EFAULT F UNCTION .............................................................................................................................................. 9 4.4 P IN M ULTIPLEXING .............................................................................................................................................. 10 4.4.1 GPIO Bank A .............................................................................................................................................. 10 4.4.2 GPIO Bank B .............................................................................................................................................. 10 4.4.3 GPIO Bank C .............................................................................................................................................. 11 4.4.4 GPIO Bank D .............................................................................................................................................. 12 4.4.5 GPIO Bank E .............................................................................................................................................. 12 4.4.6 GPIO Bank X .............................................................................................................................................. 13 4.4.7 GPIO Bank Z .............................................................................................................................................. 14 4.4.8 GPIO Bank AO ........................................................................................................................................... 15 4.4.9 GPIO Bank BOOT ...................................................................................................................................... 16 4.4.10 GPIO Bank CARD ...................................................................................................................................... 17 5 ADDRESS MAPPING . (17)Di st ri bu tet oS ky n o o n !Revision HistoryRevision Number Revised Date By Changes0.3 2013/01/15 Kevin Zhu Initial version releaseDi st ri bu tet oS ky n o o n !1 General DescriptionThis document is a general user guide of Amlogic AML8726-MXL/MXS GPIOs. In this document, it describes:● The selection of GPIO operation mode.● The input and output register of each GPIO. ● GPIO pin multiplex selection2 GPIO BanksAML8726-MXL/MXS GPIOs are organized as 10 banks: 8 general banks and 2 dedicated banks.The 8 general banks are:● Bank A: There are 6 pin outs in this bank between GPIOA_14 and GPIOA_27. ● Bank B: There are 18 pin outs in this bank between GPIOB_2 and GPIOB_23. ● Bank C: There are 10 pin outs in this bank between GPIOC_0 and GPIOC_13. ● Bank D: There are 8 pin outs in this bank between GPIOD_0 and GPIOD_9. ● Bank E: There are 7 pin outs in this bank between GPIOE_0 and GPIOE_11. ● Bank X: There are 23 pin outs in this bank between GPIOX_0 and GPIOX_28. ● Bank Z: There are 13 pin outs in this bank from GPIOZ_0 to GPIOZ_12.● Bank AO: There are 12 pin outs in this bank from GPIOAO_0 to GPIOAO_11.The 2 dedicated banks are:● Bank BOOT: There are 18 pin outs in this bank from BOOT_0 to BOOT_17. In most application, all pins inthis bank are used to connect boot device such as NAND Flash, eMMC or SD card.● Bank CARD: There are 8 pin outs in this bank between CARD_0 and CARD_8. In most application, allpins in this bank are used to connect memory card such SD card.Please avoid using pins in Bank BOOT and CARD as ordinary GPIOs.3 GPIO General Functional RegisterEach GPIO in each bank can be controlled and operated by four register sets:● OEN: It is mode definition register which uses to control the operation mode of each GPIO in the bank.⏹ “1”: Set the pin to input mode. It is the default mode after chip power-on/reset. In this mode, the GPIOis tri-state and input is valid.⏹ “0”: Set the pin to output mode. In this mode, the GPIO voltage level is controlled by OUT registers. ● OUT: It is to setup the output voltage level of each GPIO to logic HIGH or logic LOW.⏹ “1” Set the GPIO to logic HIGH. ⏹ “0” Set the GPIO to logic LOW.● IN: It is used only in input mode. It can be read and the value is the input logic voltage value. ● PU/PD: It is used to enable or disable build-in pull-up or pull-down resister of each GPIO.⏹ “1” Disable pull-up or pull-down resister. When disabled, the GPIO is High-Z. ⏹ “0” Enable pull-up or pull-down resister.The OEN, OUT, IN and PU/PD registers and mapping to each GPIO in each GPIO bank are listed in Table 1.Di st ri bu tet oS ky n o o n !Table 1. GPIO General Function Register Control BitsBGA Ball Number Package Name OEN(Read Write)OUT(Write Only)IN(Read Only)PU/PD(Read Write) IO TypeDefault State after resetBank A A20 GPIOA_14 0x200c bit[14] 0x200d bit[14] 0x200e bit[14] 0x203A bit[14] Tri-State Pull-up C19 GPIOA_15 0x200c bit[15] 0x200d bit[15] 0x200e bit[15] 0x203A bit[15] Tri-State Pull-up B19 GPIOA_16 0x200c bit[16] 0x200d bit[16] 0x200e bit[16] 0x203A bit[16] Tri-State Pull-up C18 GPIOA_19 0x200c bit[19] 0x200d bit[19] 0x200e bit[19] 0x203A bit[19] Tri-State Pull-up B18 GPIOA_25 0x200c bit[25] 0x200d bit[25] 0x200e bit[25] 0x203A bit[25] Tri-State Pull-up A18 GPIOA_270x200c bit[27]0x200d bit[27]0x200e bit[27]0x203A bit[27] Tri-State Pull-up Bank BC17 GPIOB_2 0x200F bit[2] 0x2010 bit[2] 0x2011 bit[2] 0x203B bit[2] Tri-State Pull-Down A17 GPIOB_3 0x200F bit[3] 0x2010 bit[3] 0x2011 bit[3] 0x203B bit[3] Tri-State Pull-Down B17 GPIOB_4 0x200F bit[4] 0x2010 bit[4] 0x2011 bit[4] 0x203B bit[4] Tri-State Pull-Down C16 GPIOB_5 0x200F bit[5] 0x2010 bit[5] 0x2011 bit[5] 0x203B bit[5] Tri-State Pull-Down B16 GPIOB_6 0x200F bit[6] 0x2010 bit[6] 0x2011 bit[6] 0x203B bit[6] Tri-State Pull-Down C15 GPIOB_7 0x200F bit[7] 0x2010 bit[7] 0x2011 bit[7] 0x203B bit[7] Tri-State Pull-Down D17 GPIOB_10 0x200F bit[10] 0x2010 bit[10] 0x2011 bit[10] 0x203B bit[10] Tri-State Pull-Down E17 GPIOB_11 0x200F bit[11] 0x2010 bit[11] 0x2011 bit[11] 0x203B bit[11] Tri-State Pull-Down E16 GPIOB_12 0x200F bit[12] 0x2010 bit[12] 0x2011 bit[12] 0x203B bit[12] Tri-State Pull-Down E15 GPIOB_13 0x200F bit[13] 0x2010 bit[13] 0x2011 bit[13] 0x203B bit[13] Tri-State Pull-Down D15 GPIOB_14 0x200F bit[14] 0x2010 bit[14] 0x2011 bit[14] 0x203B bit[14] Tri-State Pull-Down D14 GPIOB_15 0x200F bit[15] 0x2010 bit[15] 0x2011 bit[15] 0x203B bit[15] Tri-State Pull-Down B15 GPIOB_18 0x200F bit[18] 0x2010 bit[18] 0x2011 bit[18] 0x203B bit[18] Tri-State Pull-Down C14 GPIOB_19 0x200F bit[19] 0x2010 bit[19] 0x2011 bit[19] 0x203B bit[19] Tri-State Pull-Down B14 GPIOB_20 0x200F bit[20] 0x2010 bit[20] 0x2011 bit[20] 0x203B bit[20] Tri-State Pull-Down A14 GPIOB_21 0x200F bit[21] 0x2010 bit[21] 0x2011 bit[21] 0x203B bit[21] Tri-State Pull-Down C13GPIOB_22 0x200F bit[22] 0x2010 bit[22] 0x2011 bit[22] 0x203B bit[22] Tri-State Pull-Down A13GPIOB_230x200F bit[23]0x2010 bit[23]0x2011 bit[23]0x203B bit[23] Tri-State Pull-Down Bank CJ19GPIOC_0 0x2012 bit[0] 0x2013 bit[0] 0x2014 bit[0] 0x203C bit[0] Tri-State (24mA) Pull-Down H19 GPIOC_3 0x2012 bit[3] 0x2013 bit[3] 0x2014 bit[3] 0x203C bit[3] Tri-State Pull-Down H18 GPIOC_4 0x2012 bit[4] 0x2013 bit[4] 0x2014 bit[4] 0x203C bit[4] Tri-State Pull-Down T4 GPIOC_7 0x2012 bit[7] 0x2013 bit[7] 0x2014 bit[7] 0x203C bit[7] Tri-State Pull-Down R5 GPIOC_8 0x2012 bit[8] 0x2013 bit[8] 0x2014 bit[8] 0x203C bit[8] Tri-State Pull-Down T5GPIOC_90x2012 bit[9]0x2013 bit[9]0x2014 bit[9]0x203C bit[9]Tri-StatePull-DownDi st ri bu tet oS ky n o o n !U5 GPIOC_10 0x2012 bit[10] 0x2013 bit[10] 0x2014 bit[10] 0x203C bit[10] Tri-State (24mA) High-Z U4 GPIOC_11 0x2012 bit[11] 0x2013 bit[11] 0x2014 bit[11] 0x203C bit[11] Tri-State (24mA) High-Z AA1 GPIOC_12 0x2012 bit[12] 0x2013 bit[12] 0x2014 bit[12] 0x203C bit[12] Tri-State (24mA) High-Z AA2 GPIOC_130x2012 bit[13]0x2013 bit[13]0x2014 bit[13] 0x203C bit[13] Tri-State (24mA) High-Z Bank DE14 GPIOD_0 0x2012 bit[16] 0x2013 bit[16] 0x2014 bit[16] 0x203C bit[16] Tri-State (24mA) Pull-Down B13 GPIOD_1 0x2012 bit[17] 0x2013 bit[17] 0x2014 bit[17] 0x203C bit[17] Tri-State (24mA) Pull-Down C12 GPIOD_2 0x2012 bit[18] 0x2013 bit[18] 0x2014 bit[18] 0x203C bit[18] Tri-State Pull-Down B12 GPIOD_3 0x2012 bit[19] 0x2013 bit[19] 0x2014 bit[19] 0x203C bit[19] Tri-State Pull-Down C11 GPIOD_4 0x2012 bit[20] 0x2013 bit[20] 0x2014 bit[20] 0x203C bit[20] Tri-State Pull-Down B11 GPIOD_7 0x2012 bit[23] 0x2013 bit[23] 0x2014 bit[23] 0x203C bit[23] Tri-State Pull-Down C10 GPIOD_8 0x2012 bit[24] 0x2013 bit[24] 0x2014 bit[24] 0x203C bit[24] Tri-State Pull-Down B10 GPIOD_90x2012 bit[25] 0x2013 bit[25] 0x2014 bit[25]0x203C bit[25] Tri-State Pull-Down Bank EA10 GPIOE_0 0x2008 bit[0] 0x2009 bit[0] 0x200A bit[0] 0x2039 bit[0] Tri-State Pull-Up C9 GPIOE_1 0x2008 bit[1] 0x2009 bit[1] 0x200A bit[1] 0x2039 bit[1] Tri-State Pull-Up A9 GPIOE_2 0x2008 bit[2] 0x2009 bit[2] 0x200A bit[2] 0x2039 bit[2] Tri-State Pull-Up B9 GPIOE_3 0x2008 bit[3] 0x2009 bit[3] 0x200A bit[3] 0x2039 bit[3] Tri-State Pull-Up C8 GPIOE_4 0x2008 bit[4] 0x2009 bit[4] 0x200A bit[4] 0x2039 bit[4] Tri-State Pull-Up D9 GPIOE_10 0x2008 bit[10] 0x2009 bit[10] 0x200A bit[10] 0x2039 bit[10] Tri-State Pull-Up D8 GPIOE_110x2008 bit[11]0x2009 bit[11]0x200A bit[11] 0x2039 bit[11] Tri-State Pull-Up Bank XA3 GPIOX_0 0x2018 bit[0] 0x2019 bit[0] 0x201a bit[0] 0x203d bit[0] Tri-State Pull-Up B3 GPIOX_1 0x2018 bit[1] 0x2019 bit[1] 0x201a bit[1] 0x203d bit[1] Tri-State Pull-Up A2 GPIOX_2 0x2018 bit[2] 0x2019 bit[2] 0x201a bit[2] 0x203d bit[2] Tri-State Pull-Up B2 GPIOX_3 0x2018 bit[3] 0x2019 bit[3] 0x201a bit[3] 0x203d bit[3] Tri-State Pull-Up B1 GPIOX_4 0x2018 bit[4] 0x2019 bit[4] 0x201a bit[4] 0x203d bit[4] Tri-State Pull-Up C2 GPIOX_5 0x2018 bit[5] 0x2019 bit[5] 0x201a bit[5] 0x203d bit[5] Tri-State Pull-Up C1GPIOX_6 0x2018 bit[6] 0x2019 bit[6] 0x201a bit[6] 0x203d bit[6] Tri-State Pull-Up D3 GPIOX_7 0x2018 bit[7] 0x2019 bit[7] 0x201a bit[7] 0x203d bit[7] Tri-State Pull-Up D2 GPIOX_8 0x2018 bit[8] 0x2019 bit[8] 0x201a bit[8] 0x203d bit[8] Tri-State Pull-Up E3 GPIOX_9 0x2018 bit[9] 0x2019 bit[9] 0x201a bit[9] 0x203d bit[9] Tri-State Pull-Up E2 GPIOX_10 0x2018 bit[10] 0x2019 bit[10] 0x201a bit[10] 0x203d bit[10] Tri-State Pull-Up E4GPIOX_110x2018 bit[11]0x2019 bit[11]0x201a bit[11]0x203d bit[11]Tri-StatePull-UpDi st ri bu tet oS ky n o o n !F4 GPIOX_12 0x2018 bit[12] 0x2019 bit[12] 0x201a bit[12] 0x203d bit[12] Tri-State Pull-Up F5 GPIOX_13 0x2018 bit[13] 0x2019 bit[13] 0x201a bit[13] 0x203d Bit[13] Tri-State Pull-Up G5 GPIOX_14 0x2018 bit[14] 0x2019 bit[14] 0x201a bit[14] 0x203d bit[14] Tri-State Pull-Up H5 GPIOX_15 0x2018 bit[15] 0x2019 bit[15] 0x201a bit[15] 0x203d bit[15] Tri-State Pull-Up H4 GPIOX_16 0x2018 bit[16] 0x2019 bit[16] 0x201a bit[16] 0x203d bit[16] Tri-State Pull-Up E1 GPIOX_23 0x2018 bit[23] 0x2019 bit[23] 0x201a bit[23] 0x203d bit[23] Tri-State Pull-Up F3 GPIOX_24 0x2018 bit[24] 0x2019 bit[24] 0x201a bit[24] 0x203d bit[24] Tri-StatePull-UpF1 GPIOX_25 0x2018 bit[25] 0x2019 bit[25] 0x201a bit[25] 0x203d bit[25] Tri-State Pull-Up F2 GPIOX_26 0x2018 bit[26] 0x2019 bit[26] 0x201a bit[26] 0x203d bit[26] Tri-State Pull-Up G3 GPIOX_27 0x2018 bit[27] 0x2019 bit[27] 0x201a bit[27] 0x203d bit[27] Tri-State Pull-Up G2 GPIOX_280x2018 bit[28]0x2019 bit[28]0x201a bit[28]0x203d bit[28]Tri-State Pull-Up Bank ZE8 GPIOZ_0 0x2008 bit[16] 0x2009 bit[16] 0x200A bit[16] 0x2039 bit[16] Tri-State Pull-Up B8 GPIOZ_1 0x2008 bit[17] 0x2009 bit[17] 0x200A bit[17] 0x2039 bit[17] Tri-State Pull-Up C7 GPIOZ_2 0x2008 bit[18] 0x2009 bit[18] 0x200A bit[18] 0x2039 bit[18] Tri-State Pull-Up B7 GPIOZ_3 0x2008 bit[19] 0x2009 bit[19] 0x200A bit[19] 0x2039 bit[19] Tri-State Pull-Up C6 GPIOZ_4 0x2008 bit[20] 0x2009 bit[20] 0x200A bit[20] 0x2039 bit[20] Tri-State Pull-Up B6 GPIOZ_5 0x2008 bit[21] 0x2009 bit[21] 0x200A bit[21] 0x2039 bit[21] Tri-State Pull-Up A6 GPIOZ_6 0x2008 bit[22] 0x2009 bit[22] 0x200A bit[22] 0x2039 bit[22] Tri-State Pull-Up C5 GPIOZ_7 0x2008 bit[23] 0x2009 bit[23] 0x200A bit[23] 0x2039 bit[23] Tri-State Pull-Up A5 GPIOZ_8 0x2008 bit[24] 0x2009 bit[24] 0x200A bit[24] 0x2039 bit[24] Tri-State Pull-Up B5 GPIOZ_9 0x2008 bit[25] 0x2009 bit[25] 0x200A bit[25] 0x2039 bit[25] Tri-State Pull-Up C4 GPIOZ_10 0x2008 bit[26] 0x2009 bit[26] 0x200A bit[26] 0x2039 bit[26] Tri-State Pull-Up B4 GPIOZ_11 0x2008 bit[27] 0x2009 bit[27] 0x200A bit[27] 0x2039 bit[27] Tri-State Pull-Up C3 GPIOZ_120x2008 bit[28]0x2009 bit[28]0x200A bit[28]0x2039 bit[28]Tri-State Pull-Up Bank AOU20 GPIOAO_0 0xc8100024 bit[0] 0xc8100024 bit[16] 0xc8100028 bit[0] 0x000B bit[0] Tri-State Pull-Up U22 GPIOAO_1 0xc8100024 bit[1] 0xc8100024 bit[17] 0xc8100028 bit[1] 0x000B bit[1] Tri-State Pull-Up U21 GPIOAO_2 0xc8100024 bit[2] 0xc8100024 bit[18] 0xc8100028 bit[2] 0x000B bit[2] Tri-State Pull-Up T21 GPIOAO_3 0xc8100024 bit[3] 0xc8100024 bit[19] 0xc8100028 bit[3] 0x000B bit[3] Tri-State Pull-Up R20 GPIOAO_4 0xc8100024 bit[4] 0xc8100024 bit[20] 0xc8100028 bit[4] 0x000B bit[4] Tri-State Pull-Up R21 GPIOAO_5 0xc8100024 bit[5] 0xc8100024 bit[21] 0xc8100028 bit[5] 0x000B bit[5] Tri-State Pull-Up P20 GPIOAO_6 0xc8100024 bit[6] 0xc8100024 bit[22] 0xc8100028 bit[6] 0x000B bit[6] Tri-State Pull-Up P21GPIOAO_70xc8100024 bit[7]0xc8100024 bit[23]0xc8100028 bit[7]0x000B bit[7]Tri-StatePull-UpDi st ri bu tet oS ky n o o n !T18 GPIOAO_8 0xc8100024 bit[8] 0xc8100024 bit[24] 0xc8100028 bit[8] 0x000B bit[8] Tri-State Pull-Up R18 GPIOAO_9 0xc8100024 bit[9] 0xc8100024 bit[25] 0xc8100028 bit[9] 0x000B bit[9] Tri-State Pull-Up R19 GPIOAO_10 0xc8100024 bit[10] 0xc8100024 bit[26] 0xc8100028 bit[10] 0x000B bit[10] Tri-State Pull-Up P19 GPIOAO_110xc8100024 bit[11]0xc8100024 bit[27]0xc8100028 bit[11] 0x000B bit[11] Tri-State Pull-Up Bank BootN20 BOOT_0 0x2015 bit[0] 0x2016 bit[0] 0x2017 bit[0] 0x203D bit[0] Tri-State Pull-Up N22 BOOT_1 0x2015 bit[1] 0x2016 bit[1] 0x2017 bit[1] 0x203D bit[1] Tri-State Pull-Up N21 BOOT_2 0x2015 bit[2] 0x2016 bit[2] 0x2017 bit[2] 0x203D bit[2] Tri-State Pull-Up M20 BOOT_3 0x2015 bit[3] 0x2016 bit[3] 0x2017 bit[3] 0x203D bit[3] Tri-State Pull-Up M21 BOOT_4 0x2015 bit[4] 0x2016 bit[4] 0x2017 bit[4] 0x203D bit[4] Tri-State Pull-Up L20 BOOT_5 0x2015 bit[5] 0x2016 bit[5] 0x2017 bit[5] 0x203D bit[5] Tri-State Pull-Up L21 BOOT_6 0x2015 bit[6] 0x2016 bit[6] 0x2017 bit[6] 0x203D bit[6] Tri-State Pull-Up K20 BOOT_7 0x2015 bit[7] 0x2016 bit[7] 0x2017 bit[7] 0x203D bit[7] Tri-State Pull-Up K21 BOOT_8 0x2015 bit[8] 0x2016 bit[8] 0x2017 bit[8] 0x203D bit[8] Tri-State Pull-Up K22 BOOT_9 0x2015 bit[9] 0x2016 bit[9] 0x2017 bit[9] 0x203D bit[9] Tri-State Pull-Up J20 BOOT_10 0x2015 bit[10] 0x2016 bit[10] 0x2017 bit[10] 0x203D bit[10] Tri-State Pull-Up J22 BOOT_11 0x2015 bit[11] 0x2016 bit[11] 0x2017 bit[11] 0x203D bit[11] Tri-State Pull-Up J21 BOOT_12 0x2015 bit[12] 0x2016 bit[12] 0x2017 bit[12] 0x203D bit[12] Tri-State Pull-Up H20 BOOT_13 0x2015 bit[13] 0x2016 bit[13] 0x2017 bit[13] 0x203D bit[13] Tri-State Pull-Up H21 BOOT_14 0x2015 bit[14] 0x2016 bit[14] 0x2017 bit[14] 0x203D bit[14] Tri-State Pull-Up G20 BOOT_15 0x2015 bit[15] 0x2016 bit[15] 0x2017 bit[15] 0x203D bit[15] Tri-State Pull-Up K18 BOOT_16 0x2015 bit[16] 0x2016 bit[16] 0x2017 bit[16] 0x203D bit[16] Tri-State Pull-Up J18 BOOT_170x2015 bit[17]0x2016 bit[17]0x2017 bit[17]0x203D bit[17] Tri-State Pull-Up Bank CARDH3 CARD_0 0x201b bit[23] 0x201c bit[23] 0x201d bit[23] 0x203D bit[20] Tri-State Pull-Up H2 CARD_1 0x201b bit[24] 0x201c bit[24] 0x201d bit[24] 0x203D bit[21] Tri-State Pull-Up J3 CARD_2 0x201b bit[25] 0x201c bit[25] 0x201d bit[25] 0x203D bit[22] Tri-State Pull-Up J2 CARD_3 0x201b bit[26] 0x201c bit[26] 0x201d bit[26] 0x203D bit[23] Tri-State Pull-Up J1CARD_4 0x201b bit[27] 0x201c bit[27] 0x201d bit[27] 0x203D bit[24] Tri-State Pull-Up K3 CARD_5 0x201b bit[28] 0x201c bit[28] 0x201d bit[28] 0x203D bit[25] Tri-State Pull-Up L4 CARD_6 0x201b bit[29] 0x201c bit[29] 0x201d bit[29] 0x203D bit[26] Tri-State Pull-Up J5CARD_80x201b bit[31]0x201c bit[31]0x201d bit[31]0x203D bit[28]Tri-StatePull-UpDi st ri bu tet oS ky n o o n !4 Pin MultiplexingMost GPIOs of AML8726-MXL/MXS are multiplexed and have multi-functions. The function of each GPIO is controlled by register. The GPIO and function relationship is defined in all bank pin multiplexing tables.Amlogic provides Software Development Kit (SDK) with Linux Kernel for AML8726-MXL/MXS. In SDK, the GPIO function selection control register is defined as a set of Macro Definition. Each Macro Definition represents a register address of 32-bit data width.4.1 GPIO Function SettingTo set a GPIO pin to a given function, please follow the steps as below: 1. Look up in each bank pin multiplexing tables for the required function.2. According to corresponding abbreviated name of macro definition (REGX[b] or AO_REG[b]), check inTable 2 for its complete name in SDK to access the register. Meanwhile, direct access with address is also possible. For AO_REG, this is the only way since the macro definition for it is currently not defined yet. 3. Set bit [b] in the Macro register/Address to 1 to enable the function. The signal of function will bemultiplexed to the pin defined and can be operated at the position defined in BGA Ball Number column.Note: In principle, only one bit in each GPIO package should be set to 1 in order to enable a specific function. However, in case more than one bit is set, the last function setting is valid in a sequential operation.4.2 Register Macro DefinitionThe register macro definition name mapping in SDK and its address is shown below:Table 2. Register Macro Definition and its AddressName of Macro Definition In SDK Abbreviation in Table 3~8 Address Default Value after power-on/Reset PERIPHS_PIN_MUX_0 REG0 0x202C 0x0000 PERIPHS_PIN_MUX_1 REG1 0x202D 0x0000 PERIPHS_PIN_MUX_2 REG2 0x202E 0x0000 PERIPHS_PIN_MUX_3 REG3 0x202F 0x0000 PERIPHS_PIN_MUX_4 REG4 0x2030 0x0000 PERIPHS_PIN_MUX_5 REG5 0x2031 0x0000 PERIPHS_PIN_MUX_6 REG6 0x2032 0x0000 PERIPHS_PIN_MUX_7 REG7 0x2033 0x0000 PERIPHS_PIN_MUX_8 REG8 0x2034 0x0000 PERIPHS_PIN_MUX_9 REG9 0x2035 0x0000 - AO_REG 0x0005 0x00004.3 Default FunctionAfter power-on/reset, all GPIOs are working as GPIO until they are set. The default value of each pin multiplexing registers is 0.Di st ri bu tet oS ky n o o n !4.4 Pin Multiplexing4.4.1 GPIO Bank AThe GPIO Bank A is not pre-assigned to any specific function and can be multiplexed to any general purpose functions.4.4.2 GPIO Bank BThe GPIO Bank B can be multiplexed to functions as:LCD output: The parallel video data output to LCD panel. It is used to connect LCD panel data port.Table 3. GPIO Bank B Pin Multiplexing TableBGA Ball Number Package Name LCD output C17 GPIOB_2 LCD_R2 REG0[0] A17 GPIOB_3 LCD_R3 REG0[0] B17 GPIOB_4 LCD_R4 REG0[0] C16 GPIOB_5 LCD_R5 REG0[0] B16 GPIOB_6 LCD_R6 REG0[0] C15 GPIOB_7 LCD_R7 REG0[0] D17 GPIOB_10 LCD_G2 REG0[2] E17 GPIOB_11 LCD_G3 REG0[2] E16 GPIOB_12 LCD_G4 REG0[2] E15 GPIOB_13 LCD_G5 REG0[2] D15 GPIOB_14 LCD_G6 REG0[2] D14 GPIOB_15 LCD_G7 REG0[2] B15 GPIOB_18 LCD_B2 REG0[4] C14GPIOB_19 LCD_B3 REG0[4] B14 GPIOB_20 LCD_B4 REG0[4] A14 GPIOB_21 LCD_B5 REG0[4] C13 GPIOB_22 LCD_B6 REG0[4] A13GPIOB_23LCD_B7 REG0[4]Di st ri bu tet oS ky n o o n !The GPIO Bank C can be multiplexed to functions as: ● SPDIF: SDPIF serial digital audio input and output ● PWM: Pulse width modulation output● LVDS TCON-A: The TCON interface for mini-LVDS LCD panel.● HDMI: The control and configuration interface of HDMI TX including I2C interface, CEC and plug-indetection.Table 4. GPIO Bank C Pin Multiplexing TableBGA Ball Number Package Name SPDIF PWM Mini-LVDS TCONHDMI J19 GPIOC_0 PWM_A REG2[0]H19 GPIOC_3 TCON_1_A REG0[13] H18 GPIOC_4 TCON_2_A REG0[14] T4 GPIOC_7 TCON_5_A REG0[17] R5 GPIOC_8 SPDIF_in REG3[23] TCON_6_A REG0[18] T5 GPIOC_9 SPDIF_out REG3[24]TCON_7_A REG0[19]U5 GPIOC_10HDMI_HPD(5V) REG1[22] U4 GPIOC_11 HDMI_SDA(5V) REG1[23] AA1 GPIOC_12 HDMI_SCL(5V) REG1[24] AA2GPIOC_13HDMI_CEC REG1[25]Di st ri bu tet oS ky n o o n !The GPIO Bank D can be multiplexed to functions as: ● PWM: Pulse width modulation output● VGHL/LED_BL: PWM output to control panel VGHL and backlight ● LVDS TCON-B: The TCON interface for TTL LCD panel.Table 5. GPIO Bank D Pin Multiplexing TableBGA Ball Number Package Name PWM VGHL/ LED_BL Mini-LVDS TCONLCD TCON E14 GPIOD_0 PWM_C REG2[2] LCD_VGHL_PWMREG1[29] B13 GPIOD_1 PWM_D REG2[3]LED_BL_PWM REG1[28]C12 GPIOD_2 TCON_0_B REG0[22] TCON_STH1_B REG1[19] B12 GPIOD_3 TCON_1_B REG0[23] TCON_STV1_B REG1[18] C11GPIOD_4TCON_2_B REG0[24] TCON_OEH_B REG1[17] B11 GPIOD_7TCON_5_B REG0[27] TCON_CPH50_B REG1[11] TCON_CPH1 REG1[14] TCON_CPH2 REG1[13] TCON_CPH3 REG1[12] C10 GPIOD_8 TCON_6_B REG0[28] TCON_VCOM_B REG1[20]B10GPIOD_9PWM_A REG3[26]TCON_7_B REG0[29]4.4.5 GPIO Bank EThe GPIO Bank E can be multiplexed to functions as:● Digital Audio In and output: I2S digital audio input/output.Table 6. GPIO Bank E Pin Multiplexing TableBGA Ball Number Package Name Audio InAudio OutA10 GPIOE_0 I2S_IN_CH01 reg9[11]C9 GPIOE_1 I2S_IN_LR_CLK reg9[10] I2S_OUT_LR_CLKreg9[9] A9 GPIOE_2I2S_OUT_MCLKreg9[7] B9 GPIOE_3 I2S_IN_BCLK reg9[6]I2S_OUT_BCLKreg9[5] C8 GPIOE_4I2S_OUT_CH01reg9[4]D9 GPIOE_10 D8 GPIOE_11Di st ri bu tet oS ky n o o n !The GPIO Bank X can be multiplexed to functions as: ● UART: UART port A and B ● SDIO and SDXC● I2C Master and Slave interface ● ISO7816 smart card interface ● PCM interface● Clock out: The output of AML8726-MXL/MXS PLL clock to external peripheral devices.Table 7. GPIO Bank X Pin Multiplexing TableBGA Ball Number Package Name UART-A/BSDIO-A SDXC-A I2C Master I2C Slave ISO7816PCM Clock outA3 GPIOX_0 SD_D0_A REG8[5] SDXC_D0_A REG5[14] B3 GPIOX_1 SD_D1_A REG8[4] SDXC_D1_A REG5[13] A2 GPIOX_2 SD_D2_A REG8[3] SDXC_D2_A REG5[13] B2 GPIOX_3 SD_D3_A REG8[2]SDXC_D3_A REG5[13]B1 GPIOX_4 SDXC_D4_A REG5[12] PCM_OUT REG3[30] C2 GPIOX_5 SDXC_D5_A REG5[12] PCM_IN REG3[29] C1 GPIOX_6 SDXC_D6_A REG5[12] PCM_FS REG3[28] D3 GPIOX_7 SDXC_D7_A REG5[12] PCM_CLK REG3[27]D2 GPIOX_8 SD_CLK_A REG8[1] SDXC_CLK_A REG5[11] E3 GPIOX_9 SD_CMD_A REG8[0]SDXC_CMD_A REG5[10]E2 GPIOX_10E4 GPIOX_11 F4 GPIOX_12 CLK_OUT3 REG3[21]F5 GPIOX_13 UART_TX_A REG4[13]G5 GPIOX_14 UART_RX_A REG4[12] H5 GPIOX_15 UART_CTS_A REG4[11] H4 GPIOX_16 UART_RTS_A REG4[10]E1 GPIOX_23 UART_TX_B REG4[5] ISO7816_CLK REG4[15] F3 GPIOX_24 UART_RX_B REG4[4]ISO7816_DATA REG4[14]F1 GPIOX_25 I2C_SDA REG5[27] I2C_SDA REG5[25] F2 GPIOX_26 I2C_SCK REG5[26] I2C_SCK REG5[24] G3 GPIOX_27 I2C_SDA REG5[31] I2C_SDA REG5[29] G2 GPIOX_28I2C_SCK REG5[30]I2C_SCK REG5[28]Di st ri bu tet oS ky n o o n !The GPIO Bank Z can be multiplexed to functions as: ● ITU601 input: ITU601/656 video input interface● Clock out: The output of AML8726-MXL/MXS PLL clock to external peripheral devices.Table 8. GPIO Bank Z Pin Multiplexing TableBGA Ball Number Package NameITU601 In Clock OutE8GPIOZ_0FIR reg9[18] IDQ reg9[17]B8 GPIOZ_1 HS reg9[16]C7 GPIOZ_2 VS reg9[15] B7 GPIOZ_3 D0 reg9[14] C6 GPIOZ_4 D1 reg9[14] B6 GPIOZ_5 D2 reg9[14] A6 GPIOZ_6 D3 reg9[14] C5 GPIOZ_7 D4 reg9[14] A5 GPIOZ_8 D5 reg9[14] B5 GPIOZ_9 D6 reg9[14] C4 GPIOZ_10 D7 reg9[14] B4 GPIOZ_11 CLK reg9[13]C3GPIOZ_12CLK_OUT reg9[12]Di st ri bu tet oS ky n o o n !The Bank AO GPIO belongs to a special power domain, which is Always-On (AO), in AML8726-MXL/MXS. The AO power domain cannot be powered off unless disconnect AML8726-MXL/MXS from power supply.The GPIO Bank AO can be multiplexed to functions as: ● JTAG: The debug interface of chip.● Remote: The IR remote control analog signal input● UART: A dedicated UART interface in AO power domain ● UART PMIC: Dedicated UART interface for PMIC● I2C Master and Slave: The dedicated I2C Master and Slave interface in AO power domain ● CLOCK OUT: The output of AML8726-MXL/MXS PLL clock to external peripheral devices. ● WD GPIO:Table 9. GPIO Bank AO Pin Multiplexing TableBGA Ball Number Package Name JTAG RemoteUART UART PMICI2C Master I2C Slave Clock OutWD GPIOU20 GPIOAO_0 JTAG_TDO_SYS JTAG_TDO_MEDIAUART_TX_AO AO_REG[12] U22 GPIOAO_1 JTAG_TDI UART_RX_AO AO_REG[11]U21 GPIOAO_2 JTAG_TMS UART_CTS_AO AO_REG[10] UART_TX_PMIC AO_REG[26] I2C_SCK_AO AO_REG[8] I2C_CLK_SLAVE_AOAO_REG[4] T21 GPIOAO_3 JTAG_TCKUART_RTS_AO AO_REG[9]UART_RX_PMIC AO_REG[25] I2C_SDA_AO AO_REG[7] I2C_SDA_SLAVE_AOAO_REG[3] R20 GPIOAO_4 UART_TX_PMIC AO_REG[24] I2C_SCK_AO AO_REG[6] I2C_SCK_SLAVE_AOAO_REG[2] R21 GPIOAO_5 UART_RX_PMIC AO_REG[23]I2C_SDA_AO AO_REG[5]I2C_SDA_SLAVE_AOAO_REG[1]P20 GPIOAO_6 CLK_OUT2 AO_REG[22]WD_GPIO AO_REG[19]P21 GPIOAO_7REMOTE AO_REG[0]T18GPIOAO_8JTAG_TCKenable=AO_REG[14] disable=AO_REG[13]R18 GPIOAO_9 JTAG_TMS enable=AO_REG[14] disable=AO_REG[13]R19 GPIOAO_10 JTAG_TDIenable=AO_REG[14] disable=AO_REG[13]P19 GPIOAO_11 JTAG_TDO enable=AO_REG[14] disable=AO_REG[13]CLK_OUT AO_REG[21]Di st ri bu tet oS ky n o o n !The Bank BOOT is a dedicated GPIO bank to access bootable devices such as NAND Flash, eMMC and SD card. It can be multiplexed to functions as: ● SDIO-C: The SDIO port C interface ● SDXC-C: The SDXC port C interface ● NAND: The NAND flash interface ● eMMC: The eMMC flash interface ● I2C interface● SPI NOR interfaceTable 10. GPIO Bank BOOT Pin Multiplexing TableBGA Ball NumberPackage NameSDIO-C SDXC-CNAND /eMMC NAND RBI2C SPI NORN20 BOOT_0 SD_D0_C reg6[29] SDXC_D0_C reg4[30] NAND_IO_0 reg2[26] I2C_SDA reg3[31] N22 BOOT_1 SD_D1_C reg6[28] SDXC_D1_C reg4[29] NAND_IO_1 reg2[26] I2C_SCL reg3[31]N21 BOOT_2 SD_D2_C reg6[27] SDXC_D2_C reg4[29] NAND_IO_2 reg2[26] M20 BOOT_3 SD_D3_C reg6[26]SDXC_D3_C reg4[29] NAND_IO_3 reg2[26] M21 BOOT_4 SDXC_D4_C reg4[28] NAND_IO_4 reg2[26] L20 BOOT_5 SDXC_D5_C reg4[28] NAND_IO_5 reg2[26] L21 BOOT_6 SDXC_D6_C reg4[28] NAND_IO_6 reg2[26]K20 BOOT_7 SDXC_D7_C reg4[28]NAND_IO_7 reg2[26]K21 BOOT_8NAND_CE0 (bootable) reg2[25]K22 BOOT_9NAND_CE1 reg2[24]J20 BOOT_10 SD_CMD_C reg6[25] SDXC_CMD_Creg4[27] NAND_CE2 reg2[23]NAND_RB0 reg2[17]J22 BOOT_11 SD_CLK_C reg6[24]SDXC_CLK_C (bootable) reg4[26]NAND_CE3 reg2[22] NAND_RB1 reg2[16]J21 BOOT_12 NAND_ALE reg2[21] SPI_NOR_D_A enable=reg5[1] H20 BOOT_13 NAND_CLE reg2[20]SPI_NOR_Q_A enable=reg5[3] H21 BOOT_14 NAND_WEn_CLKreg2[19] SPI_NOR_C_A enable=reg5[2]G20 BOOT_15 NAND_REn_WRreg2[18]K18 BOOT_16 NAND_DQS reg2[27]J18BOOT_17SPI_NOR_CS_n_A enable=reg5[0]Di st ri bu tet oS ky n o o n !。
艾诺NOVO8拆机高清图解艾诺NOVO8的硬件配置与8GB/998元的零售价格实在是太诱惑人。
首先艾诺NOVO8采用了成熟稳定的AMLogic AML8726-M主控芯片,这款芯片为Cortex-A9单核架构,主频800MHz,内置了Mali-400 GPU,3D图形性能较为出色;其次NOVO8采用5点电容式触摸面板,触摸操作手感有一定的保障;第三就是高分辨率屏幕,NOVO8的显示屏为8英寸1280×768像素,比同样尺寸屏幕的平板分辨率都要高,显示效果理论上会更加细腻。
而在售价方面,8GB容量版本定在了千元以下,不得不说是一枚重磅炸弹。
下面我们就来拆解这款平板,看看它的内部做工究竟怎样,也算是给网友另一份购机参考材料吧。
习惯了拆前先拍照留个念,因为拆后里面就有我的指纹印记了NOVO8机身背面有四颗隐藏起来的螺丝,先要将这四颗螺丝拧下才能打开外壳。
拧螺丝前先用镊子把橡胶帽取下。
橡胶帽取下后就能看到螺丝了。
依次拧掉四个边角的螺丝。
然后我们需要一根撬棒,没有撬棒会比较麻烦,因为前面板框的四周都是反向卡扣,需要稍稍按下才能弹开,有撬棒拆起来会容易很多,也不会弄伤外壳。
拆前面板框需要一定的耐心终于安全打开,我们发现NOVO8的触摸面板与屏幕紧紧粘在一起,这样也可以防止灰尘进入,我记得评测帖子的跟帖里就有网友提到这个问题,现在您可以放心了,进灰的可能性理论上不大。
这是按键和其对应的边框部分,按键背面为橡胶材质,所以寿命方面基本不用担心。
这是轨迹球背面,触点在主板上,这里只是机械转动的部分。
前面板框四周全是反向卡扣我们继续往下拆屏幕连同触摸面板一起可以被掀起来,底下就是电池和主板了。
到一定的固定作用。
依次拧下这两颗螺丝图上主板已经脱离后壳了,所以屏幕可以自然放下。
如果主板螺丝没有拧下来,屏幕是放不下去的,因为数据线会承担显示屏的重量。
如果有朋友也想拆NOVO8,此处一定要小心。
电池旁边的这个小塑料板就是NOVO8的WiFi天线了。
10 安卓BOX 使用说明1、机器特点:安卓BOX 是采用基于Cortex A9 的Amlogic(晶晨半导体)AML8726-M3,主频为1.0G 的CPU 配备安卓4.04操作系统设计而成,其集卫星接收机和网络媒体播放器功能于一身,卫星接收机部分支持1080P 全高清,支持网络共享,支持CA ,支持中文编辑,支持EPG ,网络媒体播放器包含了查看股票、浏览新闻、天气预报、下载游戏、2D\3D 游戏,GOOdie Map YOUTUBE 、在线网络直播,在线点播,QQ 视频、通讯等娱乐功能,能够实现与小米手机,iphone ,ipad ,pc 等设备的互联,同时也引入了大量网络资源,将来更可以通过开发软件来实现更多的功能。
是目前市面上功能最强大的机器。
2 开关电源的用法 将产品插上电源:将电源开关打开至“NO ”处。
建议客户不使用时关机: 退出工作界面,保存所使用的文件,关掉开关电源。
强制关机: 直接拔电源来执行强制关机。
警告:强制关机有可能导致系统出现不可预知的错误!3 键盘的用法常用按键:直接将 U SB 键盘插入接口即可,仅限于简易输入。
遥控器操作时按“DVR INFO ”键。
注:部分界面键盘无法操作时,请使用鼠标。
4、遥控器将默认输入法修改为遥控器输入法方法:点击进设置界面→ 语言和输入法→ 默认→ 遥控器输入法5、USB 接口的使用使用U SB 鼠标使用前,直接将U SB 鼠标插入接口即可。
使用无线鼠标使用前,直接将无线鼠标的U SB 接收器插入接口即可。
☆在购买或使用前,请先确认设备是否支持该型号的无线鼠标。
使用U盘、移动硬盘使用前将U盘(移动硬盘)插入设备。
主菜单界面右下侧的状态栏中将提示“正在准备USB 存储设备”。
当U盘移动硬盘)准备好后,可通过文件管理器或其他文件浏览器访问U 盘(移动硬盘)中的各种文件。
移除U盘、移动硬盘移除前关闭所有从盘上打开的程序或者文件。
在主菜单中,点击设置→存储→ 卸载U SB 存储设备→ 要卸载U SB 存储设备吗?对话框→ 确定。
平板电脑采用的各系统芯片组性能与点评【各系统芯片组性能与点评】一,AML8726-M方案这个是目前比较便宜的一个方案。
AML8726-M是AMLogic做的!中文名字叫晶晨半导体,是一家业界领先的半导体公司,在视频、音频和图像处理领域提供先进的产品解决方案,广泛应用于数字电视、数码相框、家庭媒体中心和机顶盒等消费电子产品中。
下面是厂商给出的简介:AML8726-M是一颗面向平板电脑和MID应用设计的芯片。
它集成了强大的CPU和GPU、2D/3D图像子系统、先进的视频解码引擎、以及所有主流外设接口,是一颗完整的多媒体片上系统芯片。
其主要特性包括:●ARM Cortex-A9 CPU, 最高频率到1GHz●高性能3D GPU●完善的2D图像处理器●全1080P高清视频解码●支持Adobe Flash Player 10.2●支持OpenGL ES 2.0●音频解码和视频管理专用媒体处理器●ITU 656/601摄像头输入端口跟I2S数字音频输入端口●所有标准音频/视频输出端口●支持DDR2和NAND/NOR 闪存结合低功耗和强大的多媒体处理性能,基于该芯片的解决方案是成本敏感的面向大众型安卓平板电脑/MID的理想选AML8726-M结构图总结:在基于65nm工艺,采用了ARMv7架构的Cortex-A9单核核心,能耗控制的不错,最高可达1GHz一般稳定在800MHZ的主频,多级流水架构,具备128KB二级缓存。
内置由ARM提供的Mali400GPU方案,支持OpenVG1.12D 图形以及OpenGL 1.1以及OpenGL 2.0 3D图形,支持6种纹理贴图,使得AML8726-M在运行速度和3D游戏的处理上的表现非常不错。
同时8726的影音视频解码硬件齐全,播放视频和音乐表现都非常优秀采用Android2.2系统方案,支持多种格式1080P视频解码,性能十分强劲。
当然它也是有缺点的!采用的65NM的工艺制程使得AML8726-M在性能上没有太大提升。
AMLOGIC8726M MBX编译调试指南1、安装UBUNTU操作系统。
如安装UBUNTU虚拟机可参考:/Linux/2010-04/25829.htm2、安装编译器如果是Ubuntu Linux (32-bit x86):$ sudo apt-get install git-core gnupg sun-java6-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev如果是Ubuntu Linux (64-bit x86):$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl sun-java6-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libsx11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev配置JAVA编译环境(方法自己上网查询)编译器安装可参考下面网页:/wiki/index.php/Arm/Android/source/download.html3、编译ROOTFS$ cd ~/mydroid$ source build/envsetup.sh$ lunch选择12 (c03ref-user)$ make4、编译KERNEL•从下面地址下载GNU TOOLCHAIN/download/linux/ARM/gnutools/arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-li nux-gnu.tar.bz2安装交叉编译器$ cd /opt$ sudo tar jxvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2配置交叉编译器$ cd kernel$ gedit env.sh修改路径export CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-linux-gnueabi-$ . env.sh编译uImage选择板子对应的kernel配置文件:$ make help如原理图为MBX版本选择meson_refc03_defconfig$ make meson_refc03_defconfig$ make menuconfigenable General setup->Initial RAM filesystem and RAM diskset "Initramfs source file" to root dir(../out/target/product/c03ef/root)$ make uImage$ cp ./arch/arm/boot/uImage ../out/target/product/c03ref/编译uImage_recovery选择recovery的kernel配置$ make help选择meson_refc03_recovery_defconfig$ make meson_refc03_recovery_defconfig$ make menuconfigset General setup->"Initramfs source file" to recovery root dir(../out/target/product/c03ref/recovery/root)$ make uImage$ cp ./arch/arm/boot/uImage ../out/target/product/c03ref/uImage_recovery5、编译update.zip升级包文件$ cd ~/mydroid$source build/envsetup.sh$ lunch选择12 (c03ref-user)$ make otapackage6、编译uboot选择uboot路径选择板子对应的uboot配置$ make help如果原理图对应的是MBX版本,选择:$make m1_dvbc_config$make即可得到编译的uboot文件(文件夹build目录下的u-boot-aml-ucl.bin文件)7、制作烧录SPI的SPI.BIN文件。
A M L8726-M产线维修指南版本:V0.7说明:此维修指南主要针对A M L8726-M的M I D在生产中出现的问题进行相应的处理,主要基于R E F-A的版本,R E F-B也可以用作参考。
一、维修硬件需求:1、夹具:可以直接把G N D、T X、R X、V C C3.3V、N A N D_W E接出去。
2、U A R T小板,可以通过电脑看打印信息。
3、已经烧录u-b o o t的S P I小板,用顶针和P C B连接,可以用来启动机器。
二、软件需求:1、u-b o o t-512M-U a r t B.b i n和D D R I I地址线数据线的测试软件。
2、串口接收工具(可以使超级终端)。
三、其他工具:稳压电源、万用表、示波器、电脑、带u-b o o t的启动卡及升级文件等四、基本知识:M I D的程序分为3部分:u-b o o t、k e r n e l、r o o t f s,u-b o o t是启动c o d e,约300K;k e r n e l为底层的c o d e,约3M;r o o t f s为大c o d e,约65M。
其中u-b o o t分为256M的和512M 的两种,一般名称为u-b o o t-a m l.b i n和u-b o o t-512M-U a r t B.b i n,u-b o o t必须和平台内存对应(256M或512M),否则没法启动。
三部分的c o d e都是经过T F卡升级(烧录)到N N A N D F l a s h里面的,所以:第一步:把u-b o o t做到T F卡里面,做成启动卡(软件人员可以完成);第二步:把u-b o o t、k e r n e l、r o o t f s等升级文件直接拷贝到T F卡里;第三步:插卡,直接上电,M I D便可以升级。
升级主要分为如下几步:第一步:从启动卡启动u-b o o t——初始化D D R I I、N A N D等,电流会从100m A增加到200m A@5V;第二步:擦除N A N D,并从卡里面读取u-b o o t,烧到N A N D F l a s h里面,然后重启;第三步:然后把l o g o和k e r n e l烧到N A N D F l a s h里,接着跑k e r n e l;第四步:系统显示机器人界面,接着进入升级界面;第五步:升级完成以后,系统会自动重启,然后显示l o g o、机器人、a n d r o i d字样,然后进入系统。
电梯网络多媒体视频机使用说明书电梯网络多媒体视频机使用说明书一、产品概述随着社会的发展,电梯广告已广泛出现在小区、商场、医院、机场等公共场合,各式各样的电梯广告机也相继问世,因此易操作、省成本、多功能的广告机便成了各企业争先竞足的目标。
AML8726-M3安卓广告机解码板(核心板+底板)可解1080P高清视频,具有输出HDMI 1080P 的功能,只要接上屏线、高压控制线及电源即可直接驱动1366*分辨率768及其以下的屏幕,无须再另外加驱动板;驱动1920x1920 FULL HD LCD 亦只需增加一个HDMI 接口的驱动板即可。
此款广告机集3路USB口、SD卡、网络接口、WIFI 接口于一体,其优点是可以在局域网内高速传输下载广告内容,方便集中管理,方便及时发布信息。
二、技术参数电源:+24V 直流电源工作温度:0℃~70℃(可定制工业级)环境湿度:20% ~ 90%,非冷凝电气指标:24V@2000mA(不同LCD功率不同)机械尺寸:120 mm * 90 mmPCB规格:核心板6层三、产品特性AML8726-M3应用处理器,核心频率1GHz版本:Android (linux )1GHz ARM Cortex-A9 Core1GByte DDR SDRAM4GByte NAND Flash提供2路UART信号(5线,支持硬件流控)提供2路 USB host,其中一路可做OTG提供音频输入/输出信号提供2路I2C(可选配电容屏)支持10/100M 以太网支持红外遥控支持1路SD/MMC接口支持RMLL接口四、播放功能支持横屏/竖屏播放,支持180度旋转功能开机自动循环播放广告插播功能支持定时开关机功能支持超大BMP挂角图标显示功能支持超长流水字幕显示功能支持文件直接在本机上拷贝和删除的功能.后台自动生成播放日志分时音量,不同的时段,可设置不同的音量分时播放不同playlist,可人为设置playlist支持USB播放,支持热插拔,内容更新方便快捷支持音视频格式:MPG、MPG-1、MPG-2、MPG-4、AVI、MP4、DIV、TS、MKV、MOV、 WMV、RM、RMVB等播放模式:单曲重复播放、文件夹循环播放、全盘循环播放图片播放:旋转、缩放、平移、幻灯片播放、背景音乐播放五、外观布局六、硬件说明1.供电与通信口说明供电电压为直流24V。
USB 转接线3.5 寸耳机标配标准立体声耳机5V/2.5A 标配USB 数据线连接PC机用数据线OTG转HOSTHDMI接口标配类型细节输入设备USB 扩展,支持有线/无线耳机接口鼠标HDMI 1.4a可选标配键盘描述USB 扩展,支持有线/无线电源适配器必要配件USB OTG 扩展外置存储描述类型3GSIM卡接口∮2.5mm 电源接口输入设备音频输出电源3G接口以太网USB转以太网TF存储卡座USB接口DC接口接口配置∮3.5mm 标准耳机接口扩展外置存储及数据传输可支持SDHC/SDXCDual 1.5GHz 类型类型类型WIFI模块WIFI 802.11b/g/n(BT4.0可选)内置支持TP 电容电池4-8小时Dual 400MHz 模具图片产品形态描述外观尺寸细节直板产品形式198mm*117mm*12.8mmWIFI产品外观类型尺寸内置内置8Ω/1.5W 喇叭 x 2MP3,WMA,WAV,OGG,FLAC,ALAC,APE,AAC,AC-3,DTS (需要license)亿 道 信 息 技 术 有 限 公 司##########################################################产品型号(Subject):EM679BD2MP /(5MP可选)8GB(8GB/16GB/32GB可选)容量Dual Mali 400BMP, JPG, GIF, PNGRAM 1GB DDR3Nand FlashWCDMA/EVDO/TD-SCDMA(可选),支持语音通话描述网络连接GPSG_sensor 内置内置速度Amlogic AML8726-MX, Dual Cortex-A9描述扬声器ROM Flash MEPG 1/2/4,H.263/H.264,RMVB,WMV/VC-1,MVC,AVS,MJPEG. (UP TO 1080P)摄像头音频前置0.3MP/(2MP可选)LCD GPU 多媒体支持(硬件解码)聚合物锂离子电池续航时间CPU 类型视频类型系统硬件配置7'' 16:9屏幕分辨率1024x600 HD IPS触摸屏DDR3 3.7V/4100mAH屏幕尺寸速度图片细节后置3轴重力加速度传感器细节音视频输出细节。
AML 8726-M A/V ProcessorUser’s GuideAMLOGIC, Inc.3930 Freedom CircleSanta Clara, CA 95054U.S.A.AMLOGIC reserves the right to change any information described herein at any time without notice.AMLOGIC assumes no responsibility or liability from use of such information.Table of Content1INTRODUCTION (5)1.1W HAT’S NEW? (6)2FEATURES (7)3ARCHITECTURE OVERVIEW (10)3.1A RCHITECTURE (10)3.2V IDEO/P ICTURE P ROCESSING (10)3.2.1 A/V Stream Parser (10)3.2.2 RealVideo, H.264 MPEG 1/2/4 and VC-1 Video Decoder (11)3.2.3 JPEG/M-JPEG Picture/Movie Decoder (11)3.2.4 Video Post-Processor (11)3.2.5 TV Encoder,Video DAC and Digital Video Output (12)3.2.6 Video Encoder, Video DAC (12)3.3A UDIO P ROCESSING (12)3.3.1 Audio Decoding and Post-Processing (12)3.3.2 Audio Interfaces (13)3.4P ANEL O UTPUT I NTERFACES (13)3.4.1 Digital Panel Output (13)3.4.2 LCD Timing Controller (13)3.5P ERIPHERALS I NTERFACE A RCHITECTURE (14)3.5.1Ethernet (14)3.4.2 USB Interfaces (14)3.4.3 Card Reader Interfaces (14)3.4.4 Smart Card Interface (14)3.6H OST CPU AND S YSTEM A RCHITECTURE (16)3.6.1Embedded Host CPU (16)3.5.2 Memory Interfaces (16)3.5.3 Clock and Power Supplies (16)3.7S ET T OP F UNCTIONALITY (16)3.6.1 Transport-Stream Demux Interface (17)3.6.2 Cryptographic Engine (17)3.6.3 ISO 7816 Smart Card interface (17)4EXTERNAL INTERFACES (18)4.1G LOBAL C ONFIGURATIONS (18)4.1.1 Reset Configuration (18)4.1.2 Clocks (18)4.1.3 JTAG for Software Development (18)4.1.4 GPIOs (19)4.2M EMORY I NTERFACES (19)4.2.1 DDR2 SDRAM Interfaces (19)4.2.2 NAND FLASH Interface (20)4.2.3 SPI NOR FLASH Interface (20)4.3A UDIO I NTERFACES (21)4.3.1 I2S Audio Output Interface (21)4.4V IDEO O UTPUT I NTERFACES (22)4.4.1 Analog Video Output (22)4.4.2 HDMI High-definition Digital Video Output (22)4.5P ERIPHERALS (23)4.5.1 Card-Reader Interface (23)4.5.2 Camera Interface (23)4.5.3 S-ATA Host Interface (23)5OPERATING CONDITIONS (24)5.1(E STIMATED)DC C HARACTERISTICS (24)5.2A BSOLUTE M AXIMUM R ATINGS (24)5.3R ECOMMENDED O PERATING C ONDITIONS (25)6PIN-OUT (26)6.1P IN-OUT INFORMATION (26)6.2P ACKAGE PIN-OUT DIAGRAM (34)7 DDR2 INTERNAL LENGTH (35)8 MECHANICAL SPECIFICATIONS (37)Revision HistoryRevision Number RevisedDateBy Changes0.1 2010/03/29MY Pin-out0.2 2010/04/12 J Z Initial release with general description of chipset.1.0 2010/10/09 J Z Delete DivX1.1 2010/10/18 J Z Add STB and TV function1 IntroductionThe AML8726-M A/V processor is a new generation complete integrated system targeting high end of Audio/Video decoder. AML8726-M device is designed for MID/Tablet/STB/TV applications and multimedia players. It integrates a power CPU and graphics subsystem with state-of-the arts video decoding engine and all major peripherals to form the ultimate multimedia SoC.The CPU subsystem is an ARM Cortex A9 CPU, up to 1GHz frequency with L1 instruction and data cache and a large L2 unified cache to improve system performance. In addition, the CPU includes the NEON SIMD engine to improve software media processing capability. The video output pipeline can perform advanced image correction and enhancements.The embedded 32-bits core CPU handles all system related application software. It can execute LINUX and Android, the base operating system will be Android for AML8726-M. All applications and drivers run on top of Android. Android drivers including Video/Audio decoder drivers, DVB stacks (tuner, channel, EPG and TT), Ethernet drivers and networking stacks, USB hardware driver, and other hardware related programming interfaces. Applications include GUI, EPG viewer, and file system are also included. Developers can add additional applications for end-product customization.The graphics subsystem consists of two graphic engines and a flexible video/graphics output pipeline. The ARMMali-400 GPU handles all the OpenGL ES 2.0 and OpenVG graphics programs, while the 2.5D graphics Engine handles additional scaling, alpha, rotation and color space conversion operations.Together, the CPU and GPU handle all operating system, networking, user-interface and gaming related tasks. Multimedia decoding is accomplished by a pair of specialized low-power video decoding engine and MediaCPU.The video decoder can decode all HD video formats. H.264, RealVideo, MPEG1/2/4, VC-1/WMV and JPEG/M-JPEG streams are processed by dedicated hardware and the flexible dual MediaDSP engines. In addition to video, the video engine is also capable of decoding JPEG pictures with no size limitation. An audio optimized MediaDSP is available for audio decoding to off-load computation tasks from the ARM A9 CPU.A crypto-processor accompanies the CPU and media decoding engine to handle encrypted traffic and media streams. The crypto processor provides hardware based random number generator and supports DES, 3DES, AES and DVB-C/T standards.The SoC integrates many advanced peripherals inside including 802.11 b/g baseband and 10/100 Ethernet MAC;3Gbps SATA and dual USB high-speed ports; multi-standards card controller and transport-demux processor. The flexible and programmable QoS-based switch fabric and memory controller tie all the processing cores and peripherals together and connects to the DDR2 memory bus. TV interface can be from the built-in video DAC or HDMI transmitter. AML8726-M includes one transport stream de-multiplexer hardware with serial SPI, parallel SPI and internal memory interface. TS input can be accepted from either the SPI interfaces (broadcasting) or from internal memory (PVR).DVB Common Descrambler 1.0 is supported in addition to DES, Triple DES (TDES/3DES) and AES streaming crypto formats. An ISO7816 controller is included for interfacing to external STB smart card.The AML8726-M integrated a 10/100M Fast Ethernet controller for Internet or intranet access. An external RMII Ethernet PHY is needed to complete the Ethernet service.The AML8726-M supports all popular memory card formats and protocols. For example Secure Digital card (SD/SDHC), Multimedia Card (MMC), Sony Memory Stick (MS).The AML8726-M SoC supports industrial standard LINUX and Android operating system. Standard development environment utilizing gcc tool chains are supported. Please contact your AMLOGIC Sales for more information.About Energy Star CompliantWith Amlogic A/V Chip solutions, Customer can easily produce relevant consumer products which comply with Energy Star Display Specification Version 5.0(in Draft. It is scheduled to be effective October 1, 2009)./ia/partners/prod_development/revisions/downloads/monitors/version5_draft1_cover_memo.pdf1.1 What’s new?The AML8726-M adds the following key new features on top of last product generations:ARM Cortex A9 CPU, up to 1GHz frequencyARM Mali-400 3D GPUVC-1 SP/MP/AP (1080P, progressive/interlace frame picture)802.11b/g and Ethernet networking interfacesSerial ATA (SATA) 2.0 3Gbps port with AHCI software interface for connecting to hard disk drive.Programmable four channels high speed video DACs for analog video output (CVS, S-Video, YPbPr and VGA) Programmable HDMI 1.3 transmitter for digital video outputIntegrated RTC with battery backup optionIntegrated multiple channels 10-bit SAR ADC2 FeaturesThe AML8726-M chip is very flexible and most of the capabilities are under firmware control. The following list of features may or may not be included in the firmware library or binary, depending on the actual application and platform.CPU Sub-systemARM Cortex A9 CPU, up to 1GHz frequencySupports ARMv7 ISA with Thumb-2 technology2.50DMIPS/MHzdesignout-of-orderMulti-issuesuperscalar,32KB instruction cache, 32KB data cacheUnified 128KB L2 cacheMemory Management Unit and TrustZone securityAdvanced NEON SIMD media acceleratorSupporting LINUX and Android operating system3D Graphics Processing UnitARM Mali-400 3D GPU250Mpix/sec and 25Mtri/secFull scene over-sampled 4X anti-aliasing engine with no additional bandwidth usageGPU-L2 cache for reduction of graphics data bandwidthGPU-Memory Management UnitIndependent and concurrent GPU and CPU processingOpenGL ES 1.1/2.0 and OpenVG 1.1 software driver2.5D Graphics ProcessorFast bitblt engine with dual inputs and single outputProgrammable raster (ROP) and alpha (AOP) operationsProgrammable polyphase scaling filterSupports multiple video formats 4:2:0, 4:2:2 and 4:4:4 and multiple pixel formats (8/16/24/32 bits graphics layer) Fast color space conversionanti-aliasingfilterAdvancedRGB Output and TCON•RGB888 for digital LCD panels;•Three independent Gamma table for LCD panel tuning;•Dithering logic for mapping to different LCD panel color depth;•Integrated programmable timing controller (TCON) for digital LCD panels;Accelerated Video/Picture Decoding HardwareM-JPEG and JPEG decoding ISO/IEC-10918 – Unlimited pixel resolution (currently test with 16M pixel digital camera and 100M pixel Photoshop file)MPEG-1 MP/HL conforming to ISO-11172 (1080P)MPEG-2 MP/HL conforming to ISO-13818 (1080P)MPEG-4 (HD 1080P)RealVideo 8/9/10 Decoding (720p)(1080P)H.264HP@L4.1VC-1 SP/MP/AP (1080P, progressive/interlace frame picture)Supports JPEG thumbnail, scaling, rotation and transition effectsMultiple language and multiple format sub-title video supportSupports *.mkv,*.wmv,*.mpg, *.mpeg, *.dat, *.avi, *.mov, *.iso, *.mp4, and *.jpg file formatsVideo Post-Processing ControllerMotive adaptive 3D noise reduction filterAdvanced motion adaptive edge enhancing de-interlacing enginepull-downsupport3:2Programmable poly-phase scalar for both horizontal and vertical dimension for zoom and windowingProgrammable color management filter (to enhance blue, green, red, face and other colors)Chroma coring and black extension processingDynamic Non-Linear Luma filterProgrammable color matrix pipelineVideo mixer: 2 video planes and 2 graphics planesVideo OutputProgrammable four channels high speed video DACs for analog video output (CVS, S-Video, YPbPr and VGA) HDMI 1.3 transmitter for digital video outputSupports all standard SD/HD video output formats: 480i/p, 576i/p, 720p and 1080i/pCCIR656/RGB888 digital output for interfacing to other video devices(e.g. HDMI Tx, MEMC engine, LCD panel, etc.)Both analog or digital output can be connected to TV scalarAudio Decoding and OutputMediaCPU with DSP audio processingCapable of supporting software codecs like MPEG audio, Dolby Digital, MIDI, MP3, WMA, AAC and many more Build-in 2 channels audio DAC and i2s output for connecting to TV audio processor or scalar.SPDIF/IEC958 serial digital audio outputDigital Audio InterfacesITU 601/656 video input with optional down-scalarDual channels i2s digital audio inputTransport Stream (ISO13818-1 TS packet format) SPI interface for DVB/ATSC-type digital videoIntegrated Network InterfacesIEEE 802.3 10/100 Ethernet controller (with RMII interface for external PHY+magnetics)STB InterfaceDVB-C demodulator for ITU-T H.83 Annexes A/C, supporting 16, 32, 64, 128, 256 points constellationsDVB-T demodulator for DVB-T standard (ETSI EN-200744) supporting 2K/4K/8K FFT modes, all constellations and all code rates with fast channel acquisition timeTransport Stream (ISO13818-1 TS packat format) parallel and serial SPI interface for connecting to additional external demodulatorTriple TS-Demux for PVR applicationsIntegrated DVB Common Descrambler 1.0, DES, TDES and AES cryptographic engine; integrated hardware random number generatorIntegrated ISO 7816 smart card controllerPWM, I2C and SPI interfaces to tuner and demodulatorIntegrated I/O Controllers and InterfacesSD/MS card controller for external removable storageDual USB 2.0 high-speed USB ports: One USB Host port and one USB OTG portSerial ATA (SATA) 2.0 3Gbps port with AHCI software interface for connecting to hard disk drive. Also capable of supporting eSATA interface standard.Multiple UART, IIC and SPI controllersProgrammable remote control input circuitrySwitching Fabric and Memory InterfacesApplication based traffic optimization using internal QoS-based switching fabricswith DDR2 memory interfacecontrollerIntelligentmemory32-bits DDR-II SDRAM controller supporting up to 512MB DDR800 memory devicesBuilt-in SLC/MLC NAND FLASH controller with up to BCH16 algorithmBuilt-in SPI NOR FLASH controllerSystem, Peripherals and Misc. InterfacesIntegrated general purpose timers, counters, DMA controllersIntegrated RTC with battery backup optionIntegrated multiple channels 10-bit SAR ADCSingle 24 MHz crystal oscillator inputEmbedded debug interface using ICE/JTAGAMPOWER power management circuits supporting multiple sleep and suspend operating modes 372 Balls LFBGA RoHS package3 Architecture Overview3.1 Architecture3.2 Video/Picture ProcessingThe decoder architecture is optimized for audio and video streaming applications. With the architecture separation of the application specific interface (e.g. Transport demux or USB file system), and the output stage, the decoders can be used in a large variety of applications. The decoder utilizes external DDR2 SDRAM for input video, photo, audio,sub-pictures, navigation, OSD data buffers, and decoded frame buffers.3.2.1 A/V Stream ParserThe A/V Stream Parser is a programmable engine that works in conjunction with the Video AMRISC TM processor for the following functions:•Accepts audio/video bit stream as the input•Performs decryption and unscrambling for encrypted bit streams•De-multiplexes the bit streams into multiple buffers, like encoded video, audio, sub-pictures, and navigation information•Deposits the parsed data into the Memory•Controls the buffer level of the audio decoding core and video decoding core• A/V Sync handlingAML8726-M A/V Processor User Guide Preliminary VersionVersion 1.1Once the stream is decrypted, the parser searches for stream IDs within the stream, looking for the correct video, audio or other data to extract. The extracted data is stored into multiple buffers in the system SDRAM. All buffer sizes and locations are programmable depending on the application3.2.2 RealVideo, H.264 MPEG 1/2/4 and VC-1 Video DecoderThe MPEG Decoder works in conjunction with the Video AMRISCTM processor for the following functions: • H.264 • VC-1 SP/MP/AP (1080P, progressive/interlace frame picture) • RealVideo 8/9/10 decoding(720p) • MPEG 1/2/4 decoding (1080i/1080p 60fps) • Adaptive pixel-based de-interlacing (including 3:2 pull-down detection) • Frame rate conversion (3:2 pull-down, 2:2 pull-down, 50/60Hz conversion and any combination conversion) The MPEG decoder performs all necessary MPEG video streams decoding logic for MPEG-1, MPEG-2 and MPEG-4 ASP. That includes VLD decoding, IQ, IDCT, motion vector parsing, motion compensation, block predication and picture reconstruction. Multiple decoded pictures are placed in the frame buffers in SDRAM. Frame buffers are used to store I (Intra Coded Pictures), P (Predicted Pictures) and B (Bi-directionally predicted) pictures. The video post-processor pulls decoded pictures for display purposes. The RealVideo decoder decodes RealVideo 8/9/10 formatted movies. A dedicated RealVideo loop filter is added especially for Real processing. The VC-1 codec is designed to achieve state-of-the-art compressed video quality at bit rates that may range from very low to very high. The codec can easily handle 1080P presentation at 6 to 30 megabits per second (Mbps) for high-definition video. The basic functionality of VC-1 involves a block-based motion compensation and spatial transform scheme similar to that used in other video compression standards. However, VC-1 includes a number of innovations and optimizations that make it distinct from the basic compression scheme, resulting in excellent quality and efficiency. VC-1 Advanced Profile is also transport and container independent. This provides even greater flexibility for device manufacturers and content services.3.2.3 JPEG/M-JPEG Picture/Movie DecoderThe MPEG decoder can decode picture formats like JPEG and Motion JPEG (M-JPEG). Both JPEG (*.jpg) and M-JPEG (*.avi) are popular formats used by digital cameras. JPEG is used as the still picture format. M-JPEG is used as the video capture format. The video decoder will read and decode the JPEG picture and scale the decoded output to the proper size to store in memory for display purpose. Since the MPEG processor has a streaming interface, there is no size limitation of the original compressed JPEG picture. The MPEG decoder can also process Motion JPEG sequence. It is capable of supporting VGA resolution MJPEG streams at 30 frames-per-second. M-JPEG streams can be rotated or flip (to adjust for customers using digital camera to film home video) in real-time while being displayed.3.2.4 Video Post-ProcessorThe Video Post-Processor (VPP) performs functions related to combining and scaling multiple video, graphics, OSD and sub-pictures video planes. The video post processor fetches data from each image plane (e.g. decoded video frames), performs sophisticated multi-taps filtering/scaling to generate a new pixel for output, and combines the result with other filtered data to generate the final video image. The video post-processor is capable of performing alpha-bending between multiple image planes. The VPP is capable of both scaling up (zoom in) and scaling down (zoom out).10/28/201011/38AMLOGIC ProprietaryAML8726-M A/V Processor User Guide Preliminary VersionVersion 1.13.2.5 TV Encoder,Video DAC and Digital Video OutputThe AML8726-M device contains a TV encoder that can handle both progressive and interlace video output. The following is the basic features of the AML8726-M internal TV encoder: HDTV output capability (1080P, 50Hz/60Hz output) NTSC and PAL output (including progressive 480 and 576 outputs and SCART) The TV encoder also provides many video adjustment options. The TV encoder has luma and chroma bandwidth control, programmable saturation, hue, contrast, black level and brightness adjustments. The TV encoders generate up to four video output streams to the built-in high performance video DACs. The video DAC outputs are fully programmable to support composite video, S-Video, RGB, component video (YUV), YPbPr, and SCART. Also, simultaneous progressive and interlace modes are also supported. Programmable HDMI 1.3 transmitter for digital video output.3.2.6 Video Encoder, Video DACThe AML8726-H device contains a video encoder that can handle both progressive and interlace video output. The video encoder also provides many video adjustment options. The video encoder has luma and chroma bandwidth control, programmable saturation, hue, contrast, black level and brightness adjustments. The video encoders generate up to three video output streams to the built-in 3 high performance video DACs. The video DAC outputs are fully programmable to support composite video, S-Video,YPbPr. Popular 5” to 10” LCD panels have either analog or TTL signals input, an integrated LCD timing controller (TCON) works in conjunction with the Video Encoder to provide seamless interface to such panels. The internal TCON hardware improves the video quality by eliminating one layer of analog video signals and external devices. Together with the digital TTL output or the analog video DAC output, the TCON can be used to drive signal directly on the TTL LCD panel or analog LCD panels. The TCON is fully programmable and it can be used with any LCD panels with compatible interfaces.3.3Audio Processing3.3.1 Audio Decoding and Post-ProcessingThe audio processing architecture is based on the Audio AMRISCTM processor with direct hardware assist functions from the audio decoder hardware. Since the Audio AMRISCTM processor is a micro-coded engine, the AML8726-M device is capable of supporting the decoding of all existing audio formats (PCM, MPEG Layer I/II/III, MIDI, WMA, MP3, AAC, RealAudio, Ogg Vobris and can be programmed to support customer specific audio requirements. The Audio AMRISCTM processor has its own internal code/data RAM/ROM for supporting the high frequency requirements (e.g. 320kbps for MP3) for realistic sound reproduction. In addition to supporting multiple audio formats, the AML8726-M device implements many different audio post-processing algorithms. Post processing algorithms are used to optimize the audio output for a specific speaker’s capabilities, and to personalize the audio set up for individuals. Post-processing algorithms supported included: • Dolby Prologic II, Dolby Prologic IIx, or Dolby Digital EX • Down-mixing 5.1 channels to eight audio channels • Virtual surround sound effect for 8-channel audio output • DSP effects (e.g. Concert Hall, Party, etc.) • Equalizer effects (e.g. Rock, Dance, Techno, Jazz, Classical, Live, Movie, etc.) • Full speaker settings and bass management • Audio channel delay 10/28/2010 12/38 AMLOGIC ProprietaryAML8726-M A/V Processor User Guide Preliminary Version • •Version 1.1Gain control DC filteringDepending on the specific application, one or more post-processing modes can be enabled by firmware.3.3.2 Audio InterfacesThe AML8726-M device supports 1 pair of I2S interfaces and one I2S input interface. The I2S output interfaces provide 8 audio channels output. The IEC958 (S/PDIF) audio interface can outputs a decoded stream or just a pass-through stream from the source. The IEC958 interface can be used for both “digital out” and “optical out” signals.3.4 Panel Output Interfaces3.4.1 Digital Panel OutputThe AML8726-M integrated internal LCD output scalar and encoder and high resolution RGB888 output for direct connection to digital LCD panels. The LCD scale and encoder convert the images to the LCD resolution and prepare the image to be displayed. Then special LCD specific dithering logic and gamma correction algorithm is applied before the data is sent to the digital panel output.3.4.2 LCD Timing ControllerThe AML8726-M AV processor has a built-in LCD timing controller (TCON) that works in conjunction with the digital panel output to provide the best visual performance on a digital LCD panel. The TCON and digital panel output drive the digital LCD panel directly without any additional logic. AML8726-M’s TCON is programmable and can be used in any small to medium size digital LCD panels.RGB OutLCD Timing ControllerDigital LCD PanelVGH/VGL Control10/28/201013/38AMLOGIC ProprietaryAML8726-M A/V Processor User Guide Preliminary VersionVersion 1.13.5Peripherals Interface ArchitectureThe AML8726-M A/V processor can be connected to a variety of peripherals, including HDMI, Ethernet, USB OTG, transport-demux SPI interface, card reader interfaces.3.5.1 EthernetThe AML8726-M processor integrates one 10/100 Ethernet controller inside the chip. The Ethernet controller has internal TX/RX FIFO memory, bus master DMA engine, TCP/IP CRC/checksum acceleration and MDIO protocol engine. The controller uses descriptor rings for packet memory management and host CPU interface. It uses RMII (Reduced MII) signaling interface for Ethernet data communication with external 10/100 PHY, and it uses MDIO signaling interface for control information for the external PHY. Without the hassle of cabling or wiring, this adapter easily adds 802.11b/g wireless capabilities which allows you to enjoy easy and fast internet access for data, video, audio, email at home and office. It is ideal for applications that require space-saving compact design.3.5.2 USB InterfacesThe AML8726-M A/V processor has one USB OTG 2.0 and one USB Host 2.0 controller and PHY. The OTG is capable of high-speed (480Mbps) data transfer between external USB host/devices and internal SDRAM. It has built-in DMA engines to handle data transfer with minimal core CPU processing. When behaving as an USB host port, the AML8726-M can be connected to any external Mass-Storage class USB devices or Picture-Transfer-Protocol (PTP) class USB devices. The USB OTG port can be connected to any PC’s or MAC’s USB port for file transfer. The AML8726-M A/V processor’s internal core processor is used to perform higher-level USB protocols, and new functions are being added. Please contact AMLOGIC sales team for more up-to-date information about new additions to the USB protocol stack.3.5.3 Card Reader InterfacesThe AML8726-M processor also integrates multiple FLASH memory card controllers and a flexible programmable card controller for interfacing with varies FLASH card standards. Current firmware can support SD/SDIO/SDHC/MS/MMC card standards.3.5.4 Smart Card InterfaceThe AML8726-M processor also integrates an ISO7816 Smart Card controller and interface for communicating with external smart-cards. The ISO7816 controller supports all the low level signaling protocols of ISO 7816. A CPU accessible register interface is provided for using the smart-card controller. Android operating system provides the necessary library to access external smart card for CA system software.3.6Set Top FunctionalityThe AML8726-M A/V processor integrates all set top box (STB) functions. The transport stream de-multiplexer supports 64 PID filters and 64 session filters. The crypto-engine supports multiple descrambling algorithms. A hardware random number generator is provided to assist CA algorithms. Finally, one built-in ISO7816 smart card interface is included to reduce system BOM cost.10/28/201014/38AMLOGIC ProprietaryAML8726-M A/V Processor User Guide Preliminary VersionVersion 1.13.6.1 Transport-Stream Demux InterfaceThe AML8726-M device integrates one transport stream de-multiplexer (TS-Demux) and associated DMA controllers for processing of digital TV broadcasting. It can accept standard compliance transport streams, parses TS headers, matching TS header fields, parse session data and put the desired streams into SDRAM memory for further processing or decoding. Once the parsed streams are in SDRAM, it can be decoded and displayed. The transport stream can be taken from SDRAM or from a SPI-like TS interface. Depending on the external demodulator chip, the SPI-like TS interface can be configured as either serial bit stream interface (1-bit per clock) or parallel byte stream interface (8-bits per clock). The i2c controller (and optional PWM circuitry) can be used to communicate and control an external demodulator chip and external tuner modules. Each TS de-multiplexer has 32 programmable PID filters to recognize and direct the operations of the incoming TS packet streams. It also has 32 independent session filters to select the proper packets and forward the new information to the CPU for processing. For each filter can be configured as append mode or replacement mode to further reduce CPU processing overhead.3.6.2 Cryptographic EngineThe AML8726-M A/V processor integrates a comprehensive crypto-engine for TS stream processing. The crypto-engine supports the DVB Common Descrambler 1.0 descrambling method. DVB-C/S 1.0 is used in multiple countries and most DVB transmission head-end systems. In order to provide a wide compatibility with head-end systems, AML8726-M also supports DES, TDES/3DES and also AES (128 bits, 192 bits and 256 bits) decryption for other head-end systems.3.6.3 ISO 7816 Smart Card interfaceIn a “pay” broadcasting system, the cable or satellite operators usually include a Condition Access (CA) system that requires an identification of the CPE device. A smart card is usually used to provide the STB CPE device the unique identification. As such, the AML8726-M device integrates a programmable ISO 7816 standard protocol engine for interfacing to external smart cards. This engine includes ISO 7816 protocol processing and also pin level interface driver.10/28/201015/38AMLOGIC Proprietary。