Author |
Message |
Topic: mplab ide with icd-u64 |
kazanova64
Replies: 0
Views: 23015
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu Dec 09, 2010 4:19 am Subject: mplab ide with icd-u64 |
Hello all,
I am using MPLAB ide, Microchip ICD2, and ccs c compiler. I wonder if I can use MPLAB ide with ICD-U64 and ccs c compiler? |
Topic: enc28j60 spi read shift 1 bit |
kazanova64
Replies: 7
Views: 18205
|
Forum: General CCS C Discussion Posted: Sat Aug 07, 2010 5:07 pm Subject: enc28j60 spi read shift 1 bit |
CCS PCH C Compiler, Version 4.068
My version is quite old i think. I will renew it soon.
SAMPLE_RISE is a problem there because ENC sends data in idle to active statement, so i need to read it in ... |
Topic: enc28j60 spi read shift 1 bit |
kazanova64
Replies: 7
Views: 18205
|
Forum: General CCS C Discussion Posted: Sat Aug 07, 2010 5:07 am Subject: enc28j60 spi read shift 1 bit |
What's your compiler version ?
i don't exactly know, old one i think. School computers
Although i changed it to below code, it doesn't change.
#use spi(FORCE_HW, MASTER, MODE=0, SAMPLE_RISE, ... |
Topic: enc28j60 spi read shift 1 bit |
kazanova64
Replies: 7
Views: 18205
|
Forum: General CCS C Discussion Posted: Fri Aug 06, 2010 4:49 am Subject: enc28j60 spi read shift 1 bit |
Ok then, why i can not set it MSB_FIRST?? |
Topic: enc28j60 spi read shift 1 bit |
kazanova64
Replies: 7
Views: 18205
|
Forum: General CCS C Discussion Posted: Wed Aug 04, 2010 7:52 pm Subject: enc28j60 spi read shift 1 bit |
I want to communicate pic18f4620 with enc28j60 with spi. ENC has these instructions.
The ENC28J60 is designed to interface directly with the
Serial Peripheral Interface (SPI) port available on man ... |
Topic: adc2543 pic18f4520 SPI communication |
kazanova64
Replies: 4
Views: 11093
|
Forum: General CCS C Discussion Posted: Tue Apr 13, 2010 12:53 am Subject: adc2543 pic18f4520 SPI communication |
Yes, it is working. I simulated in proteus and the PIC can communicate with adc - lcd and gives the adc result to the lcd. |
Topic: adc2543 pic18f4520 SPI communication |
kazanova64
Replies: 4
Views: 11093
|
Forum: General CCS C Discussion Posted: Mon Apr 12, 2010 12:06 pm Subject: adc2543 pic18f4520 SPI communication |
Thanks for your reply. I had not known that spi pins are in portc.
#include "C:\Documents and Settings\ozora\Belgelerim\Workspace\PIC\ccs-pcw\Yeni Klasör\main.h"
#use delay(c ... |
Topic: adc2543 pic18f4520 SPI communication |
kazanova64
Replies: 4
Views: 11093
|
Forum: General CCS C Discussion Posted: Sun Apr 11, 2010 6:36 am Subject: adc2543 pic18f4520 SPI communication |
Hi everybody, I am new to embedded system design and need help. Using 18F4520, I want to read adc output and put it on the lcd but I could not do it. I want to use ADC2543 with 8 bits CS enable mode.
... |
|