Part Number: TMS320F28035
Tool/software: Code Composer Studio
hello sir/madam,
i have code in my project that use SCI communication with other MCU, and there is a digital isolator SI8621BB-B-IS between then.
if a click the connect target button from disconnect status with JTAG, then the communication is ok
or if a remove the digital isolator and connect tx rx, gnd directly, then the communication is ok too.
otherwise, the 28035 cannot identify the signals in its rx pin(nothing in the rx buffer register, but signals are observed in the rx pin).
i have already checked the clock, baudrate, sci initialization, i think is ok.
now, i think the only break point for me is the "connect target button" behavior.
does it only run the script below? and how can i duplicate the behavior in my code and run it in the flash? thank you in advance.
OnTargetConnect()
{
if (GEL_IsInRealtimeMode()) /* If in real-time-mode */
{
}
else /* Put device in C28x mode */
{
C28x_Mode();
}
F28035_Memory_Map(); /* Initialize the CCS memory map */
/* Check to see if CCS has been started-up with the DSP already */
/* running in real-time mode. The user can add whatever */
/* custom initialization stuff they want to each case. */
if (GEL_IsInRealtimeMode()) /* Do real-time mode target initialization */
{
}
else /* Do stop-mode target initialization */
{
GEL_Reset(); /* Reset DSP */
}
}