CAN-BUS Shield testing with only 1 shield
so after getting solder elecfreaks can bus shield connected , uploaded same receive check sketch, opened serial monitor , got instant:
can bus shield init ok!
but realized have 1 shield, there anyway test setup without shield? sample receive_check sketch can go out car , connect device , watch serial monitor data?
i doubt simple, haven't found source setting , testing 1 shield alone.
i have other dev boards have can bus, cypress psoc boards , not sure how easy or hard connect this..
can bus shield init ok!
but realized have 1 shield, there anyway test setup without shield? sample receive_check sketch can go out car , connect device , watch serial monitor data?
i doubt simple, haven't found source setting , testing 1 shield alone.
i have other dev boards have can bus, cypress psoc boards , not sure how easy or hard connect this..
a can bus not work single node every message sent needs acknowledge @ least node in bus.
some controllers offer "loopback" mode, popular mcp2515, 1 you're using... have on datasheet how enable , use (http://ww1.microchip.com/downloads/en/devicedoc/21801e.pdf page 58).
another option plug scope can lines , see if message being transmitted , decode see if expect.
some controllers offer "loopback" mode, popular mcp2515, 1 you're using... have on datasheet how enable , use (http://ww1.microchip.com/downloads/en/devicedoc/21801e.pdf page 58).
another option plug scope can lines , see if message being transmitted , decode see if expect.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > CAN-BUS Shield testing with only 1 shield
arduino
Comments
Post a Comment