tms320f28035 Study Record II

Source: Internet
Author: User

1.TI Processor Naming conventions

TMS stands for qualified products;TMX stands for experimental products,andTMP stands for model products.

On behalf of the DSP product line,430 represents the single-chip microcomputer product series;

470 represents the ARM product family.

F for internal memory is Flash,andC for internal memory is ROM.

28035 represents the product model.


2.CCS5 's standard C files and some of TI 's own extensions of header files in c:/ti/ccsv5/tools/compiler/c2000_ 6.1.0/include. This include file is used by the DSP in the C2X series.


3. now c2000 The library of the series has a development version of v121 v122 v123 v124 v125 v126 v127 v128 v129

The relevant libraries can be found in the C:\ti\controlSUITE\device_support\f2803x.


The 4.c2000 has multiple start -up options, and you can see the supported boot modes from the tms320f28035 Data Sheet page, which is basically using an emulator, There are few scenarios available to download using other means.

5.ccs can open multiple projects at the same time, but only the black-bold project is currently active, (that is, if you press compile, he will compile the black-bold project).

6.dsp2803x_codestartbranch.asm// no error when loading.

Dsp2803x_defaultisr.c

Dsp2803x_piectrl.c

Dsp2803x_pievect.c

Dsp2803x_sysctrl.c

Dsp2803x_sci.c

Dsp2803x_usdelay.asm

Dsp2803x_globalvariabledefs.c

Dsp2803x_headers_nonbios.cmd

Dsp2803x_memcopy

Dsp2803x_tempsensorconv

Usually a project to load these 9 files, in different directories, in the common and header folder, you can find these files more.

7.

#include "Dsp28x_project.h"

void main(void)
{

Initsysctrl ();/ /Initialize the system clock, peripheral clock, watchdog, etc., set the system clock to 60M, if it is your own DIY board, the clock is not 10M , you can study the parameters set up inside

dint;// clears all interrupts and initializes the PIE vector table, shutting down the total interrupt

Initpiectrl ();// initialize the pie Control Register as the default value, the default value is all interrupts are stationary, the flag is zeroed, interrupted by Pie Controller to manage interrupt response

IER = 0x0000;// This is a Set of interrupt enable registers, all switched off

IFR = 0x0000;// This is the mark of a group of interrupts, clear 0

Initpievecttable ();// This is the initialization of the interrupt vector table, which is to assign the interrupt function entry address of various interrupts

Eallow; in the DSP , some registers to be set up to solve the register protection, this command is to unlock the protection, the following several // is set IO the function

GpioCtrlRegs.GPAMUX2.bit.GPIO31 = 0; GPIO31 as normal IO
GpioCtrlRegs.GPBMUX1.bit.GPIO34 = 0; GPIO34 as normal IO
GpioCtrlRegs.GPADIR.bit.GPIO31 = 1; GPIO31 direction for output
GpioCtrlRegs.GPBDIR.bit.GPIO34 = 1; GPIO34 direction for output

EDIS; corresponds to unlock protection, this is off protection

while (1)

{

Dsp28x_usdelay (10000000);// This function is defined in the assembly, defined in the dsp2803x_usdelay.asm ,// More accurate, the parameter is long type. ?

GpioDataRegs.GPATOGGLE.bit.GPIO31 = 1; GPIO31 Port level rollover one time
GpioDataRegs.GPBTOGGLE.bit.GPIO34 = 1; GPIO34 Port level rollover one time

}

}

8.

MemCopy (&ramfuncsloadstart, &ramfuncsloadend, &ramfuncsrunstart); Initialize in RAM run the code.

9. The data space is separated from the program space,and theCPU can access both the data and the program.


10.DSP suppliers have TI ( market share around 50%),ADI, MOTD,zllog.

11.TI DSP series:

1)picclo series:f2802x series,f2803x series.

2)C2000 series:24X series,28X series.

3)C5000 series: Low power consumption, handheld devices.

4)C6000 series: Broadband network, image processing.

5) Leonardo da Vinci series: Security monitoring, broadband network, image processing.

6)OMAP series:dsp+arm dual core, mobile internet, multimedia.

tms320f28035 Study Record II

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.