Now I have retested the first MCP3028 board, with A0~3 connected to 2.5V, and
A4~7 to 3V3 / 2. Again, the results look good.
testBlinkOlimexLed1();
testBlinkLpc1114LedP03();
testOlimex7segmentLed0101();
testMax7219v04(SPI_CHANNEL_0);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_0);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_1);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_2);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_3);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_4);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_5);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_6);
testMcp3208(SPI_CHANNEL_1, ADC_CHANNEL_7);
ADC Channel = 0
ADC result hex = fff
ADC result decimal = 4095
ADC result milliVolt = 2489
ADC Channel = 1
ADC result hex = fff
ADC result decimal = 4095
ADC result milliVolt = 2489
ADC Channel = 2
ADC result hex = fff
ADC result decimal = 4095
ADC result milliVolt = 2489
ADC Channel = 3
ADC result hex = fff
ADC result decimal = 4095
ADC result milliVolt = 2489
ADC Channel = 4
ADC result hex = a7f
ADC result decimal = 2687
ADC result milliVolt = 1633
ADC Channel = 5
ADC result hex = a7f
ADC result decimal = 2687
ADC result milliVolt = 1633
ADC Channel = 6
ADC result hex = a7f
ADC result decimal = 2687
ADC result milliVolt = 1633
ADC Channel = 7
ADC result hex = a7f
ADC result decimal = 2687
ADC result milliVolt = 1633
.END
No comments:
Post a Comment