Search found 13 matches

by Luciano
Mon Apr 20, 2015 10:34 am
Forum: Modules
Topic: SD file system: hardware vs software SPI problem
Replies: 3
Views: 3652

Re: SD file system: hardware vs software SPI problem

thank you for the suggestion. I did what you suggested and now works both with SW and MSSP. ...rather oddly, now I must init with a byte and not with a boolean, as suggested. maybe(?) there was somehow a mismatch in my previous setting of swordfish and somehow now is fixed. many thans for the help! ...
by Luciano
Wed Apr 08, 2015 5:12 pm
Forum: Modules
Topic: SD file system: hardware vs software SPI problem
Replies: 3
Views: 3652

SD file system: hardware vs software SPI problem

Hi, the following example code works well with the SW version but not with the MSSP. I am using microSD card, 3.3V for the all circuit and 10k pull-up resistors on DO, DI, SCLK. could you please suggest any reason? many thanks Luciano ---------- Device = 18F4525 Clock = 20 #option SD_SPI_SPEED = spi...
by Luciano
Sun Mar 24, 2013 12:05 pm
Forum: User Modules
Topic: again on ST7565R
Replies: 0
Views: 5436

again on ST7565R

Hi I just got another display that uses the same ST7565R controller as recently posted this is the datasheet: http://www.newhavendisplay.com/specs/NHD-C12832A1Z-FSW-FBW-3V3.pdf this one has 128x32 pixels, and same 3.3V, however, it only has a serial interface. the interest of this one is the small s...
by Luciano
Fri Mar 25, 2011 8:25 am
Forum: Modules
Topic: GLCD suggestion
Replies: 0
Views: 3090

GLCD suggestion

I would like to add a GLCD to a portabledatalogger. maybe a TFT display or other similar. colour would be preferable but not essential. possibly with a large screen resolution and touchscreen can someone suggest what model could be easyly interfaced with SW (either using the specific modules or a se...
by Luciano
Mon Jul 12, 2010 8:35 am
Forum: Compiler
Topic: set internal oscillator problem
Replies: 4
Views: 3235

unfortunately I am stuck with this problem.
I am sure many people have used the USART with the internal oscillator and a module, but I could not find any example in the forum to compare to my code.
I hope some one can give a suggestion
many thanks in advance
Luciano
by Luciano
Mon Jul 12, 2010 8:31 am
Forum: Compiler
Topic: HPLL and USART problem
Replies: 3
Views: 2905

that clarifies the problem! many thanks
Luciano
by Luciano
Fri Jul 09, 2010 10:13 am
Forum: Compiler
Topic: HPLL and USART problem
Replies: 3
Views: 2905

HPLL and USART problem

I am using a PIC 18F4525 with a 20MHz quartz oscillator, and the USART serial transmission at 115200 baud. everything works fine using the USART library, but if I insert the HPLL to work at 40Mhz the USART stops working. is there anything else, in addition to the instructions of the manual, that sho...
by Luciano
Wed Jul 07, 2010 8:43 am
Forum: Compiler
Topic: set internal oscillator problem
Replies: 4
Views: 3235

I contunue to have weird results: I tried to receive one byte and this is the result I get (unfortunately I cannot use a display but just count ho many times a LED blinks :? if I send 1 to 15 I correctly receive 1 to 15 if I send 16 I then receive 48 if I send 55 I then receive 119 (ie seems that th...
by Luciano
Tue Jul 06, 2010 11:37 am
Forum: Compiler
Topic: set internal oscillator problem
Replies: 4
Views: 3235

set internal oscillator problem

Hi, I am trying to set up an internal oscillator at 8MHz using a separate module as suggested, but can't get it working in connection with the USART (I am adapting a previosuly working program written in another language). could you please send some suggestion? many thanks in advance Luciano this is...
by Luciano
Mon Feb 22, 2010 2:45 pm
Forum: Compiler
Topic: ADC module and interrupt/context saving question
Replies: 3
Views: 3297

first of all thank to both of you for the suggestions. Normnet (and Gramo) suggest to include only the start beat (at end ISR) and reading of data (next data) at the beginning of the ISR. if I understand correctly, this will leave all the time-comsuming instructions inside the main program and simpl...
by Luciano
Sat Feb 20, 2010 1:40 pm
Forum: Compiler
Topic: ADC module and interrupt/context saving question
Replies: 3
Views: 3297

ADC module and interrupt/context saving question

hi I am trying to acquire analog data from inside an interrupt routine, and I am trying to understand how to save the context. the code below (also adapted from previous posts) works properly ((=full conversion obtained) only if I set ADC.SetConvTime, and ADC.setacqtime inside the ISR (=every time t...
by Luciano
Fri Feb 12, 2010 2:56 pm
Forum: Compiler
Topic: newbie question about alias
Replies: 3
Views: 2508

you are right! that passed the compiler (even if the bold disappeared after removing the spaces).
thank you!
Luciano
by Luciano
Fri Feb 12, 2010 2:28 pm
Forum: Compiler
Topic: newbie question about alias
Replies: 3
Views: 2508

newbie question about alias

HI I am new to to SF and just used for the first time the full version. I am coming from PDS. I always have an error when trying to compile this instruction (copied from a SF code written by Steve) Dim Timer As TMR1L. As Word no matter if I remove the spaces in any combination any suggestion? mant t...