TX/RX with CC1101 Texas


Yesterday 14:11
Forum: Projects discussion
Starter: Giuseppe
Views: 0
Replies: 9
Yesterday 13:41
Forum: Proton 24
Starter: kuhrig
Views: 0
Replies: 5
+ Reply to Thread
Results 1 to 10 of 10

Thread: TX/RX with CC1101 Texas12 days old

  1. #1
    Junior Member Giuseppe's Avatar
    Join Date
    Jul 2019
    Posts
    4
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    76.29 MB

    0 Not allowed!

    Default TX/RX with CC1101 Texas

    Hello everyone
    I intend to start doing a bit of practice with the cc1101 to make a communication between 2 modules. I was thinking of using the first cc1101 module managed by a 16f1826 mcu that dialogues with a second module always managed by another 16f1826. initially I was thinking of sending an implementation request to the second module with the first module. after receiving the request, the second module must implement it and send confirmation of its implementation to the first module.
    Have any of you ever used CC1101?
    thank you all

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,691
    Thumbs Up
    Received: 125
    Given: 33
    Total Downloaded
    3.84 GB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Hi Giuseppe
    I see there is some code for an Arduino on this site. It might give you a start.
    https://www.elecrow.com/wiki/index.p..._CC1101_Module
    John

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Junior Member keytapper's Avatar
    Join Date
    Jun 2019
    Posts
    22
    Thumbs Up
    Received: 0
    Given: 1
    Total Downloaded
    76.29 MB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Quote Originally Posted by John Drew View Post
    Hi John,
    Giuseppe is my penpal and I'm helping him for this matter. The link you posted is already under my microscope for dissecting and I tried to translate it into Proton Basic. That's came rather fair, but Giuseppe has the modules, therefore I can't go much further. We got this package
    He may present the translated source, but we are finding difficulties to prove that the library is working as expected. I suggested to try one side of the transmission to use the Arduino in order to study what could be the fault.

    Perhaps I'll will study the part which is referring to a different C source and see whether we are able to get a little communication. Later we may try to translate it on the Proton Basic source.

    The case is about to have to use global variables, there's no (yet) a way to pass the variables like the proc or like mikroE basic. The matter is not the RAM consumed, it would take the same amount, but the risks of name clashes, which is anyways there for all languages.
    I mean this because will easy the steps to translate from a wiring source to basic.

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    2,055
    Thumbs Up
    Received: 188
    Given: 169
    Total Downloaded
    4.44 GB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    It's always a problem when two things must work before anything appears to happen. Personally find compilable/compiled code that both works and runs on any device that I have (usually Arduino, but also CCS or Mikro which have lots of hardware examples) to check the hardware is working. Also once you get it working probably best to migrate from plugin breadboard, RF and breadboard are a bad combo.
    George.

  8. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Junior Member Giuseppe's Avatar
    Join Date
    Jul 2019
    Posts
    4
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    76.29 MB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Hello

    Here are the 2 programs translated into basic based on the quoted Arduino library.

    First link for the cc1101 receiver : https://pastebin.com/9iTaEWzM

    Second link for the cc1101 transmitter :https://pastebin.com/QJjHiYfs

    Report possible compilation error
    When a define line ends with a single apotroph without comment, it creates errors in the compilation. For example, on line 120 of the receiving program, if I remove the ( and put the apotrophic error on line 265

    thank you so much





  10. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #6
    Junior Member Giuseppe's Avatar
    Join Date
    Jul 2019
    Posts
    4
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    76.29 MB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Furthermore, it is necessary to understand also if setting the 6 bits in the registers of the cc1101 the register setting is taken the same?

  12. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #7
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,691
    Thumbs Up
    Received: 125
    Given: 33
    Total Downloaded
    3.84 GB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Hello Giuseppe
    Comments are not allowed after $Define
    There's a good reason for it, I think it's tied in with the pre-processor.
    John
    Last edited by John Drew; Yesterday at 08:26. Reason: I just read the manual Page 461

  14. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #8
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,252
    Thumbs Up
    Received: 375
    Given: 133
    Total Downloaded
    1.58 GB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Comments are allowed on the line of a standard $define, however, a comment apostrophe on its own with no text after it makes the $define add the next line to the definition. See the preprocessor section in the manual for examples. This is standard practice for most preprocessors that use a comment character to continue a line.

  16. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #9
    Administrator John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,691
    Thumbs Up
    Received: 125
    Given: 33
    Total Downloaded
    3.84 GB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    Whoops
    John

  18. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  19. #10
    Junior Member keytapper's Avatar
    Join Date
    Jun 2019
    Posts
    22
    Thumbs Up
    Received: 0
    Given: 1
    Total Downloaded
    76.29 MB

    0 Not allowed!

    Default Re: TX/RX with CC1101 Texas

    As a normal user, reading the manual is rather the last chance. I confess that I haven't noted such existence.
    So for such case it is preferred to comment by a semicolon, which won't cause such oversights.

    Anyway the project still a bit frozen to find all specs that will make it setting the module to work.

  20. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Texas Instruments wireless transceiver
    By shantanu@india in forum The Lounge
    Replies: 5
    Last Post: 16th February 2010, 18:11

Members who have read this thread since 20th July 2019, 01:21 : 9

Actions :  (Set Date)  (Clear Date)

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