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.

[FAQ] AM6442: ADC0_DIG_TEST[0-7]. when a digital inputs, can these eight be considered as MAIN GPIO and/or interrupt inputs at 1.8V logic

Part Number: AM6442


We are opting to not use the ADC module for ADC conversion. Per the TRM  document SPRUIM2G section 12.1.1.4.2.2 we want to set GPI_MODE_EN = 1.

Can these 1.8V logic level inputs we used either as interrupts to the A53 or R5 cores --

OR can these be used as general-purpose inputs to the A53 or R5 cores?

  • Hello Jim Mrowca,

    Thank you for the query.

    Please refer to the Pin Attributes table of the data sheet

    Please refer the Pin connectivity table when ADC0 is not used 

    Regards,

    Sreenivasa

  • The above response is when the ADC block or analog channel IO is NOT used!

    The TRM document SPRUIM2G section 12.1.1.4.2.2 claimed some ability to use as digital inputs:

    12.1.1.4.2.2 ADC GPI Integration
    The ADC module can be configured to be used as a general digital test block which can generate 8 VDDA domain digital signals ADC0_DIG_TEST[0-7]. These digital outputs are made available to the device PinMux, where are used as general purpose digital inputs with some restrictions. The CTRLMMR_ADC0_CTRL[16] GPI_MODE_EN is the enable bit.
    When GPI_MODE_EN bit is '0', the ADC is in normal operation.
    When GPI_MODE_EN bit is '1', the ADC multiplexes the 8 analog inputs to 8 VDDA domain digital I/O block and outputs the signals to DIG_TEST[7-0] pins.
    Restrictions on this usage are:
    •The GPI_MODE_EN bit is not switched dynamically.
    •ADC supports only 1.8V logic level.
    •All ADC inputs on each ADC function either can be configured

    -------------------------------

    I want to know if I can use the 8 inputs as 1.8V logic interrupts or 1,8iV digital inputs

    ( cc: Pekka Varis's Profile - Pekka Varis - TI E2E support forums : Nick Saulnier's Profile - Nick Saulnier - TI E2E support forums )

  • Hello Jim,

    Please provide us a bit more information about your usecase.

    1) What kind of input signal or signals are you trying to read?

    2) Why are you looking at ADC inputs instead of GPIO inputs?

    3) Which core is consuming this data? What OS is running on the core?

    Regards,

    Nick

  • The ADC inputs are connected to the AM64x GPIO1 module when configured to operate as general-purpose inputs (GPI). The assignment of each ADC0 pin to the GPIO1 module is defined in the ADC0 Signal Description table found in the datasheet.

    These inputs are able to perform the same input function as any other GPIO1 input. Please read the GPIO sections in the TRM to understand the capabilities of these inputs.

    Regards,
    Paul

  • Hi All, 

    Additional inputs:

    When the ADC is put into GPI mode, the ADC simply passes the applied signal to the GPIO module. So, these inputs have the same interrupt function as any other GPIO.

    Regards,

    Sreenivasa