Audio system based on PXA272 and TSC2101 under Windows CE system

Publisher:美好梦想Latest update time:2011-09-28 Keywords:Windows  PXA272  TSC2101 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Windows CE is an open, customizable, 32-bit real-time embedded operating system. It has the characteristics of good reliability, high real-time performance and small kernel size, so it is widely used in the development of various embedded intelligent devices. Its applications involve various fields such as industrial control, information appliances, mobile communications, automotive electronics, personal electronic consumer products, etc. It is the most widely used and fastest growing embedded operating system today. In these embedded applications, audio modules have become an indispensable part of most products. This article constructs an audio system based on Intel Xscale PXA272 and TSC2101 audio chips for the Windows CE operating system, and briefly introduces its implementation method.

Hardware implementation of audio system

The audio driver in this design is implemented using the Unified Audio model, based on the Intel Xscale PXA272 processor and TI's TSC2101 audio chip, and uses an audio system architecture based on the I2S (Inter-IC Sound) bus. The system schematic is shown in Figure 1. The Intel Xscale PXA272 chip integrates an I2S controller and processes audio data through the I2S bus. Other signals (such as control signals) need to be transmitted separately. In this design, the SSP serial port of the Xscale PXA272 chip is configured as an SPI serial port to achieve the transmission of control signals.


Figure 1 System Schematic Diagram

I2S is a serial digital audio bus protocol proposed by Philips. The I2S controller of PXA272 controls the I2S link. The I2S controller consists of data buffer, status and control registers, and counters. They connect the system memory and the peripheral audio decoder chip (TSC2101) to generate synchronous audio. When playing audio files, the I2S controller sends the digitized sound samples in the system memory to the peripheral TSC2101 audio decoder chip through the I2SLINK connection, and then the digital-to-analog converter of the TSC2101 chip converts the digital audio signal into an analog signal.

For recording, the I2S controller receives digital signals from the external TSC2101 audio chip and stores them in the system memory. I2S provides both normal I2S and MSB-justified-I2S formats. The I2S controller of the TSC2101 chip and the PXA272 is connected via 5 pins to form a channel for audio data transmission. The necessary signals of the I2S controller are: a bit rate clock, which can reference an external or internal clock source; a control signal that provides "left/right" channel control information; two serial audio pins, one output and one input; bit rate clock, the I2S controller will also send the optional system clock signal to the external decoder.

The I2S controller is accessed through DMA mode. In DMA mode, the DMA controller can only access the FIFO through the serial audio data register (SADR). The DMA controller usually accesses the FIFO queue data in blocks of 8, 16 or 32 bytes.

The audio chip TSC2101 used in this design integrates stereo audio decoding and touch screen control chips. The stereo DAC can play audio files at a sampling rate of up to 48Kb/s, and is specially designed for PDAs, PMPs, smart phones and MP3 players. TSC2101 integrates speaker amplifiers, headphone amplifiers and four-wire touch screen controllers with audio codecs, and has a stereo headset transceiver interface, a mobile phone transceiver interface, a mono 8Ω speaker amplifier and a 32Ω receiver driver, and integrates a battery monitor and an on-chip temperature sensor.

The circuit design of the TSC2101 chip is shown in Figure 2.

Figure 2 TSC2101 chip circuit design

This design is the application of TSC2101 in smart phones. CP-IN is the voice input of the communication module, and CP-OUT is the output of the audio system to the communication module. In actual applications, MIC1 can be connected to CP-OUT through the internal PGA (programmable gain amplifier) ​​and AGC (automatic gain control) circuits of TSC2101 to realize the microphone function of smart phones; at the same time, MIC1 input can also sample the voice data through the internal ADC and transmit it to the processor storage space via the I2S bus to realize the recording function. Of course, while the smart phone is talking, the call recording function can also be realized. Pins 38 to 41 in the circuit diagram are SPI interfaces, pins 42 to 46 are I2S control pins, pins 9 to 12 are touch screen inputs, pins 27 and 28 are audio outputs that can be connected to headphones, pin 26 is connected to the mobile phone receiver, and pins 33 and 35 are connected to external speakers.

Using the Unified Audio model to implement audio driver

The implementation methods of audio drivers include MDD-PDD layered mode and non-layered Unified Audio model. MDD-PDD is a method to directly implement the stream interface, using the model device driver provided by Microsoft

Keywords:Windows  PXA272  TSC2101 Reference address:Audio system based on PXA272 and TSC2101 under Windows CE system

Previous article:Common installation methods for speakers in audio engineering
Next article:ARM Cortex-M Audio Performance Analysis

Recommended ReadingLatest update time:2024-11-17 03:35

Microsoft CEO calls out to Apple: Welcome to bring iMessage to Windows 11
     Sina Digital News reported on the evening of June 25 that after the release of Windows 11, Microsoft CEO Satya Nadella discussed the next generation of Windows with The Wall Street Journal and the possibility of Apple introducing some of its services (such as iMessage) into the Windows system.   An important dire
[Mobile phone portable]
Features of PIC8-bit 8-pin microcontrollers 12C5×× and 12CE5×× series
  The 8-bit microcontrollers PIC12C508(A)/509(A) and PIC12CE518/519 produced by Microchip have only 8 pins, and their pin arrangement is shown in the figure below. This product is one of the basic levels of PIC, and its characteristics are low power consumption, multi-function, high performance, small size and low pri
[Microcontroller]
Microsoft: Windows 11 operating system will have a major version update every year
Windows 11 is expected to launch worldwide later this year, but Microsoft has revealed some interesting information about the update cycle of its new operating system version ahead of the official release. According to the Indiana Express, Microsoft has promised that the new Windows 11 operating system will be updat
[Mobile phone portable]
Developing Battery-Powered Devices Using Windows Embedded Standard
As 32-bit RISC systems become more powerful, the desktop x86 architecture is also gradually reducing its power requirements. Today, both platforms can be used to design battery-powered mobile devices. However, when desktop applications are actually used in mobile devices, some special considerations are required, an
[Power Management]
Developing Battery-Powered Devices Using Windows Embedded Standard
RF4CE's LED lighting control system design improves energy utilization
The intelligent lighting system designed in this scheme can set the desired light intensity, color temperature and special lighting effects through the human-machine interface. When the remote control sends the control requirements to each LED dimmer, the dimmer can automatically complete the regulation of the LED wor
[Power Management]
RF4CE's LED lighting control system design improves energy utilization
RF testing requirements for NFC frequency bands in CE and FCC certification
The mainstream methods of mobile payment are NFC and RFID. Among them, the mode of mobile payment using NFC technology is gaining more and more recognition. In addition, relevant departments and enterprises in my country are accelerating the research on the use of NFC technology to realize mobile payment, helping Chine
[Test Measurement]
RF testing requirements for NFC frequency bands in CE and FCC certification
Windows USB driver interface and transmission method
Windows USB Driver Interface The USB driver in the system completes many tasks. In fact, for some HID USB devices, such as keyboards, mice and game joysticks, they can be automatically recognized and supported by the system. For other devices, you need to write a driver to complete the connection betwe
[Analog Electronics]
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号