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.

TMS320C5517: Configuration of UHPI_HD/GPIO multiplexed pins

Guru 15510 points
Part Number: TMS320C5517

Hi,

I have a question about C5517 UHPI and GPIO multiplexed pins.

My understandings is that the multiplexed pins of UHPI and GPIO can be configured from PPMODE bit of EBSR register.
But it seems that there are other registers which can configure the multiplexed UHPI/GPIO pins.
In C5517 Technical Reference Manual(spruh16b) page.893 "Table 16-6 UHPI REGISTERS",
there are following registers which are for configuration of multiplexed UHPI/GPIO pin and
configuration of GPIO function.
//////////////
- GPIO_EN
- GPIO_DIR1
- GPIO_DAT1
- GPIO_DIR2
- GPIO_DAT2
//////////////

Are these registers usable?
I checked whether setting to these registers is valid via CCS,
but it seems that these registers are unusable.

The following steps are how I checked via CCS:
1.Setup the bootmode of C5517EVM to McSPI boot and then Powered On
2.Connect the EVM to CCS and then press hardware reset button on EVM.
3.Executing step by step via CCS and the PPMODE was changed from mode1 to mode2
by internal bootloader.
4.When I checked the GPIO_EN, GPIO_DIR, and GPIO_DAT registers,
UHPI_HD[7]/GP_[17] pin was set to GPIO output and data was set to '1(high)'.
5.Then I attached the probe to GP_[17] pin but the signal was low level.

So, I think these registers are unusable, am I wrong?

best regards,
g.f.

  • Hi,

    I've notified the sw team. Can you share which CSL version are you using?

    Best Regards,
    Yordan
  • Hi Yordan,

    Thank you for the reply.
    I'm not using any software and didn't load execution file(.out) to the C5517 via CCS.
    It seems that setup of above GPIO registers are done by C5517 internal ROM bootloader.

    best regards,
    g.f.
  • Hi Yordan,

    I found why the above GPIO registers was unusable.
    The UHPI internal clock was in disable state.

    When I enabled the internal clock, the signal output from GPIO was as espected.
    So, I will close this post.
    Thank you for supporting me.

    best regards,
    g.f.