Help with CC1100 RF Modules.


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Shiftin / Shiftout giving problem

    Ron,

    I am having problems with some of the routines using Shiftin / Shiftout.

    You mentioned in your earlier thread to use a couple of (5) nop using asm. can you please give an example.

    I am having some problem issuing a strobe signal using Shiftin/out and reading the status register. presumeably it should be the timing problem.

    Otherwise the register read/write work perfectly. Even the Multi Read/Write works great.

    Just one querry. What should be the addr value when you enter the read_stat routine.

    thank you.

  2. #2
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Finally Got them to Work, But there's a problem

    Ron,

    I finally got the modules to transmit and receive some data in the RX_BUFFER at the other end , but there is a problem.

    If I transmit 3 Bytes , I get 6 Bytes in the Rx_Buffer which do not tally, but are consistent and not random.

    Can you help. A PM helps you understand it much better.

    regards

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


    Did you find this post helpful? Yes | No

    Default

    The receiver adds a CRC and RSSI info to the packet. Read the bytes out and see if your data is in the packet.

  4. #4
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default How To !

    How do i remove the CRC and RSSI data out from the packet. Any idea.

    Thank you for the help.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by charudatt
    How do i remove the CRC and RSSI data out from the packet. Any idea.

    Thank you for the help.
    There is a register in MDMCFG or PKTCTRL that will remove the offending appended bytes. Did you get the proper bytes in that packet along with the other stuff? If you can use the packet type of transmission the CC1100 provides for, it will be far more powerful than sending the bytes without any error checking.
    Ron

  6. #6
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Finally Got them to work

    Hello Ron,

    I am very happy to inform you that I finally got the modules (One to tx and the other to Rx) to work.

    There were some problem with the MCSM1 and MCSM0 register which I corrected. removed Manchester coding and incorporated a VCO calibration check, which you had disabled. After doing all these changes , i started getting random results at the receiver end, then I added a few delay in between the Buffer fill and just got the modules to work exactly as I wanted.

    Oh god massive modules and adventure guaranteed.

    There are still a few glitches (even after getting it to copy the write bytes) , which i plan to solve them myself.

    I have yet to get the SO pin going high after a good packet is received. don't know why that is not happening. As a result I have to keep polling the RX_Buffer every time to see if i have Rx any data in it.

    This is the start of my adventure and I sincerely thank you and Joe Desimone for taking time out and trying to solve my problem.

    Now I shall play arround with the registers (value) and see the changes in the modules.

    regards/

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


    Did you find this post helpful? Yes | No

    Default

    ""I have yet to get the SO pin going high after a good packet is received. don't know why that is not happening. As a result I have to keep polling the RX_Buffer every time to see if i have Rx any data in it.""

    Supposedly, when the CS goes high (deselect), SO should become a standard output. If you have not selected packet protocol, then this will not work. I have it working quite well with GDO0 as the valid packet flag. I have not tried GDO1.
    Ron

Similar Threads

  1. RF Modules
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 26th June 2010, 17:42
  2. RF Modules (Zigbee)
    By Chris Barron in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 4th March 2010, 18:28
  3. Low latency Wireless RF transceiver modules?
    By mark155 in forum General
    Replies: 0
    Last Post: - 4th March 2010, 05:20
  4. RF Transceiver modules help
    By davewanna in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th May 2008, 14:54
  5. RF Modules at 433.92MHz
    By Ioannis in forum Adverts
    Replies: 2
    Last Post: - 17th October 2006, 12:36

Members who have read this thread : 0

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