1796 views|2 replies

1140

Posts

0

Resources
The OP
 

Practical DSP28335 Programming Ideas [Copy link]

When developing DSP, you need to configure its underlying hardware and peripherals accordingly. Only after the configuration is completed can you activate its corresponding modules and then write and debug programs inside it. The following is a simple summary of program configuration and operation for reference only.
Step 1: Initialize system control, PLL, watchdog, enable peripheral clocks, etc., generally call the function InitSysCtrl();
Step 2: Initialize GPIO, and perform different function configurations for different hardware systems;
Step 3: Clear all interrupts and initialize PIEinterrupt vector table
DisableCPUinterrupts
DINT;
InitializePIEcontrol registers to default state
InitPieVectTable();
DisableCPUinterrupts and clear allCPUinterrupt flags
IER=0x0000;
IFR=0x0000;
InitializationPIEInterrupt vector table
[align=left ] InitPieVectTable();
EALLOW;
XXX-------Fill in the interrupts needed in the program here and map them to the interrupt vector table(Such as
Pie VectTable.SCIRXINTA=&sciaRxFifoIsr;)
EDIS;
Step 4: Initialize all peripherals(If there is no peripheral structure, this part can be omitted)
Step 5: User program segment, enable interrupts.

This post is from DSP and ARM Processors

Latest reply

Very organized, the steps are clear and standardized  Details Published on 2018-12-25 12:07
 

6366

Posts

4929

Resources
2
 
Very organized, the steps are clear and standardized
This post is from DSP and ARM Processors

Comments

Very organized, the steps are clear and standardized  Details Published on 2018-12-25 15:47
 
 

1140

Posts

0

Resources
3
 
tiankai001 posted on 2018-12-25 12:07 Very organized, the steps are very clear and standardized
Very organized, the steps are very clear and standardized

This post is from DSP and ARM Processors
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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