Using CCS built-in functions for interfacing via SPI

Status
Not open for further replies.

pepillo

Advanced Member level 4
Joined
Jan 23, 2006
Messages
114
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,296
Location
Spain
Activity points
2,382
Hi, I am interfacing a PIC18F4550 to an ADC (AD7708) via SPI. I have currently implemented the protocol in software, but I would like to use the pic's SPI hardware (SSP port).
I am using CCS compiler. Can anyone post some example code for using CCS built-in functions for SPI? spi_read(), spi_write()...
Thanks...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…