TMS320VC5402
is TI's fifth-generation DSP, a low-power DSP chip specifically based on digital signal processing, with an operating frequency of up to 10ns, and is widely used in digital signal processing. The chip provides 2 MCBSPs, which can work in both SPI mode and universal serial port mode, and is flexible in system design. MAX121 is a 14-bit analog/digital converter with on-chip T/H, low drift, low noise, low power consumption and fast conversion with a dedicated DSP launched by MAXIM. It only consumes 210mW, has a conversion time of 2.9 s, and a SIND of 78dB. It can be connected to the TMS320 series DSP, ADSP series and Motorola series, and has a simple design.
MAX121 chip introduction
MAX121 functional block diagram
Figure 1 Functional Block Diagram
The functional block diagram of the
MAX121
chip is shown in Figure 1. It has 16-pin and 20-pin models, the 16-pin has DIP and SO packages, and the 20-pin has SSOP packages.
Figure 2 and Figure 3
MAX121 operating parameters
VDD to DGND 0.3 ~ +6V; VSS to DGND +0.3 ~ 7V;
AIN to AGND 15V; AGND to DGND 0.3V;
digital input to DGND (CS, CONVST, MODE, CLKIN, INVCLK, INVFRM) -0.3 (Vdd + 0.3V);
digital output to DGND (SFRM, FSTRT, SCLK, SDATA) +0.3 (Vdd + 0.3V); Strength exceeding the above extreme parameters may cause permanent damage to the device. These parameters are only extreme parameters and do not mean that the device can work effectively under extreme parameter conditions or any other working conditions beyond the technical specifications.
The working principle of MAX121 is shown in Figure 2. When the conversion starts, the buffer is disconnected from the AIN terminal and the input signal is sampled. At the end of the conversion, the buffer input is connected to the AIN terminal again, and the holding capacitor tracks the input voltage. Whenever the conversion is not in progress, T/H is in tracking mode. After the start of the conversion, the hold mode starts with approximately 10ns (window delay). The typical time delay variation from one conversion to the next is 30ps (window jitter).
Circuit clock frequency
MAX121 requires a clock compatible with TTL and CMOS levels when working, and the clock frequency ranges from 0.1 to 5.5MHz. To meet the acquisition time requirement of 400ns in 2 clock cycles, the maximum clock frequency is limited to 5MHz. Due to the limitation of the internal T/H voltage drop rate, the clock frequency of all modes should not be lower than 0.1MHz.
Output data
The conversion result is output as a 16-bit serial data stream, with the first 14 bits as data bits (MSB first) and the last 2 bits as zero. The output data is in binary complement form. At the rising edge of CLKIN, the data is synchronously output at the SDATA end. The output data can be framed using FSTRT or SFRM output. Each conversion is required to be at least 18 clock cycles to obtain a valid output.
Design and Programming
MAX121 has three working modes:
1) Conversion controlled by /CONVST;
2) Conversion controlled by /CS;
3) Continuous mode.
The first of the three modes is used to connect with DSP and other microprocessors, the second is used for multiple device combination applications, and the third MAX121 works in a continuous conversion state and is used for continuous sampling of data.
In mode 1, there are two clock supply modes, one of which is provided by CLKR. The principle block diagram is shown in Figure 4.
However, this connection method can only provide a maximum clock of 3.2MHz. In addition, the clock can be provided by an external circuit, which can reach the maximum clock of the system of 5.5MHz, realizing high-speed connection. According to the design requirements, the second connection method is selected in actual use. The specific circuit design is shown in Figure 5.
CLKIN (14) is connected to an external active oscillator to provide a 5MHz clock;
MODE (16) is connected to the +5v power supply, /CS is grounded: select the working mode;
/CONVST (13) is connected to
the XF pin of
TMS320VC5402
, and the data conversion is controlled by the DSP through XF;
SCLK (12), FSTRT (10), SDATA (11) are connected to BLCKR0, BFSR0, BDR0 of the DSP respectively to transmit clock, frame synchronization signal, and data.
CLKIN is the input clock of MAX121, while SCLK shifts data into MAX121. CLKIN is driven by an external clock oscillator (5MHz). The XF pin (general purpose I/O port) of TMS320VC5402 drives the input of MAX121 low, starting a conversion. The BCLKR0 (receive clock) terminal of TMS320VC5402 is configured as an input and driven by the SCLK output terminal of MAX121. The data of SDATA output terminal of MAX121 changes state on the rising edge of the clock, and on the falling edge of the clock, the data is latched into the DR input terminal of TMS320VC5402. This provides 1/2 clock cycle to meet the data setup and hold time required at the DR input terminal. The maximum skew between MAX121 SCLK and SDATA is 65ns at +25, so 1/2 clock cycle is enough to meet the required setup and hold time. The working timing is shown in Figure 6.
Click to see the original image
Figure 6
The FSTRT output of the MAX121 drives the BFSR0 input of the TMS320VC5402 to frame the data. The falling edge of the FSTRT output indicates that the MSB is ready and can be latched. At the next falling clock edge, the MSB is latched into the TMS320VC5402. Using this configuration, the TMS320VC5402 can receive 16 bits, so 14 bits of data are clocked into the DSP, followed by two trailing 0s.
Conclusion
The hardware and software parts of this design have been experimentally verified and applied to research and development. Compared with similar A/D, it has higher resolution, strong practicality, simple interface with DSP, etc., and is easy to use.
Previous article:Positioning system simulation design based on Proteus
Next article:Design of Chinese Speech Synthesis System Based on DSP
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- 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
- How to achieve automated testing of LCR?
- Which company can make PCB boards with a width of about 2MM?
- How to speed up the program running speed of Huada HC32F460 HC32F4A0?
- FPDLINK Spark Interference Optimization
- Why do electrolytic capacitors explode? Find out in one article!
- [Iprober 520 current probe] Calibration and use in PCB mode
- A brief history of hard disk interface evolution
- Hot plug and unplug
- EEWORLD University ---- STM32CubeMX and STM32Cube HAL basics
- [TI mmWave Radar Evaluation]_3_AWR1843BOOST Corridor Ranging Test Environment