BIOS MCSDK 2.0 User Guide 示例学习

TI提供了详细的适合初学者的demo,具体见文档:BIOS MCSDK 2.0 User Guide。此文档中已经详细介绍了各个demo的编写调试流程,此处不再赘述,只简单介绍:

(1)第一至第四章详细介绍了MCSDK的结构,各种组件和工具的作用。

(2)第五章介绍了怎样用CCS建立一个项目,并在5.2.6给出了一个dsp加载网页的demo,在5.3给出了四个演示LED的demo,包括单核和多核。

(3)第六章介绍了多核并行时的通信机制,包括OpenMP和IPC,并在6.2.3节给出了一个利用OpenMP通信的demo。

(4)第七章给出了一个多核的图像处理(边缘检测)的demo,此demo位于:mcsdk\demos\image_processing文件夹下,它其实包括还几个独立的项目:OpenMP核间通信方式的、IPC核间通信方式的、串行方式的。对于这个demo的运行有以下几点注意:

1、serial是通过串口传输的,加载到0核运行,,这个demo自动加载本项目下images文件夹下的图片处理,处理结果图片也返回到此文件夹。速度很慢,处理demo中提供的689x306的image需要大概5min,估计时间都花在传输上了。

2、OpenMP和IPC方式的demo都是需要连接网口,在PC浏览器中打开相应网址来加载图片处理,不同的是OpenMP需要将out文件加载到0核运行,而IPC需要将master子项目out文件加载到0核,将slave子项目out文件加载到其他核,然后全部运行。至于IP设置,和之前的博文中说的一样。

在浏览器中打开后如下图:


3、OpenMP和IPC的优劣请参见此博文,大概结论就是:同核心数下OpenMP速度优于IPC。

4、通过网页加载文件的时间大概估计下,网口传输的速度大概在5M/S左右,而之前用的串口的速度只有几KB估计。。

(5)第六章简要介绍了各种boot方式。

(6)第七章和第八章是论坛和问答。




V5.4.4完整版/2020年5月 STM32电机控制软件开发套件(MCSDK)- 完整源代码 主要变化: Version 5.4.4 is mostly a bug fix release of X-Cube-MCSDK v5.4.3. It also introduces some new feature. ◾Added Support for PFC on STM32F3. This support is added as an example for the STEVAL-CTM010V1 Dual motor demo board. ◾Atollic TrueSTUDIO & SW4STM32 Deprecation. Atollic TrueSTUDIO and SW4STM32 IDEs are no longer actively developed and ST's strategy is to replace them with STM32CubeIDE. Recent STM32 series like STM32G4 devices for instance, are already not supported by all these IDEs. In a near future release of the Motor Control SDK, support for these IDE will be dropped and it will not be possible anymore to generate a project for them from the Workbench. ◾Introduced a workaround for the issue with injected ADC conversions that exists on STM32G4xx Cut 2.2 devices. See the dedicated section below for more details. ◾Reintroduced the correct ST Motor Profiler version (the same as release 5.4.1 of the SDK). The Motor Profiler delivered with MCSDK 5.4.2 and 5.4.3 was incomplete. ◾Fixed an issue with the faulty setting of the maximum application current for the second drive in dual drive configurations ◾Fixed an issue with Position Control configurations using an absolute position encoder (with Z signal). ◾Fixed another issue with Position Control where a division by 0 was possible. ◾Fixed a bootstrap capacitor charge issue in ICS configurations ◾Fixed a SW Error that could occur during the offset measurement loop ◾Fixed a code generation issue resulting in a compilation error when enabling open loop. ◾Fixed a STM32H7 example compilation issue - missing files have been added. ◾Fixed a generation issue for some STM32G0 and STM32F0 devices where TIM2 does not exist but was referenced in the code anyway. This resulted in a compilation failure. ◾Fixed an issue with STM32F1 HD devices in single shunt configurations ◾In the workbench, the maximum PWM frequency can now be set as high as 500 KHz. ◾Fixed an issue due to the limited RShunt resolution. Now, values such as 0.00025 Ω are accepted. ◾Fixed an issue with NVIC configuration for IHM34V2 inverter boards. ◾Fixed a Workbench issue that resulted in a wrong pin assignment when creating new projects based on the NUCLEO-G431RB control board. See section Pin assignment with NUCLEO-G431RB for more details. ◾Fixed an issue that resulted in incorrect overcurrent settings with some power boards. See section Over current settings correction for some power boards ◾Enable users to select DAC channel 2 with STM32L452
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值