Page 1 of 1

SDI on EB013 SPI board

Posted: Mon Sep 05, 2011 12:57 pm
by Electron
Using the DAC on the EB013 along with a ECIO28P.

The DAC only uses SCK, SD0 and DAC EN, but not SDI. Can I use the SDI(RB0) as an independent i/o line, or does it get tied up with the SPI Legacy routines?

Re: SDI on EB013 SPI board

Posted: Mon Sep 05, 2011 2:57 pm
by Benj
Hello,

I'm afraid I think it gets tied up with the SPI peripheral which takes overriding control of the pin.

If you needed the extra I/O pin then creating a Flowcode macro that will bit bang the SPI signal to the DAC should be fairly straight forward.