The aim is to send simple data from 6670 DSP of one EVM to 6670 DSP of other EVM using SRIO Interface. I have connected two 6670 EVMS using breakout card.We have brought them from TI. I have run the SRIO_LoopbackDioIsrexampleproject in loopback mode(with no changes) and program was successful.
(DIO with Interrupts example completed successfully)
When I changed from loopback to Normal mode it is not working. I have made this following changes:
- CSL_BootCfgsetSRIOSERDESConfigPLL (0X251) instead of CSL_BootCfgsetSRIOSERDESConfigPLL (0X233) “(even with 233 value also loopback working)
- Changed to
CSL_SRIO_SetNormalMode(hSrio, 0);
CSL_SRIO_SetNormalMode(hSrio, 1);
CSL_SRIO_SetNormalMode(hSrio, 2);
CSL_SRIO_SetNormalMode(hSrio, 3); instead of
CSL_SRIO_SetLoopbackMode(hSrio, 0);
CSL_SRIO_SetLoopbackMode(hSrio, 1);
CSL_SRIO_SetLoopbackMode(hSrio, 2);
CSL_SRIO_SetLoopbackMode(hSrio, 3);
But the program is not running completely. Port ok is not happening.
I feel I have to do some more changes. Whether I have to change the device Id in one code because if I don’t change it seems I am loading same code on both the systems (core o in one system and core 1 in other system)
Default code
/* Populate the DIO Address Information where the data is to be sent. */
to.dio.rapidIOMSB = 0x0;
to.dio.rapidIOLSB = (uint32_t)&dstDataBufPtr[srcDstBufIdx][0];
to.dio.dstID = DEVICE_ID2_16BIT;
to.dio.ttype = dio_ttype;
to.dio.ftype = dio_ftype;
expecting to change
to.dio.rapidIOMSB = 0x0;
to.dio.rapidIOLSB = (uint32_t)&dstDataBufPtr[srcDstBufIdx][0];
to.dio.dstID = DEVICE_ID4_16BIT //DEVICE_ID2_16BIT;
to.dio.ttype = dio_ttype;
to.dio.ftype = dio_ftype;
Please help me out
Thanks and Regards,
Nithin B