Skip to main content
added 9 characters in body
Source Link
neonzeon
  • 1.9k
  • 14
  • 14

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absolutely no differences in the code for the mux and switch setup, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing. Under normal operation, a small difference in sequencing may not matter, but with AVCC unconnected the timing differences could lead to different behavior.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the existing ATMega with a new one.

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absolutely no differences in the code for the mux and switch setup, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing. Under normal operation, a small difference in sequencing may not matter, but with AVCC unconnected the timing differences could lead to different behavior.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the ATMega with a new one.

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absolutely no differences in the code for the mux and switch setup, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing. Under normal operation, a small difference in sequencing may not matter, but with AVCC unconnected the timing differences could lead to different behavior.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the existing ATMega with a new one.

edited body
Source Link
neonzeon
  • 1.9k
  • 14
  • 14

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absoltuelyabsolutely no differences in the code for the mux and switch set upsetup, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing. Under normal operation, a small difference in sequencing may not matter, but with AVCC unconnected the timing differences could lead to different behavior.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the ATMega with a new one.

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absoltuely no differences in the code for the mux and switch set up, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the ATMega with a new one.

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absolutely no differences in the code for the mux and switch setup, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing. Under normal operation, a small difference in sequencing may not matter, but with AVCC unconnected the timing differences could lead to different behavior.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the ATMega with a new one.

added 133 characters in body
Source Link
neonzeon
  • 1.9k
  • 14
  • 14

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there wereare absoltuely no differences in the code for the mux and switch set up, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing.

AnotherA third possibility (my guess) is that your specific ATMega was damaged by whatever damaged thecaused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the ATMega with a new one.

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there were no differences in the mux and switch set up, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing.

Another possibility (my guess) is that your specific ATMega was damaged by whatever damaged the inductor (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right equipment, simply replacing the ATMega with a new one.

I would focus on the A/D reference circuitry in the block diagram:

enter image description here

There are three sources of reference: AVCC, INTERNAL 1.1V REFERENCE and AREF, with two switching options in the ADMUX register - a multiplexer and a switch to AREF.

So I would first look closely at your code to see if the multiplexer and switch were set up absolutely identically (configuration-wise AND timing-wise) for ADC2 and ADC3.

If you find that there are absoltuely no differences in the code for the mux and switch set up, one could easily speculate that the IC design does not ensure identical behavior (especially timing-wise) for all A/D inputs. The design software typically optimizes for size, speed, crosstalk and other parameters, but not necessarily perfectly identical sequencing.

A third possibility is that your specific ATMega was damaged by whatever caused the inductor damage (e.g. maybe the board was bent, dropped or badly soldered). This could be verified by getting a second board, temporarily removing the 10uH inductor and checking for similar behavior, or, if you have the right soldering equipment, simply replacing the ATMega with a new one.

added 133 characters in body
Source Link
neonzeon
  • 1.9k
  • 14
  • 14
Loading
Source Link
neonzeon
  • 1.9k
  • 14
  • 14
Loading