MCP3202 SPI question

09 Feb 2012

hi everybody ... i've been trying for a while to interface a gyroscope with mbed using an external ADC MCP3202 but i have a problem ... i don't konw how to use the write() function of the SPI module to read successive 12 bits ... the ADC's datasheet didn't mention anything about registers to save values in, so i don't know what adress should i read from or write into using write() !! i've tried to change the format to format(12,0), but still the values i have are not reasonable ... any help??