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.

TMS5702124CPGEQQ1: Connecting pin#142 to GIO Data Input Registers [B][2]

Other Parts Discussed in Thread: HALCOGEN

 

Sirs,

My customer is trying to read the pin#142 digital input state via the GIO register, but it is not successful. Could you please advice?

 

Customer test result

  • The pin#142 state (Hi/Lo) didn't match the GIODINB[2] bit read. For example, regardsless the pin state the register output was one.
  • GIO output was good. That is, the GIODOUTB[2] matched the pin#142 state. The problem was just readback.
  • Tested with 2 customer boards. Both showed the phenomenon.

 

Remarks and questions:

  • No findings in Errata as long as my study. I would appreciate your double-check.  Chip revision-C.
  • The TRM spnu499b is difficult for me in the following points. Your expalanation is highly appreciated:

                         - p228 Table 4-1: Does the pin#55 is used for GIOB[2] ?
                         - p228 Table 4-1: What is the right value for the PINMMR29[16] for GIOB[2] input usage?
                         - p241 Table 4-16: For register 0xFFFFEB34, "PINMMR9[18]" is not found but 
                                                           we see "PINMMR29[16]". Is that correct? 
                                                           Does PINMMR9[18] need to be configured?

 

Best regards,

 

  • Hideaki,

    On this device, the GIOB[2] is available on 2 differents pins:

    Pin 142 as dedicated pin.
    Pin 55 as alternate pin.

    By default, out of reset and without doing anything in the pin muxing, the state of pin 142 can be read via GIOB[2] register or can be change by writing to GIOB[2] register.

    If the alternate pin 55 has to be used, than it is necessary to change, as mentioned on Table 4.1 page 228 the input mux to switch from dedicated pin 142 to alternate pin 55. This is to read the state of the pin.

    When pin 55 is used as GIOB[2], it is not possible to control (output) the state of this pin. Only input can be used.

    I did check in Halcogen 4.0 and apparently this option is missing. I will contact Halcogen team and ask them to have a look.

    Here is also a link to a similar question concerning GIOB[2].

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/286892/1000717.aspx#1000717

    Please let me know if I've clarified your question.

  •  

    Jean,

    I appreciate your reply. It solved our problem.

    By the way could you please update the TRM spnu499 with your your explanation? PINMMR29[23:16] should be zero to connect the pin 142 to GIOB[2].

    The Table 4-16 on the page243 (and other descriptions) was difficult for us to know a right setting.

     

    Best regards,