mitsaklis
Newbie level 4
Hi.
I am working on a project which has a pic18f452 and a pic18f252 connected through SPI. The pic18f252 is connected to a transceiver (cc1020). Dont ask me why the pic18f252 is used, but the point is that is used in order to configure the cc1020. I want to transmit data (whatever) at different frequencies and powers. This is done by configuring correctly the cc1020. All these should be done by the two microcontrollers.
Considering that I know how to configure the cc1020 (through its registers). I would like someone to help me write the software in C, or just give some code examples on how to:
-configure the whole thing
-pass the register values to the cc1020
-start and and stop the transmission
-create a loop (or something) in order to automatically transmit at different frequencies and powers
(example:
f=433MHz, Output power=10dBm
transmit and when done with this
transmit at f=433MHz, Output power=0dBm
and go on......)
At the receiver part, I want to receive the data and and somehow store the power level received
I use C and MPLAB
I would appreciate very much any kind of help.
Thanks
I am working on a project which has a pic18f452 and a pic18f252 connected through SPI. The pic18f252 is connected to a transceiver (cc1020). Dont ask me why the pic18f252 is used, but the point is that is used in order to configure the cc1020. I want to transmit data (whatever) at different frequencies and powers. This is done by configuring correctly the cc1020. All these should be done by the two microcontrollers.
Considering that I know how to configure the cc1020 (through its registers). I would like someone to help me write the software in C, or just give some code examples on how to:
-configure the whole thing
-pass the register values to the cc1020
-start and and stop the transmission
-create a loop (or something) in order to automatically transmit at different frequencies and powers
(example:
f=433MHz, Output power=10dBm
transmit and when done with this
transmit at f=433MHz, Output power=0dBm
and go on......)
At the receiver part, I want to receive the data and and somehow store the power level received
I use C and MPLAB
I would appreciate very much any kind of help.
Thanks