Author |
Message |
Topic: Problem with returning a pointer in function |
vibrasys
Replies: 8
Views: 7571
|
Forum: General CCS C Discussion Posted: Fri Sep 19, 2008 5:16 am Subject: Problem with returning a pointer in function |
Wayne and Ttelmah,
Thank you for your comments/suggestion.
I managed to get it running. I opted for the ROM storage for my bitmaps, since after only one loaded in ram, the Ram percetage went t ... |
Topic: Problem with returning a pointer in function |
vibrasys
Replies: 8
Views: 7571
|
Forum: General CCS C Discussion Posted: Thu Sep 18, 2008 8:01 am Subject: Pointer to char [1024] array |
Thanks for reply Ttelmah.
Ttelmah,
I am trying to display different arrays of 1024 chars using a function .
array def: const char sigla
void load_bmp(char vector[])
{ ... |
Topic: 16bit external A/D error |
vibrasys
Replies: 7
Views: 7977
|
Forum: General CCS C Discussion Posted: Wed Jun 07, 2006 11:11 am Subject: 16bit external A/D error |
That is actually rather 'interesting'. It suggests that the top bit of the conversion, is actually getting propagated through all the bits, with the conversion only executing the 'one bit' while CS is ... |
Topic: 16bit external A/D error |
vibrasys
Replies: 7
Views: 7977
|
Forum: General CCS C Discussion Posted: Wed Jun 07, 2006 10:28 am Subject: 16bit external A/D error |
The data sheet says that CS can rise once the first bit of the reply is clocked in, and I was wondering what the effect of this is...
Well,i read 65535 when i connect Ain to +3.3v;when there's lo ... |
Topic: 16bit external A/D error |
vibrasys
Replies: 7
Views: 7977
|
Forum: General CCS C Discussion Posted: Wed Jun 07, 2006 7:28 am Subject: 16bit external A/D error |
I must admit, it looks 'right'. My initial thought was that Tcsh, might be causing a problem, with you not actually waiting for the STRB, but the tiing for this is 0nSec, so this should not be a probl ... |
Topic: 16bit external A/D error |
vibrasys
Replies: 7
Views: 7977
|
Forum: General CCS C Discussion Posted: Wed Jun 07, 2006 6:35 am Subject: 16bit external A/D error |
hi there,
I've hooked up this ic from maxim dallas-Max1134, http://pdfserv.maxim-ic.com/en/ds/MAX1134-MAX1135.pdf , with a 18F8722 running at 10mhz.
I have an external ref of 2.048 connected to th ... |
Topic: MAX1134 16bit Ad - read error |
vibrasys
Replies: 9
Views: 11991
|
Forum: General CCS C Discussion Posted: Sat Jun 03, 2006 4:50 am Subject: MAX1134 16bit Ad - read error |
Hey PCM Programmer
Tried your advice and same effect.
Regards |
Topic: pcf2113 i2c lcd driver |
vibrasys
Replies: 2
Views: 5400
|
Forum: General CCS C Discussion Posted: Fri Jun 02, 2006 4:24 pm Subject: pcf2113 i2c lcd driver |
Here's a lcd driver: PCF2113 code example - http://sandiding.tripod.com/phlcd.html
;***************************************************
;* Lcd icon sets off *
;******* ... |
Topic: MAX1134 16bit Ad - read error |
vibrasys
Replies: 9
Views: 11991
|
Forum: General CCS C Discussion Posted: Fri Jun 02, 2006 10:55 am Subject: MAX1134 16bit Ad - read error |
I've found one more thing....
If i do a
for (i=0;i<8;i++) //instead of i<16
{
//--- Clock Low, high
output_low(SPI_SCK);
output_high(SPI_SCK);
Shift <<= 1;
if(!input(SPI_SI)) ... |
Topic: MAX1134 16bit Ad - read error |
vibrasys
Replies: 9
Views: 11991
|
Forum: General CCS C Discussion Posted: Fri Jun 02, 2006 8:22 am Subject: MAX1134 16bit Ad - read error |
Your not having a problem here are you ?
#define RST_MAX PIN_A4
#define SHDN_MAX PIN_A5
Also, a lot of devices are limited in there speed. Yuo may be going too fast ?
Hey guest,
The reset ... |
Topic: MAX1134 16bit Ad - read error |
vibrasys
Replies: 9
Views: 11991
|
Forum: General CCS C Discussion Posted: Fri Jun 02, 2006 2:29 am Subject: MAX1134 16bit Ad - read error |
Hey,
Just wanna jump outta window here .I didn't get any result with this chip so far.It's sooooooo strange.I can initialize it though,send the control byte.
Can you figure it out what's ... |
Topic: MAX1134 16bit Ad - read error |
vibrasys
Replies: 9
Views: 11991
|
Forum: General CCS C Discussion Posted: Thu Jun 01, 2006 2:19 am Subject: MAX1134 16bit Ad - read error |
Hey Ttelmah,
Thankx for all the help so far !
I tried to run the new routines you suggested but no luck by now.
*)When tried to read max1134_value=read_SPI_() the result was 61440 (0xF000).i us ... |
Topic: MAX1134 16bit Ad - read error |
vibrasys
Replies: 9
Views: 11991
|
Forum: General CCS C Discussion Posted: Wed May 31, 2006 6:21 am Subject: MAX1134 16bit Ad - read error |
Hi there,
I've hooked up this ic from maxim dallas-Max1134, http://pdfserv.maxim-ic.com/en/ds/MAX1134-MAX1135.pdf , with a 18F8722 running at 40mhz using H4 fuse.
I'm using the typical application ... |
Topic: External ram CY62256LL-70PC read/write example |
vibrasys
Replies: 12
Views: 12424
|
Forum: General CCS C Discussion Posted: Sat May 27, 2006 7:17 am Subject: External ram CY62256LL-70PC read/write example |
The latch logic, appears wrong. If I remember right, the 373, is a transparent latch, with the output following the input, so long as the control input is high, and latching the input, when the signal ... |
Topic: External ram CY62256LL-70PC read/write example |
vibrasys
Replies: 12
Views: 12424
|
Forum: General CCS C Discussion Posted: Sat May 27, 2006 5:23 am Subject: External ram CY62256LL-70PC read/write example |
Hmm..
Here's what i had in mind for the write sequence:
- enable latch Low address
- place address adL on bus
- disable latch Low address
- enable latch High address
- place address adH on bus
... |
|