Contents at a Glance
TMS320F2812 EVALUATION BOARD .......................................... 3
LED ........................................................................................... 3
Interfacing LED with TMS320F2812 ........................................... 3
Circuit Diagram to Interface LED with TMS320F2812 ................. 4
C Program to On/OFF LED using TMS320F2812 KIT .................... 5
// Watchdog generates a
SysCtrlRegs.PLLCR.bit.DIV = 10;
multiply by 5
SysCtrlRegs.HISPCP.all = 0x1;
Prescaler to divide by 2
SysCtrlRegs.LOSPCP.all = 0x2;
Prescaler to divide by 4
EDIS;
while(1)
{
GpioDataRegs.GPBDAT.all = 0xFF;
Delay_1ms(1000);
second delay
GpioDataRegs.GPBDAT.all = 0x0;
Join the Technical Community Today!
http://www.pantechsolutions.net
Delay_1ms(1000);
second delay
}
}
void Delay_1ms(long end)
{
long i;
for (i = 0; i <(9000 * end); i++);
}
What do we sell?
Our products range from Various Microcontroller
development boards, DSP Boards, FPGA/CPLD boards,
Communication Kits, Power electronics, Basic electronics,
Robotics, Sensors, Electronic components and much more . Our
goal is to make finding the parts and information you need easier
and affordable so you can create awesome projects and training
from Basic to Cutting edge technology.