CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

ili9225 lcd library

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
IDK



Joined: 29 Jan 2019
Posts: 6
Location: Pakistan

View user's profile Send private message

ili9225 lcd library
PostPosted: Sat Sep 26, 2020 5:04 am     Reply with quote

Ii have ili9341 lcd library interfacing with 18f46k22. Now i want ili9225 library any help or any link thanks...
temtronic



Joined: 01 Jul 2010
Posts: 9097
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Sep 26, 2020 5:21 am     Reply with quote

Again, please post a link to the peripheral datasheet.
Also if you google 'device, ardunio' you may find a 'driver' for it. Though NOT CCS C, you can translate fairly easily.
IDK



Joined: 29 Jan 2019
Posts: 6
Location: Pakistan

View user's profile Send private message

PostPosted: Mon Sep 28, 2020 1:12 am     Reply with quote

https://aliexpress.ru/item/33035643288.html?spm=a2g0o.productlist.0.0.38014767O4uhpe&algo_pvid=31531e6b-3899-4a16-a471-64912e4993a8&algo_expid=31531e6b-3899-4a16-a471-64912e4993a8-0&btsid=0b8b034e16012770488904399e38a5&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
temtronic



Joined: 01 Jul 2010
Posts: 9097
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Sep 28, 2020 4:53 am     Reply with quote

hmm, that's not the datasheet,just the ad on where to buy it from.
The datasheet will have all the design specs like VDD,interface and most importantly the command set to use it.
I 'think' it'd be a 3 volt device( most peripherals today are), so at the very least use a 3volt PIC for the project.
As for interface, I'm 'thinking' it'd be either I2C or SPI, maybe both could be used ??
As for the command set, I 'think' it'd be similar to any previous similar unit made by the manufacturer.

Often you can use Google ( devicename driver ) and get 1,000s of hits. As the Ardunio is very popular, you'll get a lot of hits for it and translating Ardunio C into CCS C is not that difficult.

Sorry, but without the device on my bench, I can't write a driver as I have no way of testing it.
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Mon Sep 28, 2020 6:13 am     Reply with quote

It actually offers SPI or a parallel interface.
Honestly, if the poster has got code for the ili9341 he is further along
than anyone else. These are not really displays I would consider as
'suitable' for control using a PIC18. Problem is that do do anything
reasonably 'intelligent' with a display this large (176*256), will usually
require a significant amount of RAM storage in the chip. Honestly the
fastest and best way is to have a copy of the 'screen' held in the chip's
memory, and PIC's in general don't have the RAM to do this. Now you can
instead operate using read modify write cycle to the controller, but this
brings such a large speed penalty, that I'd avoid it if at all possible.
However the basic library for this, which should be fairly easy to
translate is here:
<https://www.ramtex.dk/gclcd/gclcd.htm>
The chip emulates the S6D0129 controller.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group