- Tue Dec 19, 2006 1:16 pm
#23923
But I was waiting for a reply to ask a question pertaining to this. I have logic analyzer and I see the data go out the MOSI pin I set, I see the CLK as well. I'm not sure, according to the nRF24L01 data sheet how MISO works exactly - am I supposed to see a byte clocked back to the PIC simultaneously as I clock out data? or is it a separate command I have to send?
thanks
rschoele
Just to be sure are you sure you've correctly configured the PIC's IO port direction so that the SPI interface is working correctly? Can you read data you've written to the chip?I'm not sure - as far as i understand when using the 'setup_spi()' call in the 16f88 device header file the IO ports should configure automatically - I use #use standard_io, which means the compiler configures the IO based on the code. When using SPI the specific pins I define are the ones that according to the PIC data sheet are the TX,RX and SCK pins.
But I was waiting for a reply to ask a question pertaining to this. I have logic analyzer and I see the data go out the MOSI pin I set, I see the CLK as well. I'm not sure, according to the nRF24L01 data sheet how MISO works exactly - am I supposed to see a byte clocked back to the PIC simultaneously as I clock out data? or is it a separate command I have to send?
thanks
rschoele