Hello

Welcome lekule blog

Hi, I`m Sostenes, Electrical Technician and PLC`S Programmer.
Everyday I`m exploring the world of Electrical to find better solution for Automation.
together in the world. #lekule86
Join us on

MCU or DSP?: Graphics and Cryptography in Microchip’s New Microcontrollers

The hardware inside microcontrollers is increasingly powerful and versatile. This is good, right?

When I started working with embedded systems, microcontrollers and DSPs were very different things. In fact, the first professional system that I was deeply involved in was a perfect example of the distinction: An 8051 microcontroller was used for housekeeping tasks and a test/debug RS-232 interface. A Texas Instruments DSP was used for intensive mathematical computations. The 8051 was programmed by a mechanical engineer, and the DSP was programmed by an electrical engineer who later became a system engineer. I don’t know what this last sentence says about the MCU vs. DSP distinction, but maybe you can discover some hidden significance.

As microcontrollers become more powerful and incorporate additional dedicated hardware, the “MCU” and “DSP” categories become less relevant. Microchip is contributing to this trend with its PIC32MZ DA and CEC1702 microcontrollers, which incorporate advanced graphics capabilities and hardware cryptography, respectively. As one of the press releases points out, the PIC32MZ DA family “breaks through perceived MCU graphics barriers”. Just for the record, I’m not making a value judgment here; you can call these parts whatever you want as far as I’m concerned. When I’m searching for a part I look at the specs, not the category, and I know which manufacturers make the processors that I’m interested in.

However, as implied by the introduction to this article, I think it is worthwhile to consider the implications of microcontrollers that incorporate increasingly diverse and sophisticated functionality. There is always a trade-off: higher performance comes with design challenges such as stricter layout requirements, higher levels of firmware abstraction, or simply longer datasheets that are more intimidating for novices. There is perhaps some degree of risk in making microcontrollers increasingly unapproachable for those who don’t have extensive experience in embedded design.

Graphics


Block diagram for the PIC32MZ DA family. Courtesy of Microchip.

No one could deny that graphical displays or interfaces are essential aspects of modern electronic devices, and I assume that many designers will be glad to see manufacturers such as Microchip making efforts to support and improve this functionality. The PIC32MZ DA family includes a graphics controller, a graphics processing unit (GPU), and up to 32 MB of RAM.
  • The graphics controller has a 24-bit parallel interface that can handle resolution up to 1280 × 1024. It’s designed to be flexible in terms of image format, color-space format, and timing configuration.
  • The GPU seems to me exceedingly impressive, and the capabilities far exceed anything that I would expect to find in a microcontroller. It supports accelerated graphics rendering, blit and raster operations, dithering, image scaling, and more. The product page says it well: the GPU enables graphics performance that would be “impractical for an MCU CPU alone”.
  • Memory is important in graphics applications because of all that pixel information that needs to be stored. I for one like to have plenty of memory when I’m dealing with displays because it allows for a more intuitive approach to handling pixel data. True, you can always add external memory, but this comes with various disadvantages—higher PCB complexity, higher cost, larger form factor, even security issues.

Encryption


Block diagram for the CEC1702. Courtesy of Microchip.

I’ve never had any need for encryption in my projects and I honestly know very little about it. But I readily believe that it’s important in these days of cybercriminals, identify theft, and shady business practices (shady business practices are nothing new, I suppose—I doubt the Phoenicians attributed their success to “fair trade”). Microchip is emphasizing the importance of data security in the context of an IoT world, and that makes sense: if indeed the world will one day be filled with little Internet-connected devices sending data every which way, we might as well do what we can to protect that data from malefactors.

The CEC1702 is a 32-bit microcontroller built around an ARM Cortex-M4 processor. The special security features are described as “encryption, authentication, and private and public key capabilities”. As usual, this integrated functionality provides significant performance benefits by using hardware to accomplish tasks that otherwise would burden the processor; the product page mentions a factor-of-100 performance improvement for encryption and decryption.
In addition to typical encryption of data and code, the CEC1702 offers the following:
  • “pre-boot authentication,” which has something to do with verifying that the firmware hasn’t been tampered with


The CEC1702’s “secure boot” functionality. Click to enlarge. Diagram courtesy of Microchip.

  • “firmware update authorization,” i.e., the chip can protect itself from malicious or corrupted firmware updates
  • “authentication of critical commands,” which refers to some sort of scheme whereby the chip confirms that system-critical commands are from a trusted source




Do you have experience with complex embedded graphics applications? Do you think that the functionality offered by the PIC32MZ DA would be a significant advantage in the design process? 

Share this:

ABOUTME

Hi all. This is deepak from Bthemez. We're providing content for Bold site and we’ve been in internet, social media and affiliate for too long time and its my profession. We are web designer & developer living India! What can I say, we are the best..

Post a Comment
My photo

Hi, I`m Sostenes, Electrical Technician and PLC`S Programmer.
Everyday I`m exploring the world of Electrical to find better solution for Automation. I believe everyday can become a Electrician with the right learning materials.
My goal with BLOG is to help you learn Electrical.

