This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
is there a reset function on the TMDSEVM6678LE? I mean, a function that I can call from my code and that makes the same stuff as pressing the Full Reset button.
Thanks
Hi Alejandro, I suggest a reset via the PLL Reset Control Register. Here are some threads about it. [You can ignore the questions about PCIe]:
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/131840.aspx
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/172491.aspx
Regards, Jonathan
You can perform a 'Hard Reset' by writing the RSTCTRL register (along with RSTCFG register) (see sections 7.5.2.7 & 7.5.2.8 of the TMS320C6678 Data Manual.) This resets everything but the Emulation and Reset Isolation Modules.
That's as close as you get to the push button POR reset you get on the board.
Best Regards,
Chad
Hi Jonathan and Chad,
I have followed your suggestions and I have made this reset function (very simple):
void reset()
{
volatile unsigned int * pRSTCTRL = (volatile unsigned int *) (0x023100E8);
volatile unsigned int Key = 0x5A69;
*pRSTCTRL = Key;
*pRSTCTRL = 0;
}
Since I want to make a hard reset, I think I do not have to make anything else (like putting some bits to 1 in the RSTCFG register).
It seems to work great!
Thanks a lot!
Jonathan,
That's correct, if you wanted a full Hard Reset you don't need to program the RSTCFG register. I thought I'd mention it just in case.
Best Regards,
Chad