On Sat, 16 May 2009, Gerhard Fiedler wrote: > sergio masci wrote: > > > Baby steps! > > > [...] > > >> [...] and think that using the peripheral is somehow complicated, > >> they've got a rude surprise coming when they start trying to > >> implement all that functionality in firmware. > > > > Yes but when you've got a black box running really fast (your CAN > > peripheral) doing all the magic without (or minimal) intervension it > > gets really hard to debug stuff unless you are really experienced and > > even then you sometimes need to use expensive kit like logic > > analysers and storage scopes. Doing it the hard way using firmware > > lets you slow things down even simulate them if you need to and best > > of all it gives you an appriciation of what the "black box" is doing > > when it comes time to migrate up to it. > > There's no need to run CAN fast. I agree that setting up a CAN module is > quite a bit more challenging than setting up a UART, but once you are at > implementing a multi-master configuration, you're way past baby steps. I disagree. Getting point to point working is trivial compared with a multi master network. Once you get PtP working yes you have some experience which will help you with the network but getting the network working also requires baby steps. > I > don't think Olin advocated for a complete beginner to implement his > first single peer-to-peer connection with CAN. My mistake, this is exactly what I thought Olin was advocating. Regards Sergio Masci -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist