- post by: Owen Martin
- September 04, 2018
Design Code Separately & Integrate It Seamlessly With dsPIC
There are various applications where the developers need to design a highly complex embedded system. In complex applications requiring sophisticated algorithms, frequently one team is focused on developing the time-critical control code while another is working on the code for housekeeping, diagnostics and communication functions. In this type of scenario, a microcontroller with an extra core can be very useful. Thus a new dsPIC33CH family gives the developers a power of two cores provides higher performance and enables multi-team software development to meet the demanding requirements of digital power, motor control and other embedded designs. This includes applications such as wireless power, server power supplies, drones and automotive sensors.
If you are looking for this type of flexibility for your next design, we have recently added a new series of Digital Signal Controllers (DSCs) with two dsPIC DSC cores in a single chip to our portfolio of 16-bit devices. The dsPIC33CH family has one core that is designed to function as a master while the other is designed to function as a slave. This new family of DSCs was designed specifically to facilitate independent code development for each core by separate design teams and then enable seamless integration when they are brought together in one chip.
The master core can be used to run the user interface, system monitoring and communications functions that can be customized for the end application. The slave core is useful for executing dedicated, time-critical control code.
For example, in a digital power supply, the slave core manages the math-intensive algorithms, while the master core independently manages the PMBusTM protocol stack and provides system monitoring functions, increasing overall system performance and responsiveness. Distributing the overall work- load across two DSC cores in a single device enables higher power density through higher switching frequencies, leading to smaller components. The dsPIC33CH family was designed for live updating of the system, which is especially important for power supplies where firmware updates must be made with zero downtime.
In an automotive fan or pump, the slave core is dedicated to managing time-critical speed and torque control while the master manages the Controller Area Network Flexible Data rate (CAN-FD) communications, system monitoring and diagnostics. The two cores work seamlessly together, enabling advanced algorithms to improve efficiency and responsiveness.
In addition, each of the new cores in the dsPIC33CH devices has been designed to provide more performance than current dsPIC DSC cores. These enhancements include:
- More context-selected registers to improve interrupt responsiveness
- New instructions to accelerate Digital Signal Processor (DSP) performance
- Faster instruction execution
The dsPIC33CH family delivers unprecedented integration. In addition to featuring CAN-FD communications, the dsPIC33CH family’s advanced peripherals are available to each core to reduce system costs and board size. These include high-speed Analog-to-Digital Converters (ADCs), Digital-to-Analog Converters (DACs) with waveform generation, analog comparators, analog programmable gain amplifiers and high-resolution Pulse Width Modulation (PWM) hardware. These dedicated peripherals with dual cores enable redundant monitoring for increased functional safety and robust system design.
Available in eight package variants ranging from 28 to 80 pins and measuring as small as 5 mm × 5 mm, the dsPIC33CH family also offers memory sizes ranging from 64 to 128 KB of Flash.
If you are ready to get started with an application using the dsPIC33CH family, these new DSCs are supported by our MPLAB development ecosystem including the free, downloadable and award-winning MPLAB X Integrated Development Environment (IDE) and MPLAB Code Configurator.
The dsPIC33CH Curiosity Board (DM330028), a cost-effective and flexible development platform, is the perfect starting point for exploring the capabilities of the dsPIC33CH family and quickly creating a feature-rich prototype.
If you are developing a motor control application, you can use the dsPIC33CH128MP508 Motor Control Plug-in Module (MA330039) with the dsPICDEMTM MCLV-2 Development Board (DM330021-2), the dsPICDEM MCHV-2 Development Board (DM330023-2) and the dsPICDEM MCHV-3 Development Board (DM330023-3). The dsPIC33CH128MP508 General Purpose Plug-In Module (MA330040) is also available for use with the Explorer 16/32 Development Board (DM240001-2).
Do you want to take your design to the power of two? You can purchase the dsPIC33CH DSCs from microchipDIRECT or from Microchip’s worldwide distribution network.
Most Arduino-based projects use LCDs to show data, but this project instead uses webpage so that more details can be displayed in a graphical form and accessed from anywhere through the Internet. The project takes variable analogue inputs from Arduino and displays results in graphical form on a webpage that supports HTML5. The project presented […]
A mobile signal booster amplifies a mobile phone signal sent to and from the phone to the nearby tower. A mobile signal booster is basically a repeater system, which takes the existing mobile phone signal, amplifies that signal and rebroadcasts to a nearby area. Thus helping the user to hear properly on a phone when the signal is […]
LabVIEW, or Laboratory Virtual Instrument Engineering Workbench, is a system design platform and development environment for graphical language programming. It is a visual programming language from National Instruments (NI). LabVIEW programs or virtual instruments (VIs) have front panels and block diagrams. The front panel is the user interface (UI), and the block diagram contains the […]
In this project, we will be connecting and controlling our ES32 Wi-Fi based module from our mobile phone’s Google Assistant Application. The charisma here is that your google assistant will take voice commands in Hindi and perform actions on ESP32. It will then perform actions based on our voice commands. This project is amazing and […]
Electronics design engineers require a number of software to create and verify their designs digitally, before moving to production. KiCad brings all these tools together under one platform, making their tasks simpler. This free electronic design automation (EDA) software suite mainly comprises a schematic creation and capture suite, and a PCB layout tool. It enables […]