1 Reply Latest reply: Mar 16, 2012 11:34 AM by Prashant RSS

    SPORT pin assignment limitations


      In a linux-related thread


      where the issue is related to only using the sport SECONDARY channel for codec connection due to desired overall pin assignments.

      It has been pointed out that the SPORT will not work as desired when a TX or RX pin of the PRIMARY channel is individually assigned as GPIO-function.


      At this time I realize that this limitation could apply to other SPORT pins (clock & frame strobe) as well.

      So, if I only need one single clock, because the SPORT is used as master, I'd arbitrarily like to define either TFS or RFS resp. TXCLK or  RXCLK as a GPIO, in order to utilize the chip utmost. Well, given the limitation as outlined about, I'm afraid that similar limitations occur related to these pins...

        • 1. Re: SPORT pin assignment limitations

          Hi Rob,


          Thanks for raising this up. We are aware of some similar issues and I believe our internal team is working on it.


          As per my understanding of SPORT module pins:

          - When SPORT is operating in internal clock mode (ICLK=1) then we cannot use SPORT_CLK pin in GPIO/other function mode. The corresponding pin must be configured as SPORT_CLK pin. (If we use SPORT_CLK pin as GPIO, signal on SPORT Data pin gates according to status of that GPIO pin)

          - There is no such limitation on SPORT_FS pin, when SPORT is operating in internal FS mode (IFS=1).

          - As Primary Transmit Data pin is enabled by default (with TSPEN bit is set), we must configure DTPRI Data pin in PORT mux.

          - Secondary Data pin can be disabled in PORT Mux.


          This is what my understanding is. If you can contact to private support channel, I will confirm these from our internal team.



          But by looking at your description, I think you are facing some problems with SPORT_FS and SPORT_DRPRI pins as well (which I think, should not). If you can provide more information about these problem, then that would be helpful.