I hope this will be helpful, it is a thread at LeafLabs about getting CAN to work with STM chips.
http://forums.leaflabs.com/topic.php?id=802