We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest. Update Here
Stay in the loop with the latest from Microchip. Update your profile while you are at it. Update Here
Complete your profile to access more resources. Update Here

Model-Based Designs for Advanced Sensing Applications

Advanced Sensing With MATLAB® Simulink® for Our dsPIC33 DSCs


Unlock the full potential of your sensor application by using  MATLAB® Simulink® with our dsPIC33 Digital Signal Controllers (DSCs). This powerful tool chain allows you to model complex sensor fusion, signal processing and control algorithms in a high-level graphical environment. You can then automatically generate highly optimized, production-ready code directly for the dsPIC33 DSC to provide the speed and high-performance computing necessary for the real-time operation of your advanced sensing designs.

Model-Based Design, Code Generation and Real-Time Debugging

Simplify your embedded design with the MATLAB Simulink and our MPLAB® Device Blocks for Simulink that provide a Model-Based Design (MDB) platform. The code generated from the Simulink model enables our DSCs to rapidly and effortlessly deliver advanced sensing and real-time control in your applications.

MPLAB Device Blocks for Simulink

Create stand-alone applications from a Simulink discrete time model and with just one click, generate, compile and load the code for your application onto your target device. MPLAB Device Blocks for Simulink is a free set of user interfaces and Simulink peripheral blocks for developing complex designs based on our dsPIC33A and dsPIC33C DSCs.

Key Features


  • Blocks for peripherals: Digital In/Out, Analog-to-Digital Converter (ADC), Pulse-Width Modulation (PWM), Change Notification, Output Compare, Input Capture, QEI®, I2C, SPI, UART, Interrupt and Reset
  • Target configuration blocks: Master block, Simulink reset config, compiler option, data sheet, MCU overload, MCU load, task state and scheduler option
  • Ability to invoke dedicated functions written in C through a C Function Call block
  • Real-time view/analyze or log variables within MATLAB through a configurable, PICGUI interface
  • Supports MathWorks® Processor In the Loop (PIL) and MathWorks External Mode
  • MPLAB Device Blocks for Simulink tools can be used with the DSP System Toolbox and Signal Processing Toolbox
    • This enables the implementation of filters and signal-processing algorithms for sensor data processing
  • dsPIC® DSP library integrated in MATLAB for math-intensive operations 

Other Resources

Advanced Sensing With Scilab, Xcos and X2C


Harness the power of open-source development for your embedded systems by using Scilab and Xcos to model and simulate complex sensor algorithms. By integrating this environment with the dedicated X2C code generation tool, you can automatically convert your graphical block diagrams into C code. This seamless and cost-effective workflow enables rapid deployment and high-performance, real-time operation on dsPIC33 DSCs.

Open-Source Modeling, Code Generation and Real-Time Debugging


Simplify your next advanced sensor embedded design using the dsPIC33 DSCs, with MPLAB X Integrated Development Environment (IDE), and the free and open-source Scilab, Xcos and X2C tools that provide a full-featured model-based design platform for sensing and real-time control applications. The X2C code generation tool supports our DSCs to deliver complete hardware and software real-time control solutions.

Key Features


  • Tightly integrated with MPLAB X IDE and MPLAB Code Configurator (MCC)
  • Scilab Computational Engine with over 1700 mathematical functions
  • Scilab blocks for sensing and control applications
  • Efficient signal processing with Scilab tools to visualize, analyze and filter signals in time and frequency domains
  • Use the Xcos graphical editor for model-based design of dynamic systems in discrete and continuous time domains for automotive and industrial solutions
  • X2C-Scope enables real-time debugging with eight-channel virtual oscilloscope
  • X2C Filter Library supports FIR, IIR, second-order blocks and discrete transfer functions

Live Chat

Need Help?

Privacy Policy