Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
In Halcogen generated code, in HL_sys_vim.h the define is
(line 85)
#define VIM_CHANNELS 96U
This is used in HL_sys_vim.c in two places:
lines 62 through 65
typedef volatile struct vimRam
{
t_isrFuncPTR ISR[VIM_CHANNELS];
} vimRAM_t;
and in vimInit()
for (i = 0U; i < VIM_CHANNELS; i++)
{
vimRAM->ISR[i] = s_vim_init[i];
}
Question: Is the macro for VIM_CHANNELS incorrect? What happens with the VIM Channel 96-127? Should VIM_CHANNELS be 126?
There are VIM channels associated with SCI4 Low (119), SCI4 high (114) etc.
Please clarify.
Thank you
Subu
