i am doing can communication using at89s8252,mcp2515,pca82c250..actually i donot have any can tool to visualize the bits and i have a doubt that there are how many bits in active error frame and passive error frame. please suggest and explain .also please suggest how a node on can bus distinguish between active error frame and overload frame because they both have same configuration..thank you
error frame in can communication
The recommendation is to check you CAN wave form with some debug tools.
check the wave is right or not.You can send data bit by bit, check it bit by bit,then find out the error.