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.

DM365 PRTCSS GIO could not be configed as the output pin

hi,

On our custom board, we use PRTCSS GIO2 to control the LDO enable  pin of the PMIC(TDS65023).

we set the prtcss to external reset mode. We use uboot to write reg as the following sequence:

mw 1c69008 00007BFF //GIO bit2 to output, and output val =1.

mw 1c69004 000F0001 //write to PTRC_CTRL

mw 1c69004 010F0001 //change to read mode

md 1c69000 4 //read reg val

here we got the reg value:

01C69000: 00000000 010F0001 00007BFF 00000000

Reference to the PRTCSS User Guide (SPRUFJ0A) the 0x1c69008 should be 00047B7F.

how can we set the right value to GIO_Out or set PRTCSS GIO2 to output mode? thanks.

 

 

  • Arda,

    Hi,

    There are a couple of known documentation discreapancies in the PRTCSS userguide, that will get fixed on the next revision.

    1) Section 4.2.1 GO_OUT Pins: Technically the reset value of these pins should be =0 (Driven Low) (The PRTCSS Guide says default reset value for GO_OUT[7:0] is ‘=1, but it is incorrect, the correct should be = 0 ('driven low')

    2) Section 4.2.3 GIO_DIR Pins: By default this pins are Inputs and the value of the register = '0'. (The PRTCSS Guide register description is incorrect and should be value 0= Input; and value 1 = Output.

    The #2 seems to be what is causing your issue.

    regards,

    miguel

  • Hi Miguel,

    we set the GIO_DIR Reg to 0x04, and it works. thank you for your help.

    B.R.

    Arda