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

I just want to know how to use the PWCTRO0~3 and PWCTRIO0~6 pins.

From the datashet, I know ,The PRTCSS will work in extern reset mode if the PWRCNTON input pin is held at 1 and the PWRST pin is held at 0. So I did. I use the pins for general I/O, so I up them. But I don't konw how much does the resistance ? I use 10K, but I can't set the pins to low.

So I need help. How can I use this pins ? Is it the resistance I used too much?

  • Jack,

    Your resistance value is ok.  We use 10K resistors for PWCTRO0-3 and PWCTRIO0-6 on our EVMs.  Have you verified the pins are configured as outputs via the GIO_DIR register?  Also, section 3.1.1.1 of the PRTCSS user's guide describes how to configure these pins for output.  Can you verify that you've taken all the steps listed in the user's guide and let us know if this solves your issue?  (If you've already done this, please let us know).

    The PRTCSS user's guide (SPRUFJ0A.pdf) can be found here: http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=sprufj0a

    kind regards,

    -Adam

  • Thanks , Adam.

    I have saw the PRTCSS user's guide. But in my board, I can't control the PWCTRO0~3, I can control the other pins .

    I uesed the 10K resistors, when the power went on, the PWCTRO0 was low, I need high when it powered, So I changed the 10K resistors to 22 resistors, then the pin was high, but I can't make it to low, When I set it to low, I measure it , it is 1.4V, It is always high.

    I also saw the EVMs, but I can't saw anything program about those pins. Those pins were connected to the CPLD, I downloaded the CPLD's program , but the program wasn't control those pins.

  • Can you help me?

  • Jack,

    The PWCTRO[3:0] pins:

    - Are OUTPUT only Pins and can be driven only by the PRTCSS. 

    -By default this pins are Output and are driven Low. (The PRTCSS Guide says default value is ‘driven high’ section 4.2.1 PRTCSS guide, but this the default is 'driven low'. The default value of GO_OUT register is not correct and it should be all '0' value).

    -So if they are going to be driven as outputs you don't really need an external pull resistors.

    A 22ohm resistor is definitely a very strong pull resistor and in this case its opposing the default low driven pin.

    The PWCTRIO[6:0] pins:

    -Default value = Input.

    -Can be INPUT/OUTPUT, driven by the PRTCSS.

    -So if they are going to be driven as outputs you don't really need an external pull resistors, but if the pins are to be used as Inputs only and there is no way for the state of the pins to be driven externally by a 0 or a 1 then you will want a pull resistor.

    As PRTCSS GPIOs functionality: The PRTCSS guide shows how to program this pins as GPIOs via the PRTCSSIF registers (2 step process to actually access the PRTCSS registers for GPIO functionality)

    - As generic GPIOs (accessed via the GPIO module) GIO[110:104]=PWCTRIO[6:0] in case the PRTCSS clocks not enable via PSC for PRTCSS.

    Please see the attached diagram.

    regards,

    Miguel

     

  • Thanks, Miguel.

    I see.

    Regards,

    Jack.

  • We are now trying to use bank 6 as io to interrup mode (both PRTCSS GPIOs functionality and generic GPIOs) without success becides the rtc mode.

    As PRTCSS GPIOs functionality: The PRTCSS guide shows how to program this pins as GPIOs via the PRTCSSIF registers (2 step process to actually access the PRTCSS registers for GPIO functionality)

    ·         With this mode, we had tried but when the interrupt have been handled (we are using 29. We get the resulted of no interrupt if we have it changed to 56), we just read this :

    ·          

    ·         PRTCSS_PWCTRIO_GIO_FALL_INT_FLG = 0

    ·         DAVINCI_PRTCIF_INTFLG = 1

    ·         PRTCSS_PWCTRIO_GIO_INTC_FLG0 = 0

    ·          

    ·         - As generic GPIOs (accessed via the GPIO module) GIO[110:104]=PWCTRIO[6:0] in case the PRTCSS clocks not enable via PSC for PRTCSS.

    But..i had check the clock of PRTCSS:

     

     

     

     

    However, I cannot found any info about PLLC1AUXCLK. If we try to use RTCXI, we cannot disable the subsystem of PRTCSS except weld, am I right ?

     

     

  • Hi,

     

    We are trying to configure PWRTC registers for GPIO104,105,106.any pointers on these.Pl let us know how to configure the PRTCSS as GPIO do we need to add INT_CFG in DM365.c file also.If so kindly let us know.

     

    regards

    Ravichandran