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.

Pullup/Pulldown Enable Register (PUPD_ENA) and Pullup/Pulldown Select Register (PUPD_SEL) in UBoot

Hi,

 

I need to access PUPDSEL[18] in the Pullup/Pulldown selection register and pull up it through UBoot, but actually 

I try to find out the files in the UBoot code that I should modify in order to  first enable the PUPD_ENA register then access the PUPD_SEL register, bit 18

 

Can anyone please provide some help , where is the files / required changes to make that ?

 

Thank you,

Hossam

  • The control bits are in the corresponding pin mux control register. These will be documented in the next release of the datasheet.

    In the meantime...

    PINCNTLx

    Bit 17 = weak pull enable : '0' = enabled, '1' = disabled
    Bit 16 = pull type : '0' = pull down, '1' = pull up

    Bit 18 is the receiver enable and should be set to '1' for IO pins and input pins. This can be '1' for output pins too. This does not control the output driver and is only used to reduce power consumption slightly for pins which are not used as inputs. This should not really be changed from its current setting.

    Bit 19 should not be modified from its current setting for the corresponding pin.

    BR,

    Steve