Reading temperature and voltage data

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

Reading temperature and voltage data

848件の閲覧回数
Arsenii
Contributor I

Hello.

Im started working with MPC5777C few days ago and trying to understand how to read raw voltage or temperature data. In reference manual i found a lot of data about  LVD and HVD self test, but cannot find anything about raw voltage (or temperature) data.

If i get it right i need to do the following:

1. Set PMC_ADC_CS to ADC voltage reference channel (what channel is it?).

2. Set ADC to conversion resolution (or its fixed 16 bit only?).

3. Enable specific ADC.

4. Trigger the conversion (how?).

5. Get result from SDADC_1-4.

6. Reset the buffers.

7. Disable ADC.

Please, fill the gaps if i forget something or (ideally) provide an example.

Thanks!

0 件の賞賛
返信
1 返信

828件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

below example shows MCU's temperature measurement with the help of TSENS;
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-TSENS-Temperature-calculation-G...

BR, Petr

0 件の賞賛
返信