SDI on EB013 SPI board

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Electron
Posts: 18
Joined: Wed Apr 20, 2011 10:05 am
Has thanked: 4 times

SDI on EB013 SPI board

Post 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?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: SDI on EB013 SPI board

Post 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.

Post Reply