1170 views|0 replies

3836

Posts

19

Resources
The OP
 

Direct code generation under simulink [Copy link]

Connect the DSP and open Matlab. First, you must change the environment, otherwise the compilation will fail.

Type C2000lib to open the library.

Add peripherals in C2833X DSP Chip Support, and then add the 28335DSP board in C2000 Target Preference, as shown below:

After compilation, Simulation--Configuration Parameters,

The above options do not have to be changed. If the code cannot be generated normally, you need to change the level.

After changing, switch the tab, change the settings as shown below, and generate code.

The code is automatically downloaded into the DSP, which is very convenient.

LED Flashing

If you want to change the model, delete the code generated in the environment, repeat the above process, and generate it again.

This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list