has anyone used chipcon transceivers?


Closed Thread
Results 1 to 2 of 2
  1. #1
    grahamwebb2000's Avatar
    grahamwebb2000 Guest

    Default has anyone used chipcon transceivers?

    I'm trying to get a CC1100 (on the development board) to talk to a PIC16F876 (on a breadboard), via the SPI bus. Nothing's happening.

    I've used SmartRF to download the firmware that 'disengages' the development boards 8051, I've connected the chips SO, SI, SCLK and CS pins and I'm running the power-up routine suggested in the CC1100 manual (p31).

    I also have a serial link to hyperterminal to see what's going on. Using the CCS C compiler, the power-up code looks like this:


    printf("Talking to CC1100 .. \n\r");
    DISABLE_INTERRUPTS(INT_EXT);

    output_high(SPI_CLK);
    output_low(SPI_DI);

    output_low(SPI_CS);
    delay_us(10);
    output_high(SPI_CS);
    delay_us(45);
    output_low(SPI_CS);

    while (input(SPI_DO) == 1){
    printf("waiting for CC1100 1\n\n\r");
    delay_cycles(1); }

    DATA = 48; //SRES reset chip strobe
    printf("writing SRES strobe \n\n\r"); // <------------ STOPS HERE
    spi_write(DATA);
    printf("written SRES strobe \n\n\r");

    while (input(SPI_DO) == 1){
    printf("waiting for CC1100 2\n\n\r");
    delay_cycles(1);}

    printf("chip ready\n\n\r");

  2. #2
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    I use the 1100s all the time for comms work. I used the dev kit to get the proper code and programmed it in with a microchip processor and Pic Basic Pro. I cut out the development uP entirely so I can't help you there.Since this is a PBP website, I don't think you will get much help for a 'C' compiler. You might even get a little flamed, but not too badly. Why don't you go directly to the chip? You can PM me if you need further info
    Ron

Similar Threads

  1. Chipcon CC2420
    By gavo in forum Off Topic
    Replies: 1
    Last Post: - 19th September 2006, 05:45
  2. Transceivers with 2 different PICs.
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 7th June 2006, 09:31

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts