I have performed some experiments on the OM13092 development board to check the problem observed on LPC546 microcontroller. We have found fluctuations in the development board as well.
Details of connection/board configuration:
1) Channels used ADC0_4 (J12/2),ADC0_5 (J12/4) & ADC0_6 (J12/6)
2) Evaluation board: OM13092
3) Power: Debug port J8 of OM13092
4) Core clock: 100 MHz (External 12MHz crystal frequency stepped up through PLL)
5) ADC clock: 1 MHz (Synchronous)
6) ADC sample time number = 7
I have attached picture of the set up used in Experiment 1.
Experiment 1: GND from P3 of OM13092 connected to ADC0_4, ADC0_5 & ADC0_6
ADC channel
| ADC output
|
| Min | Max |
| ADC0_4 | 0 | 10 |
| ADC0_5 | 0 | 6 |
| ADC0_6 | 0 | 5 |
Fluctuations of 10 count with GND input
Experiment 2: 1.65V DC generated through a Voltage divider circuit of 10K each fed to channel ADC0_4
3.3V(J10/12) of OM13092 and GND (J10/18) is used to dirve the voltage divider network.
ADC Channel
| ADC Output
|
| Min | Max |
| ADC0_5 | 2041 | 2053 |
Fluctuation of 12 count with a fixed DC input.
I have also attached the code for your reference.
Please help in resolving the issue.
Two issues have been identified so far in LPC546 controller :
1) PE Micro debugger causes fluctuations in ADC output in custom board:
I have used uart to verify the issue of PE Micro debugger.
Card 1:
| Input Voltage(V) | ADC Channel
| With PE Micro
| Without PE MIcro
|
| Min | Max | Min | Max |
| 1.65 V (DC) | ADC0_0 | 2014 | 2075 | 2047 | 2051 |
| ADC0_4 | 2020 | 2064 | 2045 | 2054 |
| ADC0_5 | 2032 | 2058 | 2046 | 2051 |
| ADC0_6 | 2016 | 2060 | 2048 | 2056 |
| ADC0_7 | 2021 | 2056 | 2046 | 2052 |
| ADC0_8 | 2018 | 2051 | 2041 | 2048 |
Card 2:
| Input Voltage(V) | ADC Channel
| With PE Micro
| Without PE MIcro
|
| Min | Max | Min | Max |
| 1.65 V (DC) | ADC0_0 | 2010 | 2066 | 2046 | 2052 |
| ADC0_4 | 2035 | 2061 | 2047 | 2054 |
| ADC0_5 | 2031 | 2062 | 2045 | 2051 |
| ADC0_6 | 2025 | 2059 | 2050 | 2056 |
| ADC0_7 | 2019 | 2056 | 2046 | 2052 |
| ADC0_8 | 2037 | 2049 | 2041 | 2048 |
2) Fluctuations in ADC output even on LPC546 board as explained earlier.
Kindly help in addressing these issues.
Thanks & best regards,
Prasanna