Problem in LPC18xx User Manual

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem in LPC18xx User Manual

Jump to solution
962 Views
alejandrocelery
Contributor I

Hi!

I have found an inconsistency in the User Manual for a LPC1857 (UM10430 Rev 3.0).
In p292 it says:
        - ADC0_0 in P4_3::LQFP208::pin 10
        - ADC0_1 en P4_1::LQFP208::pin 3
Then in p328 it says:
        - ADC0_0 en       LQFP208::pin 8
        - ADC0_1 en       LQFP208::pin 4

I have a board made to an altium design, and in the altium symbol the ADC pins are as described in p328. But then I cannot read ADC values in those pins. I have not checked the rest of the channels, my design uses only those two. I have a workaround in my board, I have to solder jumper wires to use channels 3 and 4.

Could you please look into the matter and correct the UM? I haven't found a newer UM or any errata about this.

Best regards!

Alex

Labels (2)
Tags (2)
0 Kudos
1 Solution
730 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alejandro Celery,

    You have explained yourself very well in the first post, I got what you mean.

    Still take ADC0_0 as an example, just as I told you, in LQFP208, both pin 8 and pin 10 can be used as ADC0_0 pin.

pastedImage_2.png

   pastedImage_1.png

pin 10, P4_3 pin is the multi function pin, it can be work in both digital and analog mode, but pin 8, it is just the analog pin.

If you use pin8, you can use it as ADC0_0 directly, but if you use pin 10, you still need to configure this pin as the analog function, and choose it as the ADC pin.

So, actually, you can rout it to both pin 10 or pin 8, but if your digital pin is not enough, I suggest you use pin8, because pin 10 still can be used other digital function.

Wish this explain helps your understanding.

If you still have questions about this topic, please kindly let me know!


Have a great day,
Kerry

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

View solution in original post

0 Kudos
4 Replies
730 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alejandro Celery,

   Page p292 and p328 is not the inconsistency, it means you can use both P4_3 ,P4_1 and ADC0_0, ADC0_1.

P4_3 and P4_1 can be configured to ADC function or other digital function.

 Both P292 and P328 should work. P4_3 and P4_1 also need to control SCU, configure it as the analog function in ENAIO0.

 But, to p328 ,

pastedImage_4.png

  These two pins(ADC0_0 and ADC0_1) should work when you just configure the ADC0.

  Actually, even ADC0_3 and ADC0_4 also have the Port pin, ADC0_3 is P7_5, ADC0_4 is P7_4.

 I am afraid you still need to check the ADC0_0 and ADC0_1 hardware solder and code.


Have a great day,
Kerry

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

0 Kudos
730 Views
alejandrocelery
Contributor I

Hi Kerry!

It seems like I have not explained myself well.

Let's take just one pin to make it easier to explain the problem, ADC0_0.

If I look at page 292 of the UM, it says that ADC0_0 is on pin number 10

(ten) of the LQFP 208 package.

If I look at page 328 of the UM, it says that ADC0_0 is on pin number 8

(eight) of the LQFP 208 package.

So when routing the board, I wouldn't know in which pin of the LQFP 208

package is the ADC0_0 pin.

Please let me know if I have explained myself better.

Thanks!

Saludos,

Alejandro

El 23/10/17 a las 01:37, kerryzhou escribió:

>

NXP Community

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

>

Re: Problem in LPC18xx User Manual

reply from Kerry Zhou

<https://community.nxp.com/people/kerryzhou?et=watches.email.thread>

in /LPC/ - View the full discussion

<https://community.nxp.com/message/954244?commentID=954244&et=watches.email.thread#comment-954244>

>

0 Kudos
731 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alejandro Celery,

    You have explained yourself very well in the first post, I got what you mean.

    Still take ADC0_0 as an example, just as I told you, in LQFP208, both pin 8 and pin 10 can be used as ADC0_0 pin.

pastedImage_2.png

   pastedImage_1.png

pin 10, P4_3 pin is the multi function pin, it can be work in both digital and analog mode, but pin 8, it is just the analog pin.

If you use pin8, you can use it as ADC0_0 directly, but if you use pin 10, you still need to configure this pin as the analog function, and choose it as the ADC pin.

So, actually, you can rout it to both pin 10 or pin 8, but if your digital pin is not enough, I suggest you use pin8, because pin 10 still can be used other digital function.

Wish this explain helps your understanding.

If you still have questions about this topic, please kindly let me know!


Have a great day,
Kerry

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

0 Kudos
730 Views
alejandrocelery
Contributor I

Hi Kerry!
Now I unsterstand and I was able to fix my problem. Thank you very much for your explanation.

At the time I felt that the User Manual was not clear enough on the subject, maybe you can make it better on a next release.

Thanks for your time!

Regards,

Alex

0 Kudos