Hello, I had start studying TMS320DM6437 EVM(made by Spectrum Digital) with my Intern started a week ago.
My Working application is CCS v3.3 and I had success for operating DIP Switch and LED on/off
But, I am facing with two problem!
First, I can't initializing UART Regsiter.
I had referenced default examples(provided CCS).
However, A UART Register was never modify by UART example Processing
The Register doesn't change values. Usually, Also, The Register changed the value. But, It changed only the PWREMU Register( It also modified only a 0x6003 )
Can you tell me why this problem happened? Please Give me a solution.
( The Solution is "Success of UART Example Source" or "How to modify the register that prevented access." )
Next, I can't use Timer Interrupt. I already know that Timer Interrupt generated when TIM12 reached PRD12's value.
But, How to use TINTL0?( It has written on DM6437 'DataSheet' and '64bit Timer' References Document by DSP SYSTEM EVENT NUMBER '4')
And How to modify PRD12 Regsiter?
So, I hope using the TINTL0 Interrupt. How to use this Interrupt? Where is the Interrupt Vector table or a Interrupt Vector Register?
Please Show me the C code example.(Not Big time or Clock example)
Below is part of my C codes.
#include "evmdm6437.h"
Int16 Timer_count;
interrupt void TINTL0( )
{
Timer_count++;
}
void Timer_LED( )
{
Timer_count = 0;
while(1)
{
if ( Timer_count > 5 )
{
EVMDM6437_LED_on( 0 );
Timer_count = 0;
_waitusec(30000);
EVMDM6437_LED_off( 0 );
}
}
}