![]() |
Forum Index : Microcontroller and PC projects : PicoMite ssd1306spi .. DC same as MISO ? ( Duh .. way befuddled )
Author | Message | ||||
hitsware2![]() Guru ![]() Joined: 03/08/2019 Location: United StatesPosts: 719 |
OPTION SYSTEM SPI CLKpin, MOSIpin, MISOpin Specify the SPI port and pins for use by system devices (SD card,LCD panel, etc). SPI Based Display Panels In all commands the (pin) parameters are: DC = Display Data/Command control pin. RESET = Display Reset pin (when pulled low). CS = Display Chip Select pin. Pins on my display : D0, D1, RES, DC, CS my site |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Not sure what you are asking but D0 is DO = DataOut D1 is DI = DataIn The question remains, does Data Out connect to MOSI (Master OUT,Slave IN) or MISO? Anyone's guess. Jim VK7JH MMedit |
||||
hitsware2![]() Guru ![]() Joined: 03/08/2019 Location: United StatesPosts: 719 |
What ( I think ? ) I ' m asking : The 2 ' option ' statements for a spi display assign 6 pins ... CLK , MISO , MOSI , DC , RESET , CS BUT .... The display has 5 pins .... DO , D1 , RESET , DC , CS So 1 of the 5 pins must have 2 designations .... Right ? my site |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
I think DO = Data Out = MISO and DI= Data In = MOSI, it is that way on other panels. SPI requires a clock (CLK or SCK) so that might be DC (Data Clock?), still leaving it a pin short. The puzzle is that it is usually Chip Select (CS) that is optional not Data Command (D/C). I guess you will have to search the web for a data sheet for your exact panel. To work it out by non-destructive trial and error put 390R in series with each of the 5 display pins and try all combinations. Found this showing that it is MISO that is missing and DO is the clock. ![]() Edited 2021-12-29 16:17 by phil99 |
||||
hitsware2![]() Guru ![]() Joined: 03/08/2019 Location: United StatesPosts: 719 |
Yea .. I found that also ... Hence perhaps DC=A0=MISO ? and The real question becomes ... Is 1 pin# repeated in both option system spi(CLK,MOSI,MISO) and option lcdpanel (DC,RESET,CS)....?(MISO,RESET,CS)? my site |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
If the ssd1306sp can't be read from (e.g., with BLIT READ), then it doesn't need/use MISO. How the 'Mite configures the MISO signal should be irrelevant--it wouldn't be connected to the ssd1306sp. The absence of a MISO pin would seem to indicate that it's an input-only device. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
hitsware2![]() Guru ![]() Joined: 03/08/2019 Location: United StatesPosts: 719 |
' so option system spi clk,mosi, ' ? error without miso value my site |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
You still need to specify the MISO pin, it just won't be connected to the SSD1306. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |