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.

28335 EXTERNAL INTERFACE ISSUE

Other Parts Discussed in Thread: TMS320F28335

Hi All,

I have made a customised board using the DSP 28335 ,adopted from the TI reference design. In my board I am using a external A/D converter interfaced to zone 7. my board is otherwise working fine with the LED toggling routine that i have executed using the Cputimer() routine. But when I attempt to read through  the external bus ie zone 7 the DSP gets frozen at and the current shoots up to 0.6A from 0.3A. After this if I attempt to stop the processor it throws the following error

C28xx: Error: (Error -1156 @ 0x0) Device may be operating in low-power mode. Do you want to bring it out of this mode? (Emulation package 5.1.232.0) 

I am executing the code via JTAG and in RAM mode only. and the processor is clocked at 150MHz using a external 30MHz oscillator.

Can anybody help me to figure why this is happening??????

Regards

SHIJESH

  • Shijesh,

    Please check if your code takes care of  following errata. (Errata document - http://www.ti.com/lit/pdf/sprz272)

    "Advisory Memory: Possible Incorrect Operation of XINTF Module After Power Up"

    Regards,

    Vivek Singh

  • Thanks for your comments vivek.
    But let me tell me u that I am running the code from RAM hence doing watchdog Reset from RAM will not help.
    I have tried doing a CPU RESET and RESTART via the debbuger but it didn't help as well.
    One more issue towards which I want to have attention is a software loadtime warning
    ""28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.""

    To my knowledge I have choosen the correct CCXML FILE AND TI EAXAMLES CMD too.

    Again CCS throws an error when it reaches the external interface read like

    ""Trouble Reading PC Register:
    (Error -1156 @ 0x0)
    Device may be operating in low-power mode. Do you want to bring it out of this mode?
    (Emulation package 5.0.471.0)""

    Now Iam stuck at this issue plz help to get over this

    Regards
    SHIJESH
  • Shijesh,

    But let me tell me u that I am running the code from RAM hence doing watchdog Reset from RAM will not help.

    I didn't understand this. Why do you think running a watchdog code from RAM location to issue a RESET will not help?

    I have tried doing a CPU RESET and RESTART via the debbuger but it didn't help as well.

    CPU RESET and RESTART will not help. You need to have a Watchdog reset to take care of this errata.

    ""28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.""



    Your XML file and part doesn't seems to match. Did you try different ccxml file?

    Regards,

    Vivek Singh

     

     

  • Vivek,

                since I am running the code from the internal RAM via JTAG emulator and the internal flash doesn't contain any code as well, thus doing a watch reset through the RAM takes the processor to begining location of my flash which is empty thus processor stalls there. this is what I have observed.

    plz note that my boot setting is JUMP to flash. If there were a program already residing in the flash the watch reset shall be meaningful and that too without the debbuger support. This is what I have observed from my little experience (humbly). plz let me know vat u think??

    Anyway the issue of XINTF got resolved. I HAVE USED THE correct ccxml file but still the warning exists??

    ya vivek one more thing to which I would like to have ur attention is the following contradicting statements from the TI literature for configuration of the XINTCNF2 register

    "To prevent this from happening when TZ3 signal goes active,
    TZ3/XHOLD 25 H2 H3 disable this function by writing XINTCNF2[HOLD] = 1. If this is not done, the XINTF bus will go into high impedance anytime TZ3 goes low. On the ePWM side, TZn signals are
    ignored by default, unless they are enabled by the code. The XINTF will release the bus
    when any current access is complete and there are no pending accesses on the XINTF. (I)" 
    copied from 28335 datamanual SPRS439E page 28

    here what I understand is that the registers HOLD BIT is writeable but when I referred the EXTERNAL INTERFACE SPRU949D document page 27 there it is told that HOLD bit is read-only. but to my surprise I was able to set this bit in my code .

    can u plz explain this???? 

    Regards

    SHIJESH 

  • Hi Shijesh,

    Sorry for my late response.

    You are correct. This is minor mistake in the document SPRU949D. HOLD bit field is R/W type. We'll have it corrected in next release.

    Thanks for your feedback. I hope the issue you were facing is resolved.

    Regards,

    Vivek Singh