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?
SDI on EB013 SPI board
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel