[En-Nut-Discussion] SPIBUS and PullUp and testing Miso line.
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Tue Aug 26 16:55:25 CEST 2014
Hello,
to see if the ADC is ready, for SPI Sigma Delta ADC from Linear Technology
like the LTC2484, one has to select the device, apply a pullup to SDI and
query the SDI pin without toggling SCK. Only if SDI is low, data is
available.
- Is it OK to add SPI_MODE_PULLUP properity in include/dev/spibus.h?
- Is it worth to add a method to query the Miso pin?
I would implement handling of those mode bits and function in STM32 and
GPIO. However I can also circumvent the driver and use GPIO Functions
directly...
Thanks
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list