- Posts: 4402
SPI Flash/Touch
- PhracturedBlue
- Topic Author
- Offline
I noticed you configured the SPI Flash for Mode 3 (CPOL=1, SCLK is '1' on idle) whereas the SPI Touch module seems to need Mode 0 (CPOL=0, SCLK is '0' on idle). Is this based on observation or just what you had and it worked? The SST chip supports either mode, but when I set CPOL=0, the flash stopped responding (and the touch screen DIDN'T start responding any better) so I guess it isn't quite that simple. The code I have now toggles PenIRQ on touch/release, which is good, but I'm not getting any data back from the TSC2008 on the serial bus so far.
I don't think my logic analyzer is fast enough to capture the SPI traffic from the stock firmware, and I'm not really sure what I am doing wrong.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- rcH4x0r
- Offline
- Posts: 33
Are you getting XY coords now?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Edit: I didn't write the mapping routines to convert the raw data to pixel coordinates yet, but that is pretty easy. What I am not sure of is whether we need a calibration setting or if all the Devo-8 Tx's can get by with the same calibration values.
Please Log in or Create an account to join the conversation.
- rcH4x0r
- Offline
- Posts: 33
100% not all touchscreens are the same
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
PhracturedBlue wrote: ....
Edit: I didn't write the mapping routines to convert the raw data to pixel coordinates yet, but that is pretty easy. What I am not sure of is whether we need a calibration setting or if all the Devo-8 Tx's can get by with the same calibration values.
If the LCD and touch-screen assembly has large tolerances, than it can be useful to calibrate each unit to hanlde those tiny buttons accurately...
P.S: You haven't send me the settings mapping program to play with!
I will be out from next tuesday to thursday...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
umm..which setting mapping program are we discussing? I don't recall that discussion.FDR wrote:
or we don't use such small boxed in our GUI...PhracturedBlue wrote: ....
If the LCD and touch-screen assembly has large tolerances, than it can be useful to calibrate each unit to hanlde those tiny buttons accurately...P.S: You haven't send me the settings mapping program to play with!
I will be out from next tuesday to thursday...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Sorry my bad, rcH4x0r asked me to map the system settings with HIS tool...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- SPI Flash/Touch