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.

LAUNCHXL2-RM57L: GIO [A or B] complete pinout needed

Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: SN74LV8154, RM57L843, HALCOGEN, DP83630

Hey, everyone!

I need to read 8-bit parallel data from SN74LV8154 binary counter IC using Hercules RM57Lx LaunchPad.

I want to use gioGetPort function for the same as using gioGetBit 8 times consumes time but I cannot locate all the GIO pins in the pinouts available. Please, help me with the pinout, thanks.

Regards,
Apurv

  • Hello,

    At RM57L843 Launchpad pinout is as follows (from schematic diagram):

    GIOA_0 --> J4.10
    GIOA_1-->J4.9
    GIOA_2-->J4.8
    GIOA_3-->J10.18 (GIOA_3 is connected to FP83630 as well)
    GIOA_4-->J9.15 (GIOA_4 is connected to FP83630 as well)
    GIOA_5-->J4.7
    GIOA_6-->J1.8
    GIOA_7-->J1.5

    GIOB_0 --> J8.8
    GIOB_1-->J8.7
    GIOB_2-->J10.5
    GIOB_3-->J10.6
    GIOB_4-->used for user button
    GIOB_5-->used for user button
    GIOB_6-->used for user LED
    GIOB_7-->used for user LED

    Some signals are connected to more than one terminals, so that the inputs for these signals can come from either of these terminals.Table 4-28 in Datasheet lists this signals and shows how to configure these signals.

    From the schematic diagram you can follow the alternate pins connection. Schematic diagram can be downloaded from here: 

    www.ti.com/.../sprr397.pdf

    Best regards,
    Miro

  • Hi, Miro!

    You mentioned the same pin got GIOA_3 and GIOA_4.
    Are GIOA_3 and GIOA_4 connected together to J10.18?

    Regards,
    Apurv

  • Hi,

    Sorry it was a typo. I made a correction at my previous post (GIOA_4 is exposed on J9.15).

    Best regards,
    Miro

  • Hey, Miro!

    I followed your pin description, thanks for that. I am having one issue though, GIOA_4 (J9.15) is always high, even if I explicitly write 'gioSetBit(gioPORTA, 4, 0)' in the code.

    It is configured with a pull-down in HALCoGen.

    How to rectify this?

    Thanks and regards,
    Apurv

  • Hello,

    Check whether PINMUX is fine and GIO is set as output. Keep in mind that GIOA_4 is connected to RESETN of DP83630.

    Best regards,
    Miro

  • Hey!


    Sorry for the confusion. I am using GIOA port to read binary data from the SN74LV8154 counter IC, so, I have kept all GIOA pins configured as input.

    I had used 'gioSetBit(gioPORTA, 4, 0)'  just to check the pin but that was stupid as it is an input pin.

    I checked PINMUX, both GIOs are enabled but I did not find GIO4 in the list of pins. As I plug in the board, GIO4 goes high and remains high.

    Regards,
    Apurv

  • I put these lines in my code:

    gioSetDirection(gioPORTA, 0xFFFFFFFF);
    gioSetBit(gioPORTA, 4, 0);
    gioSetDirection(gioPORTA, 0x00000000);

    The 1st and 2nd line dropped the voltage value but, after the 3rd line, it again went high.

  • Hello,

    According to DP83630 Datasheet, RESET_N pin (pin 29) has internal pull-up. GIOA[4] is connected to RESET_N (see the schematics) and N_RESET pin is holding GIOA[4] high.

    Best regards,
    Miro