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> To <strong>SIMULINK</strong>-<strong>Microchip</strong> <strong>Blocksets</strong>• <strong>Blocksets</strong> <strong>to</strong> configure <strong>and</strong> use allperipherals of dsPIC33 family devices• Categorized under two types-− dsPIC33f target – blocks that allowconfiguration of devices – code generatedforms <strong>in</strong>itialization part− dsPIC33f General – code generated formsthe run-time loop© 2008 <strong>Microchip</strong> Technology Incorporated. All Rights Reserved. WebSem<strong>in</strong>ar Title Slide 4The <strong>SIMULINK</strong>-<strong>Microchip</strong> blocksets run with Real-Time Workshop <strong>and</strong> RTWEmbedded Coder of <strong>MATLAB</strong>.These blocks enable you <strong>to</strong> do model-based design of your applications <strong>and</strong> offloadyou from the hassle of go<strong>in</strong>g through datasheets <strong>and</strong> configur<strong>in</strong>g peripherals. TheAu<strong>to</strong>-code generation feature of RTW Embedded Coder coupled with driversbeh<strong>in</strong>d the microchip blocksets generate efficient C code for your models.These blocksets appear under two ma<strong>in</strong> categories:•dsPIC33f Target- These bocks allow you <strong>to</strong> configure various peripherals for<strong>in</strong>itialization purposes. You can configure by double click<strong>in</strong>g on these blocks. Theseconfigurations would reflect <strong>in</strong> the <strong>in</strong>itialization code that is generated from thesemodels e.g., : UART Config•dsPIC33f General- These bocks allow you <strong>to</strong> configure various peripherals forrun-time purposes. You configure by double click<strong>in</strong>g on these blocks. Theseconfigurations would reflect <strong>in</strong> run-time code generated from these models. E.g.,:UART transmit4

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

Saved successfully!

Ooh no, something went wrong!