Differences between MCP3208 and MCP3208 Fast objects
RobotWorkshop
Posts: 2,307
I've have used the MCP3208 object in my current project and was wondering how it compares to the MCP3208 Fast object in the OBEX. Are the two objects completely interchangeable? If you've used both which one works better and is the Fast version that much faster?
Comments
I think the main difference between the two is one uses Spin and the "Fast" version uses PASM.
I think I ran some speed tests once but I don't remember the details. I'm pretty sure the fast version is a lot faster but it does cost a cog to have the PASM driver running.
The Spin version doesn't use an extra cog.
Edit: I'm not positive about what I just wrote. I'll need to look at the original objects to make sure. I had been looking at objects I had modified.
Edit Again: I wont delete this post, but it would probably be a good idea to ignore what I wrote above. I have a much slower Spin only version. I think I wrote it myself (I think it's a modified version of a LTC1298 driver I found). I see now the original MCP2308 by Chip uses PASM also.
In my case the slower object was more forgiving, while Bob Fwed's was way too fast for my setup.
So if you want to go fast be careful with wiring and routing.
Massimo