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.

Configure ST1_55 register with bootloader on the TMS320C5515

Hi,

I would like to set at low level the XF bit during the boot sequence. I still used the -reg-config for configure périphéral register but when i try to switch-off the pin xf by the bootloader with the ST1_55 register.It don't work.

Can I set a cpu register (like ST1_55) with bootloader ?

 

Regards

 

Julienv

  • Hi Julienv,

    I dont think you can configure the XF pin with a -reg_config option.

    I believe the -reg_config is limited to setting registers in the I/O memory space.

    The XF pin is configured in the ST1_55 register - one of the memory-mapped registers, which are CPU registers mapped to addresses in the data space of the DSP.

    You can clear the XF pin right after the bootloader completes with the following C function call:

    asm('    BCLR XF');

    Why do you need the XF pin low during boot? It is only high for the period during boot, and then configurable by your program.

    Regards,
    Mark

  • Thanks for your answer,

    I thought also but I needed a confirmation.

    I wanted to set low the pin XF during the boot sequence because I use it for enable a device  and my boot period is a bit long. But it's ok now I have changed my design and I don't need to set low xf during the boot period now.

    best regards

    Julien