How to USE the GND on DEVKIT_MPC5748G

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to USE the GND on DEVKIT_MPC5748G

ソリューションへジャンプ
1,046件の閲覧回数
Elsa_24
Contributor II
Hi, I am trying to write a program to measure the voltage across an analogue input using the ADC. My question is how to use the GND. For example I want to connect the analogue input to GND so that the result shows 0. In the part "1.2 Understanding the Header/Pinout" of the "Get Started with the DEVKIT-MPC5748G" I see for example that Pin "J12-12" is a GND. Do I have to activate this pin in the "Pin_Mux" to have this GND function? If yes, as input or output? Thanks
0 件の賞賛
1 解決策
1,023件の閲覧回数
jamesmurray
Contributor V

I don't have experience with that exact board, but it seems you are over-thinking this.

On other PPC parts at least, there's no real MUX option on the analogue inputs - you use them or you don't.

What are you trying to achieve by measuring ground? You know from the way the ADC works that if you measure a voltage that has the same potential as the analogue ground reference, you will get zero.

The normal way to connect something on an eval board is with a jumper wire.

James

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
1,019件の閲覧回数
jamesmurray
Contributor V

Jumper wire is your answer.

1,024件の閲覧回数
jamesmurray
Contributor V

I don't have experience with that exact board, but it seems you are over-thinking this.

On other PPC parts at least, there's no real MUX option on the analogue inputs - you use them or you don't.

What are you trying to achieve by measuring ground? You know from the way the ADC works that if you measure a voltage that has the same potential as the analogue ground reference, you will get zero.

The normal way to connect something on an eval board is with a jumper wire.

James

0 件の賞賛
1,021件の閲覧回数
Elsa_24
Contributor II

Hello James and thank you for your answer.


In fact I was asked to write a program to measure the voltage across an active analog input and to test that by connecting this input to GND that the displayed value is 0.

0 件の賞賛