Jump to content
ELFORUM - Forumul Electronistilor
Sign in to follow this  
lama

HY1.8SPI pinout help

Recommended Posts

Salut.Am cumparat de pe Ebay modelul din titlu de TFT. As vresa sa il incerc cu un PIC16f886 care teoretic are MSSP hardware dar nu ma prind ce la cine leg.Ma puteti ajuta?

post-40771-139829611083_thumb.jpg

Share this post


Link to post
Share on other sites

Din poza reiese ca stie si spi si i2c.SPI - semnificatia pinilor de comunicatie (cei 4 cu "acolada" SD) e:- SCK - clock- MISO - master input / slave output. Se leaga la SDI (serial data input) al PIC-ului- MOSI - master output / slave input. Se leaga la SDo (serial datra output) al PIC-ului.- CS - chip select, de obicei activ low. Cred ca PIC-ul n-are pin dedicat, ori illegi permanent la masa (daca ai un singur slave), ori folosesti un pin de la PIC, definit ca iesire si pus la masa cand incepi sa vorbesti cu modului.In poza mai sunt si cei doi pini SDA & SCL care sugereaza comunicatie i2c. Se leaga la pinii cu acelasi nume ai PIC-ului.Spor!

Share this post


Link to post
Share on other sites

Din pacate cica merge doar SPI. Partea de SD nu ma intereseaza pe moment, as vrea sa vad ca porneste TFT-ul mai intii.Pe ARduino ei lega niste pini care se cheama la fel , eu incerc sa vad la partea de TFT cu cine ma leg la PIC.

Share this post


Link to post
Share on other sites

Din ce am inteles dintr-un topic pe arduino.cc, pentru tft se folosesc pinii de care eu credeam ca-s i2c:

- AO - habar n-am la ce e bun, pare selectie date/comenzi

- SDA - probabil date

- SCK - ceas

- CS chip select.

- LED+/LED- backlight, 3.3 V, rezistenta serie de 10 ohmi deja pe placa.

Poate din linkurile/codul din topicul de care am zis mai sus te prinzi cum merge.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.