170 likes | 185 Views
Learn about the C8051F360 microcontroller, analog performance measurement, and mixed-signal design techniques. Explore modules on digital signal processing and noise reduction.
E N D
Advance Material Modules • Introduction to C8051F360 • Analog Performance Measurement (ADC and DAC) • Detailed overview of system variances, parameters (offset, gain, linearity) and compensation techniques • Digital Signal Processing • Discussions and implementations of oversampling and averaging, simple co-efficient FIR filter, Goertzel algorithm for DTMF decoding, FFT, and polynomial calculations • Mixed-Signal Design Techniques • Printed circuit board design tips to optimize analog performance • Techniques for identifying noise sources and minimizing their effect on analog measurements
Smallest 3x3 mm, 4x4 mm, 5x5 mm packages Very flexible I/O system to maximize pin functions Highest integration in class Silicon Labs Mixed-Signal MCUs 100 90 80 70 60 Peak MIPS 50 40 30 20 10 0 A B C Silicon Labs Silicon Labs • Fastest • Fastest 8-Bit CPU available–100 MHz • 70% of instructions 1 or 2 cycles • On-chip debugging hardware • 8051 compatible • Best analog • ADCs • DACs • Precision oscillator • Comparators • On-chip temperature sensor
Bringing 21st Century Technology to the 8051 Flash Memory: On-chip charge pump Small segments Security Emulates byte EEPROM 8051 CPU: Up to 100 MHz 70% Instr. in 1 or 2 cycles Pipelined object code compatibility Timers: Capture & Compare Accumulate PWM RTC Serial Communications: UART SPI SMBus USB 2.0 CAN 2.0B Analog-to-Digital: Up to 16-Bit SAR Up to 24-Bit Sigma-Delta Up to 1 Msps Dual ADC option Up to 32-Channels Selectable VREF I/O: Dynamically reconfigurable Analog: Temperature sensor Programmable comparators Precision Oscillator Digital-to-Analog: Up to 12-Bit Cross Bar: Custom select I/O Debug: On-chip JTAG-based
Introducing the C8051F360 Family • Industry first for high speed, accurate analog, and small size • 100 MIPS CPU with 16x16 MAC • 200 ksps, 10-bit ADC with a maximum ±1LSB INL Error • 10-bit Programmable DAC • As small as a 5x5 mm package • Pin compatible with the C8051F310 and C8051F311 family for easy upgrade or cost reduction paths using the same hardware • Functionally dense 8-bit MCU for consumer products, communication systems and industrial control • Factory automation, motor control, touch panels, satellite receiver communications, displays, intelligent power supplies
Superior Computing Power 100 MIPS 8-bit CPU Uses an 8051 architecture allowing the engineer to re-use the existing 300 million man-hours of code—this saves expensive software development cost! 100 MIPS allows the designer to give end products higher end features in software without adding hardware and cost 16x16 Multiply and Accumulate Save CPU bandwidth with a feature typically found on DSPs Allows high end features or digital filtering can replace analog filters This reduces the BOM cost by replacing analog components on the circuit board 1. Multiply 2. Add a0 +(a1 + (a2 + a3x)x)x Complex computations solved!
High-Performance Analog Functions Fast and accurate 10-bit ADC 200 ksps and high linearity means the ADC will make fast and accurate voltage measurements Often in a small form factor, ADC performance will degrade, but not on the ‘F360! Programmable 10-bit DAC Typically a PWM + an external filter is used in this class of MCU Slower response may limit product capability Output signal low-quality such as sounds The ‘F360 has a programmable DAC for: Fast response time for better control in the end-product Clearer signals output, such as sound effects and tones
ToolStick Base Adapter Hardware Overview USB Connector For debugging, programming and communication via PC software Run/Stop LEDs Indicate if target MCU is running or halted Socket Connector Connects to 14-pin card-edge connector on ToolStick daughter cards Power LED Indicates USB bus power Silicon Laboratories MCU Performs USB debug adapter and PC communication functions
ToolStickF36x Hardware Overview I to V Converter (Resistor) Power LED Indicates 3.3 V is available P1.3 LED General purpose LED for C8051F362 Complete Pin Access Standard 100 mil spacing for P0 and P1 Target MCU C8051F362 P2.4 Pushbutton Switch For simple user interface P1.6 Potentiometer Linear output that sweeps from 0 V to 3.3 V
System Block Diagram • We will measure some common performance specifications using the above system • The IDAC will be used as a signal source for various ADC measurements
DC Noise Measurement Using a Histogram • To measure DC Noise, the IDAC is set at 1mA output to generate 1 V at the ADC input—the expected code output is: (1V / 2.4V) x 1024 = 427 • ADC samples are collected and sent to the PC for processing
Dynamic Performance Measurement • To measure dynamic performance of the system, a 2 mA peak-to-peak sine wave is generated at the DAC output • The ADC samples the 0-2V sine wave produced and the data is sent to the PC for processing
Settling Time • Two ADC MUX channels are sampled back-to-back • One = 1 V DC, Two = 0-3.3 V Square Wave • Software selects duration of settling time • ADC Results are sent to the PC