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 10 matches
CCS Forum Index
Author Message
  Topic: RF module - Telecontrolli
doug_h

Replies: 6
Views: 16278

PostForum: General CCS C Discussion   Posted: Sun Jun 13, 2004 8:27 am   Subject: RF module - Telecontrolli
You can't send rs232 over these devices. You will need to send a balanced bit stream which can be converted to rs232 by a PIC at either end. You can use either PWM or Manchester encoding to balance yo ...
  Topic: PIC RS232 Port Locks Up
doug_h

Replies: 2
Views: 10076

PostForum: General CCS C Discussion   Posted: Sat Jun 12, 2004 6:59 pm   Subject: PIC RS232 Port Locks Up
Thanks so much for the help. Now I understand the problem.

Cheers!
  Topic: PIC RS232 Port Locks Up
doug_h

Replies: 2
Views: 10076

PostForum: General CCS C Discussion   Posted: Sat Jun 12, 2004 3:13 pm   Subject: PIC RS232 Port Locks Up
Hello all,

I have a problem sending data to the PIC rs232 port from an external application. If I try and send anything more than 3 or 4 bytes in a stream, the INT_RDA hangs up and the PIC won't ac ...
  Topic: How to send 10 bit ADC value as 2 bytes
doug_h

Replies: 2
Views: 8622

PostForum: General CCS C Discussion   Posted: Thu May 20, 2004 1:45 pm   Subject: Fixed
Thx. I had a bug in my code in the calling function - all fixed now.
  Topic: How to send 10 bit ADC value as 2 bytes
doug_h

Replies: 2
Views: 8622

PostForum: General CCS C Discussion   Posted: Thu May 20, 2004 1:04 pm   Subject: How to send 10 bit ADC value as 2 bytes
I'm reading the PIC ADC in 10 bit mode and storing the result in an int16 type. I need to break up the 10 bit value into two bytes so I can send them over the network. At the other end I need to combi ...
  Topic: Best way of splitting LCD pins between ports?
doug_h

Replies: 2
Views: 10277

PostForum: General CCS C Discussion   Posted: Mon Mar 29, 2004 10:01 am   Subject: Best way of splitting LCD pins between ports?
Hi all,

Quick qn., the LCD driver that ships with PICC uses a contiguous port to control the display. The code maps a struct over the the port like this:

// As defined in the following structure ...
  Topic: Mysterious SPI right shift problem
doug_h

Replies: 7
Views: 14821

PostForum: General CCS C Discussion   Posted: Tue Mar 02, 2004 2:57 pm   Subject: Mysterious SPI right shift problem
Problem solved!

I changed the SPI setup code from this:

setup_spi(SPI_MASTER | SPI_H_TO_L);

To this:

setup_spi(SPI_MASTER | SPI_H_TO_L | SPI_XMIT_L_TO_H);

And now everyt ...
  Topic: Mysterious SPI right shift problem
doug_h

Replies: 7
Views: 14821

PostForum: General CCS C Discussion   Posted: Tue Mar 02, 2004 10:33 am   Subject: Mysterious SPI right shift problem
Aha! This could indeed be the problem - I'll give it a try and report back.
Thanks
  Topic: Mysterious SPI right shift problem
doug_h

Replies: 7
Views: 14821

PostForum: General CCS C Discussion   Posted: Tue Mar 02, 2004 9:59 am   Subject: Mysterious SPI right shift problem
I tried changing the setup_spi() to use the spi_l_to_h flag to invert the clock, but now I get nothing back from the MCP2515. Is there another way to implement the clock change you suggested?
  Topic: Mysterious SPI right shift problem
doug_h

Replies: 7
Views: 14821

PostForum: General CCS C Discussion   Posted: Tue Mar 02, 2004 12:53 am   Subject: Mysterious SPI right shift problem
I'm having a problem with the spi_read / spi_write functions. I have a simple test program that writes to the configuration registers on the MCP2515 CAN controller and then reads back the values. The ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group