Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hi,
I have created a code in HET IDE to act like a timer and generate an interrupt approximately every 50 ms
and the code generate in the file .c is :
#include "std_nhet.h"
HET_MEMORY const HET_INIT0_PST[3] =
{
/* A0_0 */
{
0x00002C21,
0x0001BBE4,
0x00000000,
0x00000000
}
};
I have copied this code to my file het.c and I have changed (void)memcpy((void *)hetRAM1, (const void *)het1PROGRAM, sizeof(het1PROGRAM)); to: (void)memcpy((void *)hetRAM1, (const void *)HET_INIT0_PST, sizeof(HET_INIT0_PST));
In halcogen I have enabled HET1 driver and also the interrupt HET1 high in VIM position 10.
I also enabled the interrupt in INTENAS like this : hetREG1->INTENAS = (uint32) 0x00000001U;
but the interrupt is not generated, am I missing something? or should I do something differently? I have tried already several things without a good result.
Thanks in advance.