12.07.2015 Views

Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in ...

Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in ...

Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Introduction</strong> & Agenda• <strong>Introduction</strong> <strong>to</strong> <strong>Microchip</strong> Device <strong>Blocksets</strong>• <strong>Introduction</strong> <strong>to</strong> <strong>MATLAB</strong> <strong>Plug</strong>-In <strong>in</strong> MPLAB ®IDE• Creat<strong>in</strong>g a <strong>SIMULINK</strong> model with <strong>Microchip</strong>Blockset <strong>and</strong> build<strong>in</strong>g them• Learn<strong>in</strong>g Goal: To create a <strong>SIMULINK</strong> modelus<strong>in</strong>g <strong>Microchip</strong> Blockset, generate C codefrom it <strong>and</strong> build it© 2008 <strong>Microchip</strong> Technology Incorporated. All Rights Reserved. WebSem<strong>in</strong>ar Title Slide 2<strong>MATLAB</strong> is a very widely used model based design <strong>to</strong>ol. <strong>Microchip</strong>’s MPLAB ®IDE has a <strong>Plug</strong>-In capable of import<strong>in</strong>g source files generated by RTW componen<strong>to</strong>f <strong>MATLAB</strong>. Users can configure the peripherals of dsPIC ® DSC devices <strong>in</strong><strong>MATLAB</strong>/<strong>SIMULINK</strong> environment us<strong>in</strong>g <strong>Microchip</strong> Device Blockset which canbe located <strong>in</strong> <strong>SIMULINK</strong> library tree after <strong>in</strong>stallation.Application models can be created us<strong>in</strong>g <strong>Microchip</strong> Device Blockset <strong>and</strong> generic<strong>SIMULINK</strong> blocks. These models can be built either <strong>in</strong>dependently from <strong>MATLAB</strong>or us<strong>in</strong>g <strong>MATLAB</strong> <strong>Plug</strong>-<strong>in</strong>. The hex/cof files generated from <strong>MATLAB</strong> can beprogrammed us<strong>in</strong>g <strong>Microchip</strong> or third party programmers. When <strong>MATLAB</strong> <strong>Plug</strong>-<strong>in</strong>is used, code generated can be modified <strong>and</strong> debugged from MPLAB environment.This session will last about 15 m<strong>in</strong>utes, we will go through the steps <strong>to</strong> use<strong>Microchip</strong> Device Blockset <strong>and</strong> <strong>MATLAB</strong> <strong>Plug</strong>-In. This will also guide youthrough <strong>SIMULINK</strong> Model creation, configur<strong>in</strong>g RTW parameters, generate code,build <strong>and</strong> debug code generated from <strong>SIMULINK</strong> models.2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!