Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
spi get char send dummy sspbuf
Thanks for the info!:D So, am I doing it right in the following code?
#include <pic1687x.h>
#include "delay.c"
char dummy_read_byte;
void spi_send(char);
void main () {
PORTA = 0x00;
PORTB = 0x00;
PORTC = 0x00;
PORTD = 0x00;
PORTE = 0x00;
TRISC =...
spi programming
Oh..thanks a lot for your reply and the link..So, basically, I need to do a dummy read to clear the SSPBUFF before I can do the next transmit? Also, regarding the need to check the buffer status before trnsmitting the next byte, I am confused about which bit i need to check. Is...
spi protocol basics+pic16f877
Hi to all!
I am a student undergoing a project which involves the interfacing
of the PIC16F877 to a Phase locked loop device(ADF4360-8) using the SPI.
Basically, I need to send out, via SDO, 3 batches of 24 bits to
the device to initialise it. I am worried that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.