Tell me first, what programming language you are using to program your PIC? If you use PICBasic then it is real easy
with your data out pin connected GPIO 1 and data in connected to GPIO 2 use the following code
Code:
SerIn GPIO.1,N1200,["A",#(Data Variables separated by a comma)]
SerOut GPIO.2,N1200,["A",#(Data Variables separated by a comma)]
I am using Hi-Tech C compiler for programming, I am stuck with a new problem.
I am able to read & write SFR of CC2500 Module, now I have set my packet length to 3 and when i write 3 bytes into TXFIFO and then tries to read TXBYTES register it shows 128 and neither I receive those many bytes on receiver side there RXBYTES is zero always.
I am using Hi-Tech C compiler for programming, I am stuck with a new problem.
I am able to read & write SFR of CC2500 Module, now I have set my packet length to 3 and when i write 3 bytes into TXFIFO and then tries to read TXBYTES register it shows 128 and neither I receive those many bytes on receiver side there RXBYTES is zero always.
Are you using the correct variable type? Sorry I can't help you with C I only use it if I have C source code of someone else to compile but I don't write in C, ASM and Basic is for me the best.