How to use PGA Kinetis K10 ADC

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

How to use PGA Kinetis K10 ADC

ソリューションへジャンプ
1,076件の閲覧回数
okaner
Contributor III

Hello,

     I want to use the PGA in Kinetis K10 microcontroller. I try to find Gain option in PE ADC_LDD, but I could not find anything. Is there anyone used PGA from PE.

Okan ERCAN

ラベル(1)
タグ(3)
1 解決策
682件の閲覧回数
santiago_lopez
NXP Employee
NXP Employee

Hi ERCAN

In the Processor Expert Components Library there is a peripheral initialization component named Init_PGA. You can use it to initialize the PGA settings like gain and operating mode. When configuring, just set the Pins/Signals options for Positive and Negative inputs to "Disabled" since the pin initialization is being performed in the ADC_LDD component.

Saludos

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
683件の閲覧回数
santiago_lopez
NXP Employee
NXP Employee

Hi ERCAN

In the Processor Expert Components Library there is a peripheral initialization component named Init_PGA. You can use it to initialize the PGA settings like gain and operating mode. When configuring, just set the Pins/Signals options for Positive and Negative inputs to "Disabled" since the pin initialization is being performed in the ADC_LDD component.

Saludos

0 件の賞賛
681件の閲覧回数
MarkHaines
Contributor II

I don't think that answer was completely right.  I didn't get any PGA gain until I DID assign the positive and negative input pins for the PGA.  And after that you have to go to the ADC_LDD component and reassign the ADC inputs from the input pins to the PGA outputs PGAxDP and PGAxDM.  PEx did not change them automatically.

I implemented this on the TWR-K20D72M board where the microphone is the ADC1_DP0 input and the potentiometer is the ADC1_DM0 input. This allows you to adjust the pot to remove the 0.7V DC bias from the microphone output, which makes a very sensitive audio pickup.