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

display not working when touch connected #8

Open
jzkmath opened this issue Mar 2, 2020 · 0 comments
Open

display not working when touch connected #8

jzkmath opened this issue Mar 2, 2020 · 0 comments

Comments

@jzkmath
Copy link

jzkmath commented Mar 2, 2020

I am currently building a uBitx clone and found that when I hooked up the display it would only go white. it would only function properly if i disconnected one of the SPI lines from the touch controls.
Turns out the reason is that in nano_gui.cpp, you don't disable the touch SPI during boot up, which leaves the CS line low.
I was able to fix this issue by moving the xpt2046_Init() to the top of displayInit(void){}

It is a good idea to make sure all CS pins are pulled high before sending any SPI communications so as to ensure that you are only communicating with one SPI device at a time.

shtrom pushed a commit to shtrom/ubitxv6 that referenced this issue Aug 9, 2020
CW RX->TX responsiveness issues
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

1 participant