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 14 matches
CCS Forum Index
Author Message
  Topic: PIC18F4550 master and DSPIC30F4011 slave i2c problem
neohimura

Replies: 6
Views: 15413

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2012 2:46 pm   Subject: PIC18F4550 master and DSPIC30F4011 slave i2c problem
Unless this is just for debugging purposes, having a main() exec while loop with no statements in it and then having all the work done in the interrupt handler is ineffective programming. In these sce ...
  Topic: PIC18F4550 master and DSPIC30F4011 slave i2c problem
neohimura

Replies: 6
Views: 15413

PostForum: General CCS C Discussion   Posted: Mon Feb 20, 2012 8:13 am   Subject: Re: just try
Look in the PIC datasheet, Figure 15-7.
What are the pins used for hardware I2C?
They are not the same pins you have defined.

In a slave you must always use the real I2C hardware. For a master it ...
  Topic: PIC18F4550 master and DSPIC30F4011 slave i2c problem
neohimura

Replies: 6
Views: 15413

PostForum: General CCS C Discussion   Posted: Mon Feb 20, 2012 1:46 am   Subject: PIC18F4550 master and DSPIC30F4011 slave i2c problem
hi,
I have a project that requires I2C communication between one master (PIC18F4550) and three slave (two PIC18F4550 and one DSPIC30F4011) but the I2C communication does not work. The SCL pin is alwa ...
  Topic: finding maximum and minimum value of a few numbers
neohimura

Replies: 2
Views: 5046

PostForum: General CCS C Discussion   Posted: Wed May 18, 2011 9:32 am   Subject: finding maximum and minimum value of a few numbers
Thank you Ttelmah. I'll give it a try.
  Topic: finding maximum and minimum value of a few numbers
neohimura

Replies: 2
Views: 5046

PostForum: General CCS C Discussion   Posted: Wed May 18, 2011 1:13 am   Subject: finding maximum and minimum value of a few numbers
Hi,
I have a set of 10 numbers. Can anyone please share the code for finding the minimum and maximum number of that particular set of number?

Thank you.
  Topic: SPI two way communication problem
neohimura

Replies: 6
Views: 7602

PostForum: General CCS C Discussion   Posted: Mon Apr 25, 2011 6:20 am   Subject: SPI two way communication problem
When I tried the above code with two pic18f4550, it works.. but when I change the slave pic into dspic30f4011, the data becomes corrupted. I can only receive data from the master. When I try to send d ...
  Topic: SPI two way communication problem
neohimura

Replies: 6
Views: 7602

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2011 9:53 pm   Subject: SPI two way communication problem
Examples you gave used the SPI interrupt. Is it possible to do it without using the interrupt?
Thank you.
  Topic: SPI two way communication problem
neohimura

Replies: 6
Views: 7602

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2011 11:51 am   Subject: SPI two way communication problem
Hi,
I'm trying to do two way communication between a master and a slave using SPI. I succeeded in doing one way communication for example sending data from master to slave or sending data from slave ...
  Topic: how to setup IC1, IC2, IC7 and IC8 in dsPIC30F4011
neohimura

Replies: 2
Views: 14355

PostForum: General CCS C Discussion   Posted: Thu Apr 21, 2011 7:22 am   Subject: how to setup IC1, IC2, IC7 and IC8 in dsPIC30F4011
Hi,
I wanted to use IC1, IC2, IC7 and IC8 on my dsPIC30F4011 to measure the frequency of 4 pulse. How do I setup the dsPIC to do this? I manage to insert the interrupt before main().How do i get the ...
  Topic: question about usb cdc on PIC18F4550
neohimura

Replies: 2
Views: 7824

PostForum: General CCS C Discussion   Posted: Fri Apr 01, 2011 7:47 am   Subject: question about usb cdc on PIC18F4550
I created a new function on usb_cdc.h as you mentioned and it works perfectly.

Thank you very much Ttelmah. Very Happy
  Topic: question about usb cdc on PIC18F4550
neohimura

Replies: 2
Views: 7824

PostForum: General CCS C Discussion   Posted: Fri Apr 01, 2011 1:31 am   Subject: question about usb cdc on PIC18F4550
Hi,

I'm using the usb cdc function on PIC18F4550. I'm trying to send a array of data to PC using this function. The data I'm trying to send is as follows:

int8 send_usb_data[42];

Whi ...
  Topic: USB PICF18F4550, WIN 7 64 bit
neohimura

Replies: 20
Views: 56852

PostForum: General CCS C Discussion   Posted: Thu Feb 10, 2011 3:24 am   Subject: USB PICF18F4550, WIN 7 64 bit
Hi,
I was able to install the PIC18F4550 USB CDC driver and it works on my laptop with Windows 7 X64. I'm using Visual Basic 2010 to display the data. My problem is the data will freeze after running ...
  Topic: PIC18 Slave Select Pin and ADC
neohimura

Replies: 3
Views: 6146

PostForum: General CCS C Discussion   Posted: Thu Feb 10, 2011 3:17 am   Subject: PIC18 Slave Select Pin and ADC
It works now. I had to remove the analog input for AN4 and use that pin for Slave select. Thank you for your help PCM programmer and Ttelmah.
  Topic: PIC18 Slave Select Pin and ADC
neohimura

Replies: 3
Views: 6146

PostForum: General CCS C Discussion   Posted: Tue Feb 08, 2011 9:58 am   Subject: PIC18 Slave Select Pin and ADC
I'm trying to communicate two PIC18F4550 using SPI. On my slave PIC18, I want to use all available ADC pins (AN0-AN12). Since the SPI Slave Select (SS) pin shares with AN4, is it possible for me to ch ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group