This message now comes on the wrong forum and under a wrong subject, sorry, but it is so closely related to the previous messages in this thread, that I want to continue here.
I've stumbled into something I can't explain, and would want to ventilate it with you guys out there: the S12D-system I mention in the original post do not work as expected. Example: I have a test system with two nodes, one of them starts on a fixed baudrate and tries to transmit frames and the other one is in listen-only mode and tries to detect the bitrate by scanning possibilities (250ms per baudrate, when a frame received the correct bitrate is found). Because no node is Acking the first node's frames, the second node should never receive a legal frame, and the system should never start. But it does, the second time the scanning node comes to the correct baudrate, it exits the listen only mode and the system starts.
The scanning node is based on a MC9S12D32VFUE, maskset 0M89C. The scannig routine works so that it first initialises the MSCAN to the first baudrate and listen-only and then takes it out of Init-Mode. 250ms later it puts MSCAN into Init-Mode again, change to the next baudrate and exits Init-Mode. Continues like that until a receive-interrupt is got, at which point the baudrate is locked and listen-only set to zero.
Does anybody have some idea why the system starts, why the node that is in listen-only mode suddenly can put out an Ack-bit, or why it suddenly can receive a legal frame althoug no other node exists on the bus giving the Ack-bit. I have looked at the bus with an oscilloscope and the transmitting node is sending frames back-to-back for about 500..800ms at which point the system starts and the bus looks normal.
thanks for any ideas
Sten