About example code for ADCHS of LPC-Link2 board

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

About example code for ADCHS of LPC-Link2 board

Jump to solution
1,437 Views
leeyoungjae
Contributor II

I am trying to get digital value by "ADCHS of nxp_lpclink2_4370_periph_hsadc" that is from LPCopen sample code for ADCHS.

already connecting EXP_ADC3 (J7 10PIN ) on LPC-LINK2 board.

My problem is 

- I couldn't set any result data from EXP_ADC3 port.

How can i see ADCHS result on this sample code ?

Please check the following my test board.

If i have wrong , Please let me right way to check ADCHS.

Thanks.

0 Kudos
1 Solution
975 Views
leeyoungjae
Contributor II

LPC-LINK2 board is used TFBFA100 type of LPC4370.

so this board can't be support ADCHS_3 pin but LPCopen sample code for adchs is for ADCHS_3.

I am trying to use ADCHS_0 or ADCHS_1 on LPC_LINK2.

My question is 

1. Where is ADCHS sample code for LPC_LINK2 ?.

2. Could you provide sample code to test ADCHS peri for LPC_LINK2 ?

Thanks.

View solution in original post

0 Kudos
1 Reply
976 Views
leeyoungjae
Contributor II

LPC-LINK2 board is used TFBFA100 type of LPC4370.

so this board can't be support ADCHS_3 pin but LPCopen sample code for adchs is for ADCHS_3.

I am trying to use ADCHS_0 or ADCHS_1 on LPC_LINK2.

My question is 

1. Where is ADCHS sample code for LPC_LINK2 ?.

2. Could you provide sample code to test ADCHS peri for LPC_LINK2 ?

Thanks.

0 Kudos