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.
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 02:14am 27 Mar 2016
Copy link to clipboard
Print this post
I've been reading the manual for the Micromite+ and it looks to me like although the SDD1963 display is supported and also the sd card that I cannot actually use the SD card on the back of the display?
Both the touch controller and the SD card use the same pins
T_DIN p5
T_CLK P4
T_DO P47
SD_DIN P5
SD_CLK P4
CD_DO P47
I assume clk is the clock pin so could be shared
din is data in? Pin 5 but it's labelled in the manual as SPI 2 OUT (MOSI)
do data out? or something else? Pin 47 but thats labelled as SPI 2 IN (MISO)
What exactly is CD_CS and I assume its the card something select
the touch controller is T_CS
Or is it simply they can both use the same pins but the cs pin (whatever it is) tells the micromite which device to read?
and the T_IRQ pin would be if the touchscreen is touched it interupts the micromite and tells it then sees the touchscreen?
sorry thinking and trying to work it out as I'm typing and trying to learn at the same time.
Sorry this is probably so simple for most of you but for me it's all new.
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9585
Posted: 02:52am 27 Mar 2016
Copy link to clipboard
Print this post
Yes, you can use the SD card slot on the display.
BOTH the touch controller AND the SD card are on the SPI bus, but because the SPI bus is a bus, you can have many things all in parallel on this same bus - hence the touch and SD card.
SPI devices use a CS line(Chip Select), which is pulled low by the controller, to signal that device that it is the one it wants to talk to. The other devices technically see this traffic on the bus, but totally ignore it, as their CS line is not pulled low.Smoke makes things work. When the smoke gets out, it stops!
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 03:08am 27 Mar 2016
Copy link to clipboard
Print this post
Ah brilliant, Thanks for explaining that, it makes perfect sense now