From top down the diagram shows the following signals:
- /Rx0BF
- /Rx1BF
- /INT
- SPI CLK
- SPI data to CAN
- SPI data from CAN
- /CS
- /Reset
- (the remainder can be ignored.)
A quick key to reading this is when the violet line is low (/CS asserted) we are commanding or reading data from the MCP 2515. The dark-red line is data from the propeller to the CAN device, while the dark-green line is data coming from the CAN device. At the top in bright red/yellow/green are the handshake lines coming from the CAN controller which when controlled by the MCP 2515 means something specific. In this test however I've set them up as general purpose I/O so I can toggle them and prove them to be working.
I'm seeing expected wiggles on all the right lines so for now (many software iterations to get to this point) we are having a great day!
No comments:
Post a Comment