Author |
Message |
Topic: SPI problems - Serial data input |
mcman
Replies: 3
Views: 6052
|
Forum: General CCS C Discussion Posted: Thu Apr 26, 2007 1:40 pm Subject: SPI problems - Serial data input |
Update:
My bad. Flash takes data on rising edge of clock, not falling edge. I needed to add the SPI_XMIT_L_TO_H flag to the SETUP_SPI config options. Note that this flag isn't mentioned in the ... |
Topic: SPI problems - Serial data input |
mcman
Replies: 3
Views: 6052
|
Forum: General CCS C Discussion Posted: Wed Apr 25, 2007 2:53 pm Subject: SPI problems - Serial data input |
Here is some stripped down code that I've compiled and run.
#include <18F87J10.h>
#FUSES HS, DEBUG, NOXINST, NOSTVREN, NOWDT, NOPROTECT, WDT32, NOFCMEN, NOIESO, PRIMARY, ... |
Topic: SPI problems - Serial data input |
mcman
Replies: 3
Views: 6052
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2007 6:21 pm Subject: SPI problems - Serial data input |
PIC: 18F87J10
Compiler: CCS 4.032
I'm communicating via a PIC SPI channel to serial flash devices from ST Microelectronics (M25P16 series).
On my prototyping system, I have an 18F8722 that wo ... |
Topic: ICD-U40 does not work. ICD-2 does |
mcman
Replies: 7
Views: 7318
|
Forum: General CCS C Discussion Posted: Wed Apr 18, 2007 9:48 am Subject: ICD-U40 does not work. ICD-2 does |
I have an ICD-U40 that I, too, could not get to work. If I remember correctly, the problem had to do with USB connectivity. The ICD-U40 has an FTDI USB device. My development system also included a ... |
Topic: 18F87J10 write_program_memory AND read_program_memory |
mcman
Replies: 2
Views: 4119
|
Forum: General CCS C Discussion Posted: Tue Apr 17, 2007 3:39 pm Subject: 18F87J10 write_program_memory AND read_program_memory |
Compiler: PCH 3.245
Developed my code on an 18F8722 development system. Everything worked great. No problems writing to or reading from program memory. Now, when I run my code on an 18F87J10, n ... |
Topic: RAM Allocation problem? |
mcman
Replies: 3
Views: 5303
|
Forum: General CCS C Discussion Posted: Fri Feb 02, 2007 11:09 am Subject: RAM Allocation problem? |
Thank you for your reply! Per your guidelines, I need to reassign several arrays.
Just to be clear, the array assignment that seems to be causing me grief is one that is located entirely within Ba ... |
Topic: RAM Allocation problem? |
mcman
Replies: 3
Views: 5303
|
Forum: General CCS C Discussion Posted: Thu Feb 01, 2007 5:44 pm Subject: RAM Allocation problem? |
PIC: 18F8722
Compiler: CCS PCH version 3.245
Problem:
I have an application that was working just fine. I added an array to the application and noticed some abnormal behavior with the applicat ... |
Topic: strtoul issue in stdlib.h |
mcman
Replies: 0
Views: 3714
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 1:48 pm Subject: strtoul issue in stdlib.h |
I have a project that utilizes an 18F8722. I'm using the strtoul function to parse through a space delimited series of parameters. In using this function, I believe I've discovered an issue.
My c ... |
|