Hi all ,
I was trying to register an interrupt for handling BCP errors.
Platform : TMS320C6670
For doing this , I was calling the required function to set Interrupt enable register of BCP:
Bcp_setModuleIntEnable
(
Bcp_LldObj* pBcpLldObj,
Bcp_ModuleId moduleId,
uint32_t index,
uint8_t engErrEnable,
uint8_t dlgDoneEnable,
uint8_t ppbErrEnable
)
FOR ALL 4 Cores and all BCP modules(CRC,ENC,RM,etc)
values which I passed :
moduleId : 0-13 (for loop)
index (core number) : 0-3(for loop)
engErrEnable: 0x7f (setting all 7 error enable bits : refer to SPRUGZ1)
dlgDoneEnable : 1 (1 bit )
ppbErrEnable : 1(1 bit)
But when I confirmed calling the following function corresspondingly,
Bcp_getModuleIntEnable
(
Bcp_LldObj* pBcpLldObj,
Bcp_ModuleId moduleId,
uint32_t index,
uint8_t* pEngErrEnable,
uint8_t* pDlgDoneEnable,
uint8_t* pPpbErrEnable
)
I observed that entries are set only for core 0 and 1 ,
while for core 2 and 3 , all enable entries are still 0....and the entire BCP processing in the project is on core 2 and 3 only..
Can anyone help?
-Regards,
Bharti