How does the LPC1788FBD144 chip configure the ADC function to collect two signals simultaneously?

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

How does the LPC1788FBD144 chip configure the ADC function to collect two signals simultaneously?

560件の閲覧回数
明杰周
Contributor II

Now I need to configure the AD sampling feature of the LPC1788FBD144 chip, which requires the ability to read both signals simultaneously. However, there is only one ADC in the chip, how to sample two signals. By looking at the chip manual, you know that the chip has an ADC mouth with 8 channels at the same time. But in software mode, only one channel can be sampled at a time. If in the hardware scan mode, which bits of the 8 channels are set to 1, the sampling values of these channels can be read. I suspect that you may need to configure a hardware scan mode to sample both signals simultaneously.

My question is:

1、LPC1788FBD144 chip has only one ADC mouth, how to sample two signals simultaneously?

2、The first 8 bits in the AD control register of LPC chip are the selection and input channels. In the software mode, only one can be set to 1. In the hardware scan mode, any value containing 1-8 can be written into that bit. I now need to collect two signals, which will require two channels, so two channels must be configured in the hardware scan mode. So what is the hardware scan pattern? Which registers should I configure to start the hardware scan mode?

ラベル(1)
0 件の賞賛
返信
1 返信

453件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee
Thank you for your interest in NXP Semiconductor products and 
the opportunity to serve you.
Please checking the thread:How does the LPC1788FBD144 chip configure the ADC function to collect two signals simultaneously? 

Have a great day,
TIC

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信