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.

CCS/TMS320C5545: EBSR set

Part Number: TMS320C5545

Tool/software: Code Composer Studio

Hi 

I want to use just I2S 2 and SPI in PPMODE. 

But there is no option for that. 

I want to use other ports as GPIO 

Could you give me some solution?  

Actually I want to use I2S2, SPI and GPIO 28, 29, 30, 31 port.

Please give me answer.

Thank you

  • Hi,

    There is one SPI peripehral, but its signals can be pin muxed to two sets of pins based on the EBSR[PPMODE] bits.

    It is not possible, however, to have SPI pin muxed at the same time as GPIO 28, 29, 30, 31.
    But there are other GPIOs available wiht SPI and I2S pin muxed. Consider PPMODE 1 and PPMODE 6, which have SPI and I2S2 routed to the pins simultaneously. Both of these modes have GPIO 12, 13, 14, 15, 16, 17 routed to the pins.

    You may also consider the Serial ports 0/1 which are configured separately with EBSR[SP0MODE] and EBSR[SP1MODE]. Each set of 6-pins  can route an I2S port with 2 GPIOs or 6 GPIOs.

    If you are restricted to using GPIO 28, 29, 30, 31 ports, you can reconfigure PPMODE during runtime execution, but it is recommended to set EBSR once to avoid glitches on the pins as they transition modes. It is recommended to perform peripheral reset and reinitialize the peripherals after switching EBSR modes.

    Refer to Table 6-7, Table 6-8, and Table 6-9 in the device datasheet: http://www.ti.com/lit/ds/symlink/tms320c5545.pdf


    Regards,
    Mark