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.

what pin is AIN0 on? PE3 or PE7?

Other Parts Discussed in Thread: TM4C129XNCZAD

The Datasheet says AIN0 is on PE3 but the ADC example says it's on PE7. Which one is correct?

  • Might your reveal of the MCU in question assist?
  • I am sorry. it's the TM4C129xnczad.
  • Ok - and of course firm/I use only 4C123.

    When in doubt "ALWAYS" observe the MCU's datasheet. Software examples surely "pre-existed" your MCU - thus (most always) prove suspect.

    Your MCU datasheet will properly guide you.
  • It's shows the same on the 4c123. PE3 is AIN0. But, all the examples I have found in the Tivaware show PE7 and AIN0.I will do some code and found out which one, but I would be nice to document the error if there is one.
  • My friend - I understand your quandary - yet as stated - those ADC examples were (most likely) created LONG BEFORE TM4C12x "saw the light of day." This vendor - and others - cannot adjust ALL Past Examples to accommodate every new MCU - can they?

    It is extremely unlikely for the datasheet to lie - creating a "universal example" - good for EACH/EVERY MCU this vendor introduces - is not a realistic expectation.

    Your datasheet holds your answer - w/out fail!
  • Thank You. I will trust in the datasheet. For if we can't find the answers in the datasheet, we are surely lost.... ;)
  • The datasheet - some experimentation (as you yourself mentioned) and "selective adapting of past examples to your current MCU" should prove, "Best Path." You're on your way - bon chance, mon ami... (remember - most all examples were created LONG prior to the birth of your MCU! [it's this vendor's latest/greatest...and aging (gracefully)]
  • Re:  " [it's this vendor's latest/greatest...and aging (gracefully)]" - Let's hope for additional siblings to arrive [and/or beefy cousins (M7)] ;-)

  • Hello Jerry,

    Will need to file a bug to ensure this issue is fixed.

    Regards
    Amit
  • Indeed Dave - you are correct - again.
    The world (surely) awaits an M7 armed w/multiple (still unneeded/unwanted) NMI defaults - and an eval board w/GPIO to GPIO (dead shorting) plague-istors" (to maintain (backwards) compatibility...)