Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 16:45 19 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Quick CS question...

Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 12:10am 22 Feb 2016
Copy link to clipboard 
Print this post

With SPI devices, is it correct to assume that all CS lines are the same in that they are normally tied HIGH, and pulled LOW when selected by the MCU - correct?

In my case, I have a few spare 2.4" LCD's with touch. I want to permanently select the LCD, and permanently disable the touch.

With that in mind, my brain is suggesting that to do this, I would connect the LCD CS to ground permanently, and the touch CS high permanently. This would enable the LCD, and permanently disable the touch controller - yes?

Just need to make sure I am understanding this correctly, as the MM normally handles the CS pins for me.
Smoke makes things work. When the smoke gets out, it stops!
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 815
Posted: 12:17am 22 Feb 2016
Copy link to clipboard 
Print this post

Hi Grogster,

that should be ok! CS is normally low active and you are right!

Frank
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024