CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 13 matches
CCS Forum Index
Author Message
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 29, 2017 3:12 pm   Subject: TI CC1101
PS. you can substitute
sprintf(str,"%s\r\n",rxBuffer);
printf(str);
with
printf("%s\r\n",rxBuffer);
this is what printf is for...

Yes I know sir, ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 29, 2017 3:07 pm   Subject: TI CC1101
I noticed some odd stuff, I nonticed that TX and RX have to be in synchrony to get a nueric value other wise I got random letters (Repeatedly) or black rxbuffer value.
What do you mean 'in synchron ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 29, 2017 1:49 pm   Subject: Re: It's working finally
halRfSendPacket() waits for GDO2 to go high (transmission starts), then low (transmission finished). Please check GDO2 with an oscilloscope or logic analyzer if this is happening.

// Wait for GD ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 29, 2017 1:27 pm   Subject: It's working finally
halRfSendPacket() waits for GDO2 to go high (transmission starts), then low (transmission finished). Please check GDO2 with an oscilloscope or logic analyzer if this is happening.

// Wait for GD ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 29, 2017 9:51 am   Subject: Stop at HalfRFsendpacket //TX part
oh, one tip: The code contains lots of restart_wdt(); but if you enter halRfReceivePacket() without checking GDO0 first it will wait for a new packet without restarting the watchdog timer, which might ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Thu May 25, 2017 8:51 pm   Subject: Serial monitor
Did you start with the code I sent for TX & RX? Did it work?
Yes, it works.

RX code

#include <16F1827.h>
#include <stdio.h>
#include <stdlib.h>
#fuses INTRC_IO,XT,P ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 15, 2017 1:41 pm   Subject: Codes
Hi!
First of all, please send the WHOLE code that you wrote and #include the PIC you are using... You can skip my original functions if you didn't change anything.
Writing your compiler version wou ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Mon May 15, 2017 11:11 am   Subject: TI CC1101
Hi lscantillo,
I'd rather support you here with the rest of the community so that others would benefit from it later.
Send your code and we'll take a look.

Hi Guy,
this is my main Rx code,i am ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Wed May 10, 2017 6:20 pm   Subject: Hop counter and Rx code
Put your data into txBuffer array and call halRfSendPacket() with the number of bytes you put in the buffer. Take a look at the code after the remark //TX

I don't understand if you ARE receiving th ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Sat May 06, 2017 10:10 am   Subject: Send data
MCU.
PIN_C7, PIN_C5... are reserved words used in CCS compiler for I/O pins.
When connecting MOSI & MISO use MOSI to MOSI, MISO to MISO.
(MOSI - Master Out Slave In - MCU TX output, CC1101 inpu ...
  Topic: No RS232 data from PIC16F1827
lscantillo

Replies: 13
Views: 35983

PostForum: General CCS C Discussion   Posted: Sun Apr 23, 2017 5:54 am   Subject: No RS232 data from PIC16F1827
After a bit of haggling, I managed to get CCS to upgrade my compiler. So my problems are now resolved Very Happy

what was your final code?
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Sun Apr 02, 2017 10:57 am   Subject: PIN

#define LED PIN_C7

// manual/software SPI
#define MOSI PIN_C5
#define MISO PIN_C4
#define SCK PIN_C3
#define GDO2 PIN_C2 // unused
#define CS PIN_C1
#define ...
  Topic: TI CC1101
lscantillo

Replies: 34
Views: 245837

PostForum: Code Library   Posted: Sun Apr 02, 2017 9:43 am   Subject: Connection Diagram
Could you give me the connection diagram for this code?
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group