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.
Hi AMSA84,
There is no better place to learn than the Micro controller data sheet itself.
For pic, read through the PIC programmers Model PDF for your specific controller.
For starters, Toggle LED and Serial Port are the best codes to get a hang of things.
Best of luck and happy coding
This was written using mikroeC compiler for which port can be accessed like PORTC.F0
However if you are going to use mPLAB you will have to write PORTCbits.RC0
Given data is insufficient.
I think you should check if the spi read write functions are working or not.
Also at time of spi read ... the pins should be kept high so that the module could drive the SPI line.
In a hobbyist point of view i would suggest you to check each functional block step by step. as below
1. write a register inside cc1100 with a value
2. read the same register and if same then toggle a led..like that.
if sucessfull then you can load all registers as specified in the datasheet...
Summitek http://www.summitek.com.tw have got a CC1100 based RF Transceiver with range upto 1KM. model: ST-TR1100+PA
Working with this was fun!.....no was able to open their cars with remote!
CC1100 is ok for most small scale applications.
However it would be some what difficult to understand. Unless you have their development board to try out.
I did the same on a Summitek http://www.summitek.com.tw/ make RF module "ST-TR1100+PA"
After tinkering for a while.....succeeded.
Well i ve seen users requesting code for cc1100 based RF transceivers.
This code is actually written in MicroC compiler for PIC 16F/18F series.
And the module was "ST-TR1100+PA" from a Taiwan company called "Summitek"
web: http://www.summitek.com.tw
SPI protocol is implemented in software so...
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.