Labels

LEKULE TV EDITORIALS ARTICLES DC ROBOTICS DIGITAL SEMICONDUCTORS GENERATOR AC EXPERIMENTS MANUFACTURING-ENGINEERING REFERENCE FUNDAMENTAL OF ELECTRICITY ELECTRONICS ELECTRICAL ENGINEER MEASUREMENT TRANSDUCER & SENSOR VIDEO ARDUINO RENEWABLE ENERGY AUTOMOBILE TEARDOWN SYNCHRONOUS GENERATOR DIGITAL ELECTRONICS ELECTRICAL DISTRIBUTION CABLES AUTOMOTIVE MICROCONTROLLER SOLAR PROTECTION DIODE AND CIRCUITS BASIC ELECTRICAL ELECTRONICS MOTOR SWITCHES CIRCUIT BREAKERS CIRCUITS THEORY PANEL BUILDING ELECTRONICS DEVICES MIRACLES SWITCHGEAR ANALOG MOBILE DEVICES WEARABLES CAMERA TECHNOLOGY COMMUNICATION GENERATION BATTERIES FREE CIRCUITS INDUSTRIAL AUTOMATION SPECIAL MACHINES ELECTRICAL SAFETY ENERGY EFFIDIENCY-BUILDING DRONE CONTROL SYSTEM NUCLEAR ENERGY SMATRPHONE FILTER`S POWER BIOGAS BELT CONVEYOR MATERIAL HANDLING RELAY ELECTRICAL INSTRUMENTS ENERGY SOURCE PLC`S TRANSFORMER AC CIRCUITS CIRCUIT SCHEMATIC SYMBOLS DDISCRETE SEMICONDUCTOR CIRCUITS WIND POWER C.B DEVICES DC CIRCUITS DIODES AND RECTIFIERS FUSE SPECIAL TRANSFORMER THERMAL POWER PLANT CELL CHEMISTRY EARTHING SYSTEM ELECTRIC LAMP FUNDAMENTAL OF ELECTRICITY 2 BIPOLAR JUNCTION TRANSISTOR 555 TIMER CIRCUITS AUTOCAD BLUETOOTH C PROGRAMMING HOME AUTOMATION HYDRO POWER LOGIC GATES OPERATIONAL AMPLIFIER`S SOLID-STATE DEVICE THEORRY COMPUTER DEFECE & MILITARY FLUORESCENT LAMP INDUSTRIAL ROBOTICS ANDROID ELECTRICAL DRIVES GROUNDING SYSTEM CALCULUS REFERENCE DC METERING CIRCUITS DC NETWORK ANALYSIS ELECTRICAL SAFETY TIPS ELECTRICIAN SCHOOL ELECTRON TUBES FUNDAMENTAL OF ELECTRICITY 1 INDUCTION MACHINES INSULATIONS USB ALGEBRA REFERENCE HMI[Human Interface Machines] INDUCTION MOTOR KARNAUGH MAPPING USEUL EQUIATIONS AND CONVERSION FACTOR ANALOG INTEGRATED CIRCUITS BASIC CONCEPTS AND TEST EQUIPMENTS DIGITAL COMMUNICATION DIGITAL-ANALOG CONVERSION ELECTRICAL SOFTWARE GAS TURBINE ILLUMINATION OHM`S LAW POWER ELECTRONICS THYRISTOR BOOLEAN ALGEBRA DIGITAL INTEGRATED CIRCUITS FUNDAMENTAL OF ELECTRICITY 3 PHYSICS OF CONDUCTORS AND INSULATORS SPECIAL MOTOR STEAM POWER PLANTS TESTING TRANSMISION LINE C-BISCUIT CAPACITORS COMBINATION LOGIC FUNCTION COMPLEX NUMBERS CONTROL MOTION ELECTRICAL LAWS INVERTER LADDER DIAGRAM MULTIVIBRATORS RC AND L/R TIME CONSTANTS SCADA SERIES AND PARALLEL CIRCUITS USING THE SPICE CIRCUIT SIMULATION PROGRAM AMPLIFIERS AND ACTIVE DEVICES APPS & SOFTWARE BASIC CONCEPTS OF ELECTRICITY CONDUCTOR AND INSULATORS TABLES CONDUITS FITTING AND SUPPORTS ELECTRICAL INSTRUMENTATION SIGNALS ELECTRICAL TOOLS INDUCTORS LiDAR MAGNETISM AND ELECTROMAGNETISM PLYPHASE AC CIRCUITS RECLOSER SAFE LIVING WITH GAS AND LPG SAFETY CLOTHING STEPPER MOTOR SYNCHRONOUS MOTOR AC METRING CIRCUITS BECOME AN ELECTRICIAN BINARY ARITHMETIC BUSHING DIGITAL STORAGE MEMROY ELECTRICIAN JOBS HEAT ENGINES HOME THEATER INPECTIONS LIGHT SABER MOSFET NUMERATION SYSTEM POWER FACTORS REACTANCE AND IMPEDANCE INDUCTIVE RECTIFIER AND CONVERTERS RESONANCE SCIENTIFIC NOTATION AND METRIC PREFIXES SULFURIC ACID TROUBLESHOOTING TROUBLESHOOTING-THEORY & PRACTICE 12C BUS APPLE BATTERIES AND POWER SYSTEMS DC MOTOR DRIVES ELECTROMECHANICAL RELAYS ENERGY EFFICIENCY-LIGHT INDUSTRIAL SAFETY EQUIPMENTS MEGGER MXED-FREQUENCY AC SIGNALS PRINCIPLE OF DIGITAL COMPUTING QUESTIONS REACTANCE AND IMPEDANCE-CAPATIVE SEQUENTIAL CIRCUITS SERRIES-PARALLEL COMBINATION CIRCUITS SHIFT REGISTERS WIRELESS BUILDING SERVICES COMPRESSOR CRANES DIVIDER CIRCUIT AND KIRCHHOFF`S LAW ELECTRICAL DISTRIBUTION EQUIPMENTS 1 ELECTRICAL DISTRIBUTION EQUIPMENTS B ELECTRICAL TOOL KIT ELECTRICIAN JOB DESCRIPTION INDUSTRIAL DRIVES LAPTOP SCIENCE THERMOCOUPLE TRIGONOMENTRY REFERENCE UART oscilloscope BIOMASS CONTACTOR ELECTRIC ILLUMINATION ELECTRICAL SAFETY TRAINING ELECTROMECHANICAL FEATURED FILTER DESIGN HARDWARE JUNCTION FIELD-EFFECT TRANSISTORS NASA NUCLEAR POWER VALVE COLOR CODES ELECTRIC TRACTION FLEXIBLE ELECTRONICS FLUKE GEARMOTORS INTRODUCTION LASSER PID PUMP SEAL ELECTRICIAN CAREER ELECTRICITY SUPPLY AND DISTRIBUTION MUSIC NEUTRAL PERIODIC TABLES OF THE ELEMENTS POLYPHASE AC CIRCUITS PROJECTS REATORS SATELLITE STAR DELTA VIBRATION WATERPROOF