- Wed Jul 05, 2006 12:13 pm
#15362
Using PIC 18F2455 right now with LMC6482A and an MOSFET to supply 3V. I "ported" the sparkfun PIC code to C18 and am using the C18 SPI functions from spi.h.
It seems that the RX side only actually receives data from the transmitter if it is sent three (or more) times (sending a 4-byte payload like the SF example). The RX_IRQ goes low on the first transmit, but nothing gets read out of the RX FIFO (but all zeros) unless I wait for the third transmission.
Code can get pasted here if ya'll want it.
It seems that the RX side only actually receives data from the transmitter if it is sent three (or more) times (sending a 4-byte payload like the SF example). The RX_IRQ goes low on the first transmit, but nothing gets read out of the RX FIFO (but all zeros) unless I wait for the third transmission.
Code can get pasted here if ya'll want it.