introduction
Sound card technology is one of the key technologies of multimedia computer technology.
Its emergence makes computers more expressive. At present, due to the simple structure and low sampling rate of the sound recording and playback chips used, the sound quality in embedded systems is relatively poor, which is far from meeting people's requirements for embedded systems for high-end life and learning. If sound card technology can be applied to embedded systems, the sound quality of the entire system will surely rise to a new level due to the powerful functions of the sound card. Through analysis, WSS (Windows Sound System) is compatible with the interface principle of the sound card and PC ISA bus, and we applied the sound effect chip CS4235 to the DSP-based embedded system. The reason for not using a ready-made sound card and using the sound effect chip on it is because the design is more flexible and convenient, and corresponding functions can be added or deleted according to system needs; the reason why the MCS51 series is not used and the DSP is used is because operating the sound card requires too many system resources. MCS51 It does not have this capability, otherwise the hardware interface circuit will be quite complicated.
1 CS4235 principle and structure
1.1 How the sound card works
Figure 1 shows the basic working principle of the sound card: the host sends the digitized sound signal to the digital-to-analog converter (D/A) in the form of PCM through the bus, converting the digital signal into an analog audio signal; at the same time, it can The A/D converter converts the input signal from the microphone or CD into a digital signal and sends it to the computer for various processing.
1.2 CS4235 functional structure
WSS is an audio subsystem standard defined by multimedia extensions in the Windows environment proposed by Microsoft to unify the standard for sound cards and ultimately provide convenience for applications, including hardware platforms and software interfaces [1]. CS4235 is a sound card core chip that is adapted to WSS and provides an ISA bus interface. In addition to sound collection and playback, all other controls rely on the host; it takes up more host time, but the cost is relatively low. The functional block diagram of CS4235 is shown in Figure 2. As can be seen from Figure 2, CS4235 is a complete audio subsystem integrated circuit that provides 16-bit stereo ADC and DAC, on-chip reconfigurable digital filters, analog and digital mixers with programmable gain values and attenuation values. , optional serial interface, full-duplex channel with simultaneous recording and playback capabilities. The documentation for CS4235 can be found in reference [2].
Due to space limitations, the analog hardware part of CS4235 is not introduced here, but the digital hardware interface between CS4235 and DSP is mainly studied. Because TMS320F206 (referred to as F206) is a low-price, high-performance 16-bit fixed-point arithmetic digital signal processor (DSP) with extremely high cost performance, it has become an ideal substitute for high-end microcontrollers in communications, voice processing, military, and instrumentation. It has been widely used in instrumentation, image processing and other fields [3], so F206 is selected as the DSP in the system. The 8-bit parallel interface provided by CS4235 is compatible with the ISA bus. Is it also compatible with the external expansion bus of the DSP? Table 1 lists the signal pins and brief descriptions of the CS4235 and ISA bus interface, and the corresponding pins of F206 are also listed accordingly. As can be seen from Table 1, in order to realize the direct operation of CS4235 by DSP, the DSP system must provide the above-mentioned ISA bus signal. DSP chips generally provide data signal lines, address signal lines, I/O read and write signal lines and READY signal lines, and also have multiple interrupt input pins; but do not directly have DMA function pins, which creates a problem for DSP and CS4235 The interface between them brings inconvenience, which is the main problem to be solved in this article. Table 1 Signal pins of CS4235 and ISA bus interface Simple description of signal pins DSP (F206) corresponding pins SD<7:0> Bidirectional system data bus D<7:0> SA<11:0> System address bus A< 11:0> IOR I/O read command is decoded by IS and RD to get IQW=IS+WR IOW I/O write command without AEN address enable signal READY IOCHRDY I/O channel ready INT2 (in practical applications, only Select 1 interrupt line to connect to DSP) IRQ
Previous article:Interrupt programming method of TMS320C32 DSP
Next article:Real-time detection of spatial transient optical radiation signals by DSP and CPLD
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- SHT31 evaluation + second proofing expansion board
- [Scientific Epidemic Prevention] How does the infrared body temperature rapid screening device build the first line of defense?
- Altium Designer 19.0.10 The shortcut key for aligning left is not available?
- The price of domestic chip substitutes is only 1/5 of imported ones. Will domestic companies have a great opportunity?
- TI reference circuit solution for electric vehicle power management
- S digital receiving channel architecture
- The role of adding a reverse diode to the be pole of the transistor
- Sub-library: Motion Algorithm Library
- TI radar technology is changing three trends in the in-cockpit sensing market
- Prize-giving event: Blind box delivery | Murata’s Pet Pink Month is officially launched!