2013-11-11
Testing SPI0, 0, 1, 2, 3 on EEPROM notes
testMcp25Lc256V0600(SPI_CHANNEL_0, SLAVE_SELECT_0); // SPI 0,0 EEPROM
testMcp25Lc256V0600(SPI_CHANNEL_0, SLAVE_SELECT_1); // SPI 0,1 EEPROM
testMcp25Lc256V0600(SPI_CHANNEL_0, SLAVE_SELECT_2); // SPI 0,2 EEPROM
testMcp25Lc256V0600(SPI_CHANNEL_0, SLAVE_SELECT_3); // SPI 0,3 EEPROM
*** MCP25LC256 Test - 2013nov11hkt1031 ***
slaveSelectPortPinArray Port = 00
slaveSelectPortPinArray Pin = 02
Now writing 0x55 ...
Now testing byte read ...
Readback databyte = 55
Now writing byte 0xaa ...
Now testing byte read ...
Readback databyte = aa
*** End of testMcp25Lc256 ***
*** MCP25LC256 Test - 2013nov11hkt1031 ***
slaveSelectPortPinArray Port = 00
slaveSelectPortPinArray Pin = 07
Now writing 0x55 ...
Now testing byte read ...
Readback databyte = 55
Now writing byte 0xaa ...
Now testing byte read ...
Readback databyte = 55
*** End of testMcp25Lc256 ***
*** MCP25LC256 Test - 2013nov11hkt1031 ***
slaveSelectPortPinArray Port = 00
slaveSelectPortPinArray Pin = 11
Now writing 0x55 ...
Now testing byte read ...
Readback databyte = ff
Now writing byte 0xaa ...
Now testing byte read ...
Readback databyte = ff
*** End of testMcp25Lc256 ***
*** MCP25LC256 Test - 2013nov11hkt1031 ***
slaveSelectPortPinArray Port = 02
slaveSelectPortPinArray Pin = 05
Now writing 0x55 ...
Now testing byte read ...
Readback databyte = ff
Now writing byte 0xaa ...
Now testing byte read ...
Readback databyte = ff
*** End of testMcp25Lc256 ***
.END
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment