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.

LAUNCHXL-F28P65X: Unable to use GPIO42 and GPIO43 as output pin on TI launchpad F28P65x

Part Number: LAUNCHXL-F28P65X
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Hi,

I tried to configure the GPIO42 (J1-4/5) and GPIO43 (J1-3) as output pins on TI launchpad F28P65x. I tried just to  toggle the pins, but I am failing to read the output.

With the same logic, I tried configuring other pins GPIO104, GPIO38 and GPIO55 as output pins and I am able to read the output.

Is there any issues with GPIO42 and GPIO43  on TI launchpad F28P65x?

I used adc_ex1_soc_software example project for my experiment.

  • Hello Salahudheen,

    Can you please instead try the gpio_ex2_toggle example in C2000Ware_5_02_00_00\driverlib\f28p65x\examples\c28x\gpio to toggle the specified GPIOs? Since I don't have any details on how you set up the GPIO pins for this example, you can use the gpio_ex2_toggle example and just change the pin values in SysConfig to verify whether they are working or not.

  • Hi Omer,

    I tried the same with gpio_ex2_toggle example in C2000Ware_5_02_00_00\driverlib\f28p65x\examples\c28x\gpio and still GPIO42 is not working, but GPIO104 is working.

  • Hello Salahudheen,

    I discussed this with the device expert and these specific pins are likely configured to be analog pins by default. The analog mux needs to be specifically configured by the AGPIOCTRLx.GPIOy and GPxAMSEL.GPIOy mux selections (see section 14.4 Digital Inputs and Outputs on ADC Pins (AGPIOs) from the reference manual). Let me know if this affects the pin usage.

  • Hi Omer,
    I have already used the ADCINC0 pin as GPIO199 with pin mux and found it working.

    The PIN I referred not working is GPIO42 which is not associated with any ADCs.

    Would you mind to check the pins  GPIO42 (J1-4/5) and GPIO43 (J1-3) on F28P65x device working at your side?

  • Hello Saluhudheen,

    The pins GPIO42/43 have alternate functions as indicated by the GPIO Muxed Pins table:

    When I talked with the device expert, he told me that these pins are likely configured with their ALT setting by default, you will need to make sure that the appropriate mux is configured. The mux registers I mentioned earlier are used to configure this.

    Would you mind to check the pins  GPIO42 (J1-4/5) and GPIO43 (J1-3) on F28P65x device working at your side?

    I do not have this device on my side, there are few to go around and in high demand.