Part Number: TMS320F28375S
Other Parts Discussed in Thread: LAUNCHXL-F28379D, C2000WARE, TMS320F28379D
Hi,
I was working on a board with TMS320F28375S. Code was executing as intended even after the resets (Soft and Power on both).
I switched to a different board which is supposed to be the copy of the previous board, and the same code does not execute correctly after resets (for both soft and power on reset). Part of the application runs fine, like I could see CAN communication happening and few other calculations. Part of my code runs from CLA. It reads motor position and speed from Resolver chip on SPI bus. This part of the code starts giving incorrect speed values. If I run with debugger connected (without power cycle), it runs fine. But as soon as I do a soft reset or a power cycle, it gives incorrect speed values.
Another observation is many of the variables show "NaN" when I click on run after the reset. Some of them change back to good values after few moments. Resolver speed gets set to "inf" and remains there. I could also see some of the RAMGS0 memory (starting from 0xC000) initialised to 0xFFFF. This memory has .ebss section mapped against it. All this does not happen if I program and run with debugger connected.
I tried the same code on LaunchXL-F28379D, it works OK on this launchpad.
I assume Boot mode settings should be fine as I could see CAN comms working. I checked GPIO72 is 1, GPIO84 is 1, OTP for bootctrl is not programmed.
Could you please suggest any checks that I can do either hardware or software to debug this problem?
Thank you.

