Skip to content

Click to Download PDF

Hardware Design

The periphery of CI1312 chip requires only a few external components to support various voice applications. For the voice processing, the chip supports both single microphone differential input and single-ended input. Users can select appropriate circuits based on design requirements for functionality, power consumption, and cost. Below is a detailed description of the simplest application reference circuit for this chip.

Application Reference Diagram

The application reference diagram is shown in Figure H-1.

单麦本地语音识别应用系统图

Figure H-1 Simplest Application Reference Circuit

The above figure shows the circuit diagram of the simplest application solution of CI1312, which supports differential input and power amplifier output of a single microphone. The chip can use 5V direct power supply, and users can design according to the corresponding peripheral device specifications in the figure above.

If the board level online upgrade function is to be considered during schematic design, the UART0 pin can be led out to facilitate the Firmware Update of the flash in the main chip through UART0 after the PCB board placement is completed. The PA4 (PG_EN) pin of the chip is internally pulled up. The power on defaults to the upgrade mode. After power on, the upgrade signal sent from the external UART0 port should be detected. If there is one, the upgrade should be started directly. The default boot time of the chip is extended by adding detection of upgrade mode, about 850mS; If the user has high requirements for the boot time, the PA4 pin can be led out, two 2.2K Ω pull-down resistors can be added to the ground, and a test point can be added between the two 2.2K Ω resistors. At this time, the chip is powered on in the normal mode, and the boot time is about 350mS, which can shorten the boot time. If you want to upgrade online at this time, you can externally supply high level to the intermediate test points connected by two 2.2K Ω resistors, pull up the PA4 pin, and then upgrade through UART0.

Application with this chip can select differential microphone design or single-ended microphone design, and the differential microphone design in the above figure is recommended. If the user has requirements for cost, the microphone part in the above figure can be modified to a single-ended microphone design, which can use fewer passive devices than the differential microphone. However, this method is only recommended for applications where the microphone line length is less than 20 cm, otherwise the speech recognition effect will not be as good as the differential microphone design because the line length is too long and the anti-interference effect is not enough. The power amplifier shown in the figure above is a Class AB amplifier, with the 8002 power amplifier chip recommended in the diagram. Users may select alternative power amplifier chips based on their specific solution requirements. If the power amplifier function is not required, this circuit section can be omitted to reduce costs.

If the user has no special requirements for the power consumption of the solution, it is recommended to directly use the PMU inside the chip for power supply. If there is a power consumption requirement, the external DCDC chip can be added to power the chip 1.1V to reduce the power consumption. All UART ports of the chip support 5V communication. The UART0 port in the above figure is a 3.3V signal. If 5V is to be connected, add a pull-up resistor connected to 5V around the RX and TX pins of UART0. No additional voltage conversion circuit is required.

Chipintelli provides a variety of solution reference schematics, which can meet most common application scenarios. In the actual application development, the customer needs to carefully select one of the most suitable reference schematics for reference and design optimization according to the specific product functional performance requirements, system characteristics and application scenarios. As Chipintelli is unable to master all product systems and application knowledge, customers or solution partners are expected to fully test and verify product functional performance (including the matching of voice chips and modules with product systems) in combination with product systems and application scenarios before mass production. If there are unclear and uncertain problems during the design modification process, please contact Chipintelli FAE engineer for full communication. Users can refer to the following documents:

Solution name Solution function Solution application scenario Document center link
Typical Solution Single microphone differential microphone input Suitable for a wide range of general-purpose products and products with broadcasting Reference schematic for Typical Solution

The schematic source document and PCB reference can be found in the ☞Chipintelli AI Speech Development Platform.

PCB Layout Design

Power Circuit

  1. Power Wiring
    Attention shall be paid to overvoltage and surge protection for power input. TVS devices and 4.7 Ω resistors shall be designed for 5V input. The wiring shall pass through TVS first, and then through resistors to the chip. The power supply wiring diameter depends on the actual circuit current. The wiring width of 3.3V power supply is not less than 15ml, and that of 1.2V power supply is not less than 15ml. Copper clad wiring shall be used as far as possible. The power supply wiring shall be as short and thick as possible. The narrowest part of the power supply wiring shall not be less than 8mil line width to avoid the power supply wiring forming a closed loop.

  2. Power Decoupling Capacitor
    The power decoupling capacitor is arranged close to the corresponding pin.

Electrostatic Protection Requirements

In the design of two-layer boards, try to route in the TOP layer to maintain the integrity of the BOTTOM ground plane. If ESD devices are designed, try to close the ESD devices to the pins of the plug-in to improve the protection effect.

Other Considerations for Application

  1. The RC oscillator built in the chip will have a certain temperature drift in high and low temperature environments due to the principle of semiconductor technology. If the operating temperature range of the application scenario is - 10 to 70 ℃, and only low-speed serial communication is conducted with the MCU (baud rate is less than or equal to 115200bps), this kind of circuit solution can directly use the RC oscillator built in the chip (the frequency offset of the MCU is ≤± 1.5%). When the MCU is designed without crystal oscillator, the communication error should be minimized. Chipintelli can provide a serial port baud rate adaptive solution, which requires adding a handshake command to the UART protocol, and the MCU ensures that it will reply according to the protocol requirements within 50ms after receiving the handshake command. After adding this adaptive solution, the product can be used in scenarios where the working environment temperature is - 20 to 85 ℃.
  2. If the application requires a temperature range of - 40 to 85 ℃, please use CI130X series chips and external crystal oscillators.
  3. The chip is integrated with a PMU management unit. The PMU contains three LDOs, which provide 3.3V and 1.1V voltage respectively for the chip. If there is no special requirement for power consumption, the solution does not require an external power supply chip, and the ripple of the external 5V power supply must be less than 300mV.
  4. The chip is manufactured by lead-free environmental protection process. Please set reflow temperature, time and other parameters according to lead-free standard during SMT welding.
  5. Pay attention to the influence of static electricity when taking and packaging chips. It is recommended to use anti-static materials for isolation.