Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi
Sorry I raised a similar question on other mail chain in e2e forum. However. I were busy on other stuff in pass few months. It is freezes I thought, so create new question about it.
I was using F28379D in my product development (EADI). It is necessary to change TI safety diagnostic library from COFF to AEDI. TI team suggested to use f2837xd_test_application as starting point for conversion.
I did some steps before conversion
Tools
1. Hardware : Lunchpad-F28379D, 2. CCS : 12.7/0.000007
Steps:
a. Import the project to CCS
b. Change UART port from A to B since original project send a message to UART A. It is because launchpad does not have pin for UART A in these connector pins as below
void STA_Comm_configSCIA(void)
{
#if !LAUNCHPAD
//
// GPIO28 is the SCI Rx pin.
//
GPIO_setMasterCore(55, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_55_SCIRXDB);
GPIO_setPadConfig(55, GPIO_PIN_TYPE_STD);
GPIO_setDirectionMode(55, GPIO_DIR_MODE_IN);
GPIO_setQualificationMode(55, GPIO_QUAL_ASYNC);
//
// GPIO29 is the SCI Tx pin.
//
GPIO_setMasterCore(54, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_54_SCITXDB);
GPIO_setPadConfig(54, GPIO_PIN_TYPE_STD);
GPIO_setDirectionMode(54, GPIO_DIR_MODE_OUT);
GPIO_setQualificationMode(54, GPIO_QUAL_ASYNC);
#else
//
// GPIO85 is the SCI Rx pin.
//
GPIO_setMasterCore(85, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_85_SCIRXDA);
GPIO_setPadConfig(85, GPIO_PIN_TYPE_STD);
GPIO_setDirectionMode(85, GPIO_DIR_MODE_IN);
GPIO_setQualificationMode(85, GPIO_QUAL_ASYNC);
//
// GPIO84 is the SCI Tx pin.
//
GPIO_setMasterCore(84, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_84_SCITXDA);
GPIO_setPadConfig(84, GPIO_PIN_TYPE_STD);
GPIO_setDirectionMode(84, GPIO_DIR_MODE_OUT);
GPIO_setQualificationMode(84, GPIO_QUAL_ASYNC);
#endif
//
// Initialize SCIA and its FIFO.
//
SCI_performSoftwareReset(SCIB_BASE);
SCI_setConfig(SCIB_BASE, SysCtl_getLowSpeedClock(DEVICE_OSCSRC_FREQ), 9600,
(SCI_CONFIG_WLEN_8 |
SCI_CONFIG_STOP_ONE |
SCI_CONFIG_PAR_NONE));
SCI_resetChannels(SCIB_BASE);
SCI_resetTxFIFO(SCIB_BASE);
SCI_clearInterruptStatus(SCIB_BASE, SCI_INT_TXFF | SCI_INT_RXFF);
SCI_enableFIFO(SCIB_BASE);
SCI_enableModule(SCIB_BASE);
SCI_performSoftwareReset(SCIB_BASE);
}
c. Set active configuration from RAM to RAM RELEASE because there is error if use RAM configuration
Result.
1. There is no any message send out from UART B
2. The value of "STA_Tests_passCount" is 28. However a number of test case should be 38.
Please advise how to fix it.
Thanks


