Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xspi does not support TWI #107

Open
raczben opened this issue Jan 13, 2020 · 1 comment
Open

xspi does not support TWI #107

raczben opened this issue Jan 13, 2020 · 1 comment

Comments

@raczben
Copy link

raczben commented Jan 13, 2020

This feature request is based on this thread. The high-level SPI drivers doesn't supports TWI (aka. half-duplex SPI) mode (where the MOSI and the MISO is common.)

The write on TWI is the same as on SPI. (because the MISO is unused).
The only difference comes up during read operation, when the SDIO (the common data buffer) should be tri-stated.

The QSPI core doesn't support TWI, therefore, external FPGA logic controls the tri-state pi always. Because of the external logic I suggest function pointer(s) in solution, to handle the tri-state control in all cases.

@ilanbiala
Copy link

+1, It would be great if 3-wire SPI could be supported!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants