Other Parts Discussed in Thread: HALCOGEN
Dear Hercules Team,
I have got another question from my customer regarding VIM_SRAM test using the TI Safety Library.
When working with HalCoGen for the RM46, it generates a sys_vim.h with #define VIM_CHANNELS 96U.
In the TI-Safety Library (Version 2.4.0) you find in sl_sys_vim.h the following code (line 52..60):
/* VIM General Configuration */
#if defined(_TMS570LS31x_) || defined(_TMS570LS12x_) || defined(_TMS570LS09x_) || defined(_TMS570LS07x_) || defined(_RM48x_) || defined(_RM46x_) || defined(_RM44x_) || defined(_RM42x_) || defined(_TMS570LS04x_)
#define SL_VIM_CHANNELS 96U
#endif
#if defined(_TMS570LC43x_) || defined(_RM57Lx_)
#define SL_VIM_CHANNELS 128U
#endif
That means, also here the #define VIM_CHANNELS will be set to 96U for the RM46 MCUs.
According to the datasheet, the VIM has 128 channels.
Can you please clarify if this is an bug in the TI Safety Library and also in the HalCoGen tool?
Thanks,
BR,
Matthias