2013-11-17

Magic Blue LPC1114 SPI testing notes



testMcp25Lc256V0702(SPI_CHANNEL_0, SLAVE_SELECT_0);
testMcp25Lc256V0702(SPI_CHANNEL_1, SLAVE_SELECT_0);
// testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_1);
// testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_4);
testMcp3208V0702(SPI_CHANNEL_0, SLAVE_SELECT_1);
testMcp3208V0702(SPI_CHANNEL_0, SLAVE_SELECT_4);


*** MCP25LC256 Test - 2013nov11hkt1031 ***

 Now writing 0x77 ...
 Readback databyte = 77 

 Now writing byte 0x44 ...
 Readback databyte = 44 

*** End of testMcp25Lc256 ***                                                                                      

*** MCP25LC256 Test - 2013nov11hkt1031 ***

 Now writing 0x77 ...
 Readback databyte = 77 

 Now writing byte 0x44 ...
 Readback databyte = 44 

*** End of testMcp25Lc256 ***                                                                                      

*** Test ADC - 2013nov10hk2112 ***
ADC result milliVolt = 1655
ADC result milliVolt = 1652
ADC result milliVolt = 1652
ADC result milliVolt = 1652
ADC result milliVolt = 2484
ADC result milliVolt = 2477
ADC result milliVolt = 2487
ADC result milliVolt = 2479


*** Test ADC - 2013nov10hk2112 ***
ADC result milliVolt = 2489
ADC result milliVolt =    0
ADC result milliVolt = 1629
ADC result milliVolt = 1629
ADC result milliVolt = 1626
ADC result milliVolt = 1626
ADC result milliVolt = 1629
ADC result milliVolt = 1626

.END

No comments:

Post a Comment