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

640?wx_fmt=jpeg

Microchip official blockset v3.45支持高达300种微控制器

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


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

This support package enables code generation of real-time executable for dsPIC :registered:, PIC32 :registered: 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.


安装步骤:

  1. 下载并解压工具包;

  2. 执行.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.


完整源码下载请点击“阅读原文”

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值