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: Problem with conversion ADC in CCS
kideltn

Replies: 2
Views: 4114

PostForum: General CCS C Discussion   Posted: Sat Jul 17, 2010 4:56 am   Subject: Problem with conversion ADC in CCS
Hello every one !
I made a real circuit with the following schematic:
http://i259.photobucket.com/albums/hh291/concofbi/untitled-15.jpg
I used USB voltage 5V.Temperature sensor:LM35
The circuit we ...
  Topic: Need helping about unstable phenomenon when comm SDcard
kideltn

Replies: 0
Views: 1878

PostForum: General CCS C Discussion   Posted: Thu Jul 08, 2010 7:35 am   Subject: Need helping about unstable phenomenon when comm SDcard
I'm trying debug to confirm the hardware communication SD card and 18f4550 is true.
I used voltage source 3,3 V for both PIC and SD card (I tested blinking led with above fabric.The circuit worked)
...
  Topic: Problem with function interface spi in CCS
kideltn

Replies: 4
Views: 7600

PostForum: General CCS C Discussion   Posted: Wed Jul 07, 2010 5:34 am   Subject: Problem with function interface spi in CCS
Thanks every one very much !
I have solved it! (error is confused DO and DI).
  Topic: Problem with function interface spi in CCS
kideltn

Replies: 4
Views: 7600

PostForum: General CCS C Discussion   Posted: Tue Jul 06, 2010 11:03 am   Subject: Problem with function interface spi in CCS
My code:


#include "basicsd.h"

#define CS PIN_D3
#define SCK PIN_D6
#define SDO PIN_D5
#define SDI PIN_D4
#use spi( DI=SDI, DO=SDO, CLK=SCK, BITS=8, stream=sspi)

...
  Topic: Problem with function interface spi in CCS
kideltn

Replies: 4
Views: 7600

PostForum: General CCS C Discussion   Posted: Tue Jul 06, 2010 10:38 am   Subject: Problem with function interface spi in CCS
I'm debugging sdcard interface is to problem with spi function in CCS.
My schematic:(18f4550+sdcard)
http://i259.photobucket.com/albums/hh291/concofbi/untitled-12.jpg
I used spi solfware:
#define ...
  Topic: Pic 18f4550 interface SD card isn't working with lib ex_fat
kideltn

Replies: 9
Views: 29469

PostForum: General CCS C Discussion   Posted: Fri Jul 02, 2010 7:50 am   Subject: Pic 18f4550 interface SD card isn't working with lib ex_fat
Thanks you again!
Really, my major is coder and my project involved sd card. I'm beginner in electronic and thanks for your explanation to help me a lot.
I read datasheet 18f4550 and decide change p ...
  Topic: Pic 18f4550 interface SD card isn't working with lib ex_fat
kideltn

Replies: 9
Views: 29469

PostForum: General CCS C Discussion   Posted: Thu Jul 01, 2010 9:07 pm   Subject: Pic 18f4550 interface SD card isn't working with lib ex_fat
Thanks for reply !
I used schematic from
http://i259.photobucket.com/albums/hh291/concofbi/SDcardschematic.jpg
and change pin to match 18f4550.
I don't understand Ttelmah,

You need a level tr ...
  Topic: Pic 18f4550 interface SD card isn't working with lib ex_fat
kideltn

Replies: 9
Views: 29469

PostForum: General CCS C Discussion   Posted: Thu Jul 01, 2010 1:45 am   Subject: Pic 18f4550 interface SD card isn't working with lib ex_fat
After simulation Proteus interface with SD card but failhttp://www.ccsinfo.com/forum/viewtopic.php?t=42778
I think have problem in Proteus's simulation and decided to make a real circuit with 18f ...
  Topic: Problem with can't send data from PC to PIC 18f4550...
kideltn

Replies: 4
Views: 9800

PostForum: General CCS C Discussion   Posted: Sun Jun 27, 2010 6:00 pm   Subject: Problem with can't send data from PC to PIC 18f4550...
Thanks you again !
  Topic: Problem with can't send data from PC to PIC 18f4550...
kideltn

Replies: 4
Views: 9800

PostForum: General CCS C Discussion   Posted: Sun Jun 27, 2010 11:39 am   Subject: Problem with can't send data from PC to PIC 18f4550...
Hello every one!
Now i have a project with Pic 18f4550 and involved with RS232 interface
Problem is i just can tranfer data from PIC to PC but the contrary isn't.
Because pin RC7 is used for other ...
  Topic: Help-ex_fat.
kideltn

Replies: 5
Views: 12099

PostForum: General CCS C Discussion   Posted: Thu Jun 10, 2010 12:54 pm   Subject: Help-ex_fat.
Excuse!
Do you think with above code, when I make a real circuit it will work ?
Thanks alot !
  Topic: Help-ex_fat.
kideltn

Replies: 5
Views: 12099

PostForum: General CCS C Discussion   Posted: Thu Jun 10, 2010 9:30 am   Subject: Help-ex_fat.
Thank a lot !
But still not working.
Detail, when I swapped the pin, then run the simulation, the command
line appear (mean fat_init() success), however, when I type any
command to operate with ...
  Topic: Help-ex_fat.
kideltn

Replies: 5
Views: 12099

PostForum: General CCS C Discussion   Posted: Tue Jun 08, 2010 9:05 pm   Subject: Help-ex_fat.
I simulated in Proteus but not with success.
I am trying this problem very much but have not solved it.
Here is my schematic Proteus:http://i259.photobucket.com/albums/hh291/concofbi/untitled-8.jpg ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group