LPC54018 ADC 16-bit

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

LPC54018 ADC 16-bit

862件の閲覧回数
Sukumar_M
Contributor I

Hi,

Why LPC54018 Microcontroller have 16-bit ADC. As per data Sheet it should be configure only 12 bit but its resolution is 16 bit the final stage of function it should be shifted.

Why?

0 件の賞賛
返信
7 返答(返信)

855件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following screenshot from UM11060.pdf,the ADC resolution for LPC540xx is 12 bits instead of 16 bits.

where did you know the ADC resolution is 16 bits?

 

BR

XiangJun Rong

 

xiangjun_rong_0-1657193269421.png

 

0 件の賞賛
返信

844件の閲覧回数
frank_m
Senior Contributor III

If I remember correctly, the 12-bit result of the ADC is left-aligned within the result register.

0 件の賞賛
返信

848件の閲覧回数
Sukumar_M
Contributor I

Hi 

I'm worked in mcuxpresso Its configered as per data sheet is 12 bit but its shifted from this deriverd value originally its 16 bit.

from given below example:

Capture1.JPGCapture.JPG

タグ(1)
0 件の賞賛
返信

841件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sukumar,

The ADC data register is 32 bits, but the 12 bits sample result occupies 4~15 bits, as a uint16_t variable format, it is a left-alignment data as Frank said.

For detailed inf,pls refer to section 43.6.6 ADC Channel Data registers 0 to 11 in UM11155.pdf.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1657262129409.png

 

0 件の賞賛
返信

810件の閲覧回数
Sukumar_M
Contributor I

OK,

If may use 16 bit ADC any issue

0 件の賞賛
返信

801件の閲覧回数
frank_m
Senior Contributor III

> If may use 16 bit ADC any issue

I don't understand what actually the question is.

But proper PCB design for a 16-bit ADC is not trivial. A bad design can have worse accuracy and performance values than a proper 12-bit design.

My company uses 10-bit and 12-bit ADC inputs in control units for safety-certified heavy machinery.

0 件の賞賛
返信

804件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, the ADC of LPC54018 has only fixed 12 bits resolution, which can not be configured. The LPC55xx has ADC which can be configured as 16 bits resolution or 12 bits resolution.

BR

XiangJun Rong

0 件の賞賛
返信