Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 28, 2024, 06:35:15 06:35


Login with username, password and session length


Pages: [1]
Print
Author Topic: Hi-tech 18 SPI routine  (Read 4469 times)
0 Members and 1 Guest are viewing this topic.
piedos
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 0
-Receive: 0


« on: December 08, 2006, 05:19:08 17:19 »

I couldn't find SPI routine for picc18.

is it a buit in funtion, if not where can find it,


not: not present in microchipc.com

thanks in advance
Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #1 on: December 09, 2006, 05:55:52 05:55 »

That's funny, I can't find it either. You have two options: Build your own or switch to Microchip MCC18
Then proceed as follows:
Start by building the run-time libraries with Makeall.bat in the src folder
Then look here:
root:\MCC18\src\extended\pmc\SPI  or:

root:\MCC18\src\traditional\pmc\SPI

If You're not content with that, try CCS compiler which can be found elsewhere on this forum
If You're porting to HI-TECH, let me know.

Happy programming....
« Last Edit: December 09, 2006, 06:59:46 06:59 by robban » Logged

Code Warrior
piedos
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 0
-Receive: 0


« Reply #2 on: December 14, 2006, 10:10:59 22:10 »

After I've written my SW SPI code I read your post Smiley

They are exactly same Smiley
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC