General area when it fits no where else

Moderator: Mmiscool

User avatar
By Ecoli-557
#53666 I did also remove the MISO wire from the TFT display as another post suggested that it is not used anyway....
There was another post under Arduino stating that his TFT display did not work well using the ILI9341 lib but worked fine using the Adafruit ILI9340 lib.
Again, I don't know wht the difference is, just telegraphing.
User avatar
By picstart
#53667 The CS lines are open drain on the devices and pullups are often used to keep the lines high.. I see you have the TFT CS independent of the 23S17 multiplexed CS lines. Only one CS can be low at one time. Now if upon a print to the TFT any other device has its CS low it will interfere with the transfer.
User avatar
By Ecoli-557
#53669 Thanks! Yes, all of the CS are pulled high and I have direct control over the 23S17 CS line, I have no idea what the TFT library is doing however. In looking at my analyzer, there seems to be some interaction between the TFT select and the 23S17 select - not on my part however.
Still investigating......
User avatar
By picstart
#53672 The 23S17 if I have it right are latched so bringing the 23s17 high will not clear its output, you'll have to for all the output pins with to devices attached to the bus switch them to input and have the pulls take their CS lines high so only one device has its CS low at a time.
It could be that since every TFT print is going to have to be wrapped in code that disables the 23S17 from holding any CS low and then enabled after the TFT print it then it could be just as efficient to mess with the library...sure these libraries are written by coders that will if given a chance try to obscure the fact that the world of electronics is really about hardware moving electrons from place to place.