1463 views|0 replies

6580

Posts

0

Resources
The OP
 

DSP28335 programming steps [Copy link]

About the initial application of DSP28335: Program design steps: When developing DSP, it is necessary to configure its underlying hardware and peripherals accordingly. Only after the configuration is completed can the corresponding modules be activated, and then the program can be written and debugged inside. The following is a simple summary of program configuration and operation for reference only. Step 1: Initialize system control, PLL, watchdog, enable peripheral clock, 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 the PIE interrupt vector table Disable CPU interrupts DINT; Initialize the PIE control register to the default state InitPieVectTable(); Disable CPU interrupts and clear all CPU interrupt flags IER=0x0000; IFR=0x0000; Initialize the PIE interrupt vector table 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 Microcontroller MCU
 

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