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

SPI/HArdware Question

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



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

SPI/HArdware Question
PostPosted: Tue Oct 04, 2005 3:40 pm     Reply with quote

I'm working with a 18LF4620 and I think I may have made a big mistake when I was laying out my board.

I'm going to eventually drive a Toshiba LED driver with the SPI port on the PIC.

http://www.marktechopto.com/PDFs/toshiba/TB62726AN-AF.pdf

My board has the SCLs connected between the PIC and the LED driver and the SDA on the PIC connected to the serial data in on the LED driver. I found this goof when I was trying to use RC5/SDO as an output for another peripheral.

Here is the question.... Can I recover by "bit-banging" the SPI on the pins I've got? Or, should I cut traces and jumper for now on the prototype?

Thanks,

John
Guest








PostPosted: Tue Oct 04, 2005 5:11 pm     Reply with quote

If the board is a prototype for subsequent further development then I would mod the PCB. However you can always bit bang the SPI.
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Tue Oct 04, 2005 8:54 pm     Reply with quote

OK, I've got the board cut and scraped and jumpered....

Everything's where it should be now...
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