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 CCS Technical Support

TM1812 Protocol 1 wire

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



Joined: 07 Oct 2011
Posts: 8

View user's profile Send private message Send e-mail Visit poster's website

TM1812 Protocol 1 wire
PostPosted: Fri Oct 07, 2011 8:19 pm     Reply with quote

Hi

I need help for using TM1812 led driver from TITANMEC.

The protocol use 1 wire for data and the data protocol are
0 level 24US for reset, and after 96 bit ( 12 X 8 bit ) for led level.

The problem are the 0 and 1.

The 0 is |````|________| high for 320ns and low for 600ns

The 1 is |_______|`````| low for 600ns and high for 320ns

Is very fast

Can I use uart or spi to make this kind of data ?

Now I try with pic 18f4520 at 40MHz.

Thank for your help.

alain tanguay
horizontechno



Joined: 07 Oct 2011
Posts: 8

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Oct 07, 2011 8:22 pm     Reply with quote

Sorry for my drawing i have make mistake this is the good one.

The 0 is |````|________| high for 320ns and low for 600ns.

The 1 is |¨¨¨¨¨¨¨|_____| low for 320ns and high for 600ns.

Alain
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 07, 2011 10:10 pm     Reply with quote

If you want help on writing a driver for a chip, then post a direct link
to the PDF file for the data sheet.
horizontechno



Joined: 07 Oct 2011
Posts: 8

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Oct 10, 2011 6:48 pm     Reply with quote

The datasheet are only in Chinese, now is working, but i cannot change the PWM very fast ?

I looking to find which kind of protocol is this ? and if a can emulate with SPI UART or other ?

Thanks

Alain Tanguay
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 10, 2011 7:32 pm     Reply with quote

We don't have any link to a data sheet (in English).

So we can't help.
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