文档库

最新最全的文档下载
当前位置:文档库 > LuBin网站首页翻译

LuBin网站首页翻译

Simulink Blockset Embedded Target microchip devices: Pic24 / Pic 30 / Pic 32 /Pic33

Link to blocks details .

Embedded Target for PIC / dsPIC is a blockset for Matlab? that adds to simulink? Blocks specific to dsPIC and PIC32 peripheral.

Watch the Screencast (April 2009) realized by Mariano Lizarraga for the SLUG team. Better quality movie is available here

Presentation

The blockset generates C code from a Simulink model for a wide list of Microchip microcontrollers. The generated C code is compiled on the fly to obtain the executable binary file (.hex and .coff file) ready to download into the targeted microcontroller. The downloaded binary program behaves like the Simulink model.

This rapid prototyping tool for 16 bits PIC MCU allows to :

* generate and compile C code from a Simulink model and/or a Stateflow flow chart

* make the development easier, faster, bug free

* make the software easy to update

* Benefit from the Simulink graphical environment to describe complex calculation and complex models

* optimize fixed point calculation using the user friendly matlab fixed point toolbox

* monitor, log and plot data sent by the microcontroller with a matlab graphical user interface

* Use the logged data (from sensors) to optimize the embedded software using the Simulink simulation capabilities

* import your specific written C functions into the Simulink model and in the microcontroller * Open C files as a "ready to use" project within MPLAB 8 or MPLAB X IDE.

When programming a microcontroller, a lot of time is usually spent on peripheral configuration and on real time problems like sampling rate, multitasking... This blockset gives you the possibility to get ride of these tasks and to concentrate only on the math part (control, filter, logic ...) of the Simulink model. You can simulate the model that will be implemented into the microcontroller. You do not need much knowledge about PIC/dsPIC programming. The blockset support most peripheral present on the microcontroller and configure automatically selected peripherals (configure also timers and model time step).

Debugging and monitoring on chip program with Matlab

免费下载Word文档免费下载: LuBin网站首页翻译

(共3页)