Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Development => Topic started by: josheeg on August 18, 2010, 01:57:58 pm

Title: Would a SPI mode where the AUX pin starts a spi read or write of 24 *8 bits?
Post by: josheeg on August 18, 2010, 01:57:58 pm
Would a SPI mode where the AUX pin starts a spi read or write of 24 *8 bits? help others as well?
I am thinking of getting a buspirate to hammer out the ads1298 spi read and write protocol but it has a data ready pin and the aux could be used for that.
I imagine other ADC chips might be like this also.
Title: Re: Would a SPI mode where the AUX pin starts a spi read or write of 24 *8 bits?
Post by: Sjaak on August 18, 2010, 04:41:01 pm
I would suggest (as Ian said in your other topic) to write a small basic program that does this. As I assume there are too much flavors of adc and as many protocols to read it. It is too hard to get it universal and a script is fairly easy to suit to fit.

The scripting language is described here: http://dangerousprototypes.com/docs/Bus ... _reference (http://dangerousprototypes.com/docs/Bus_Pirate_BASIC_script_reference)

You can publish the program, so others could benefit from it. 
Title: Re: Would a SPI mode where the AUX pin starts a spi read or write of 24 *8 bits?
Post by: ian on August 18, 2010, 07:50:06 pm
A 'delay to change' command for the AUX pin might be handy none-the-less... Maybe for the next firmware version :)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00972041488session_write_close ( )...(null):0
20.01002173064ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01002173840Database_MySQL->query( ).../DatabaseHandler.php:119
40.05632312560Database_MySQL->error( ).../Db-mysql.class.php:273