【源码】用于嵌入式编程设计的dsPIC, PIC32和SAM7x支持包

在这里插入图片描述
Microchip official blockset v3.45支持高达300种微控制器。

Microchip official blockset v3.45 supporting up to 300 microcontrollers.

此工具包支持Simulink模型为dsPIC ®️, PIC32 ®️ 和SAM7x产生实时可执行代码。

This support package enables code generation of real-time executable for dsPIC ®️, PIC32 ®️ and SAM7x from a Simulink model.

外围模块配置和插入代码由MV嵌入式编码器生成代码。

Peripheral blocks configure and inserts code in the code generated by the MW embedded coder. (non-exhaustive peripheral block list: ADC, QEI, PWM, IC, OC, CN, I2C, SPI, UART, Op-Amp, Comparator, DAC…)

代码由Simulink模型右上角的“Build”按钮生成、编译并上传到板卡上。

Code is generated, compiled and uploaded into your board from the single “Build” button on top right of Simulink models.

不需要任何与嵌入式编程相关的知识。

No embedded programming knowledge is required.

工具箱将任何装有受支持的单片机电路板转换为快速控制原型,并支持基于模型的设计开发方案。

The toolbox transforms any board equipped with a supported MCU into a rapid control prototyping tool and enable a model-based design development scheme.

具体特点:

Features:

单任务或多任务调度程序可以高效地实现高级多速率模型。

A single-tasking or multi-tasking scheduler implement efficiently advanced multi-rate models.

先进的ADC配置与PWM外围设备相结合,使PMSM电机算法能够在一个PWM占空比内精确触发ADC采样时间。

Advanced configuration of ADC coupled with PWM peripheral enable PMSM motor algorithm where ADC sample time must be triggered precisely within a PWM duty-cycle.

时间步进也可以由ADC转换结束时触发,以最小化延迟。

The time step might also be triggered by end of ADC conversion minimizing delays.

自定义协议允许通过UART可视化并记录数据。

A custom protocol allows visualizing and recording data through the UART.

自定义picgui接口允许使用您自己的matlab脚本实时绘制输入数据。

The custom picgui interface allows plotting using your own matlab script incoming data in real-time.

数据日志支持进一步分析或离线识别,并允许向仿真提供真实数据。

Data log enable further analysis or offline identification and allow to feed a simulation with real data.

如果需要,自定义的“C函数”模块允许包含您自己的代码。

The custom “C function” block allows including your own code if required.

模块支持MathWorks的功能包括:

-硬件在环(HIL)

-外部模式

-基于dsPIC DSP架构的数字信号处理器代码替换

The blockset also support MathWorks features like:

  • Hardware in the loop (HIL)

  • External mode features.

  • Code replacement to benefit from DSP architecture of dsPIC

该版本嵌入了第三方工具,用于为无人机设计添加相关模块(GPS、MAVLink、Receiver S.Bus、S.Port和F.Port模块,用于dsPIC设计)。

This version embed a third part tool adding blocks for UAVs projects (GPS, MAVLink, Receiver S.BUS, S.Port and F.Port blocks for dsPIC).

键入picInfo以了解如何安装UxV模块。

Type picInfo to find out how to install the UxV blocks.

安装步骤:

下载并解压工具包;

执行.p脚本,即在Matlab中右键点击install.p后执行run。

INSTALLATION:

  1. download and unzip the package

  2. execute the .p installer script . Within Matlab, right click on file install.p and select run.

完整源码下载地址:

http://page3.dfpan.com/fs/1lcjf221e2917659282/

更多精彩文章请关注微信号:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42825609/article/details/94738707