Author |
Message |
Topic: Pic 18f4550 interface SD card isn't working with lib ex_fat |
petiot
Replies: 9
Views: 29604
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2010 8:12 am Subject: Pic 18f4550 interface SD card isn't working with lib ex_fat |
shouldn't your resistors on SDA and SCL pull up to not down? |
Topic: DSPIC USERS: do C-aware debugger works for you? |
petiot
Replies: 0
Views: 2296
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2010 6:07 am Subject: DSPIC USERS: do C-aware debugger works for you? |
Hi,
Can some developpers on dsPIC33 tell me if the real time C-aware debugging works with dsPIC33 using ICD-U64 using only PGEC,PGED and MCLR lines?
Thanks |
Topic: PCD with dspic33: setup_spi function really does not work! |
petiot
Replies: 4
Views: 5888
|
Forum: General CCS C Discussion Posted: Wed Jun 30, 2010 7:38 am Subject: thanks |
dyeatman,
PCD version 4.078 bought a couple of years ago. as you know, you can only update for 30 days... Has this been fixed in newer versions?
I took your remarks onboard, and sorry if this is no ... |
Topic: PCD with dspic33: setup_spi function really does not work! |
petiot
Replies: 4
Views: 5888
|
Forum: General CCS C Discussion Posted: Wed Jun 30, 2010 5:58 am Subject: PCD with dspic33: setup_spi function really does not work! |
dear all,
I am currently writing code for a dsPIC33FJ128MC506. looking at the assembly generated by PCD I have to say that the SPI is not configured properly at all. here is why:
SPI1STAT @ 0x0240
... |
Topic: DSPIC33 and setup_oscillator() problems.. a solution.. |
petiot
Replies: 5
Views: 10723
|
Forum: General CCS C Discussion Posted: Mon Jun 28, 2010 8:28 am Subject: this code should do it |
hi,
Looking at the assembly generated, this code should do it. I have not tried it though.
/* PLL special function registers*/
#byte CLKDIV_L=0x0744
#byte CLKDIV_H=0x0745
#byte PLLFBD_L=0x07 ... |
|