eagle4ces
02-25-2010, 06:32 PM
am using mcp3201 adc with spi communication, can i program it using the basic stamp 2
Mike Green
02-25-2010, 10:51 PM
Yes
You'd use the HIGH and LOW statements for the /CS signal and the SHIFTIN statement to handle CLK and DATA.
Look at the sample code for the MCP3202 and the LTC1298. The MCP3201 is similar to the MCP3202 and the LTC1298 except that it doesn't require any configuration data.
www.parallax.com/Store/Components/IntegratedCircuits/InterfacingChips/tabid/613/CategoryID/78/List/0/SortField/0/Level/a/ProductID/575/Default.aspx (http://www.parallax.com/Store/Components/IntegratedCircuits/InterfacingChips/tabid/613/CategoryID/78/List/0/SortField/0/Level/a/ProductID/575/Default.aspx)
www.parallax.com/Store/Components/IntegratedCircuits/InterfacingChips/tabid/613/CategoryID/78/List/0/SortField/0/Level/a/ProductID/232/Default.aspx (http://www.parallax.com/Store/Components/IntegratedCircuits/InterfacingChips/tabid/613/CategoryID/78/List/0/SortField/0/Level/a/ProductID/232/Default.aspx)