Search found 1259 matches

by Jerry Messina
Wed Jan 12, 2022 9:14 pm
Forum: Modules
Topic: error in ADC.bas
Replies: 0
Views: 22

error in ADC.bas

I don't know when/how this happened, but there's a missing comma in the file ADC.bas. A comma needs to be added to the end of the line 'AN11 = $0B' as shown below: // channel select constants... public const AN0 = $00, AN1 = $01, AN2 = $02, AN3 = $03, AN4 = $04, AN5 = $05, AN6 = $06, AN7 = $07 #if (...
by Jerry Messina
Sat Jan 01, 2022 3:50 pm
Forum: Compiler
Topic: Q83/Q84 JTAG enable issues (IO not working)
Replies: 0
Views: 17

Q83/Q84 JTAG enable issues (IO not working)

There is an omission in the current Q83/Q84 device files that can cause problems with IO pins RA5, RB3, and RB5. With these parts, JTAG defaults to ON and the above IO pins don't work normally. To fix this, add a 'config JTAGEN=OFF' statement to your program. I'll fix that (along with a few other Q8...
by Jerry Messina
Mon Dec 20, 2021 11:51 am
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

I dug up this code from my notes (so no promises!) // This code block configures the ADC for polling, Vdd and Vss references, ADCRC oscillator ADCON1 = 0 ADCON2 = 0 // Legacy mode, no filtering, ADRES->ADPREV ADCON3 = 0 // no math functions ADREF = 0 // Vref = Vdd & Vss ADCAP = 0 // default S&H capa...
by Jerry Messina
Mon Dec 20, 2021 10:54 am
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

Glad you got it all working! I seem to remember something like this before and having to put a particular module first but obviously I'm not using much code in this. I usually add this as the very first two includes in the main program: include "intosc.bas" #option DIGITALIO_INIT = true include "set...
by Jerry Messina
Sun Dec 19, 2021 2:05 pm
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

Rich- If everything's up to date, in the intosc.bas and setalldigital.bas files you should see: intosc.bas: * Version : 2.4 11/16/2020 JM * : add 18FxxQ40, 18FxxQ41 * : add 18Fx7Q83, 18FxxQ84 setdigitalio.bas: * v2.8 - add 18FxxQ40 * - add 18FxxQ41 * - add 18Fx7Q83 * - add 18FxxQ84 * - fix 18F5xQ43 ...
by Jerry Messina
Thu Dec 09, 2021 10:43 am
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

A colleague of mine who used it really likes the part. Says it has a boatload of features for such a small chip.
I'd be interested to hear how things work out, so please keep us posted on what you find, Rich.
by Jerry Messina
Sat Dec 04, 2021 1:20 pm
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

I should have mentioned... there are two sites I've been using lately to help find parts.

https://www.findchips.com
https://octopart.com

If nothing else it gives a good overview of what you're up against these days.
by Jerry Messina
Wed Nov 03, 2021 2:35 pm
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

I've been caught in this too, but so far it's been like playing "whack-a-mole" with redesigning things...
if you don't buy the parts when you see them available then when you go back they're gone.

If there's anything I can help with (besides actually finding parts), let me know, and good luck!
by Jerry Messina
Wed Nov 03, 2021 9:56 am
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

Let us know how it goes, Richard. on another Note was the Q43 sram errata fixed ? and if so, is it easy to get the new silicon? Yes it was. B2 silicon fixed it, which was a few revs ago. How easy is it to get? Right now with the way things are, getting ANY silicon has been a real crap shoot. Dependi...
by Jerry Messina
Sun Oct 31, 2021 11:52 am
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

I should have mentioned to make sure you have the latest library updates to V2.2.3.6
see User Module Wiki page

https://www.sfcompiler.co.uk/wiki/wiki- ... 2_2021.zip
by Jerry Messina
Sun Oct 31, 2021 11:31 am
Forum: General
Topic: Any thoughts on q41 parts?
Replies: 18
Views: 464

Re: Any thoughts on q41 parts?

So far, my experience has been generally positive. whats the adc like ? does it have any offsets and is the noise ok when using 12 bits? I haven't done any in depth measurements, so I can't really comment on this one. does the PPS work with confidance ie can i design the board for best layout rather...
by Jerry Messina
Sat Sep 11, 2021 3:24 pm
Forum: General
Topic: new PIC CLCDesignerTool with simulator and PIC18F support
Replies: 0
Views: 294

new PIC CLCDesignerTool with simulator and PIC18F support

For those with an aversion to MPLABX, or who just want a simple, easy to use standalone tool there is a new, updated version of the old CLCDesignerTool available. CLCDesignerTool V4 adds features not available in the original version, including: * support for all PIC18 devices * support for up to 8 ...
by Jerry Messina
Sat Aug 07, 2021 4:27 pm
Forum: User Modules
Topic: arduino ToneLibrary and Ringtone RTTTL Player
Replies: 2
Views: 602

Re: arduino ToneLibrary and Ringtone RTTTL Player

I updated the library to add user-defined events that get called when a tone starts and stops playing.

This can be handy to add LED displays, etc. Examples included in the new v1.1 download.
by Jerry Messina
Sun Aug 01, 2021 1:53 pm
Forum: User Modules
Topic: arduino ToneLibrary and Ringtone RTTTL Player
Replies: 2
Views: 602

arduino ToneLibrary and Ringtone RTTTL Player

I've been playing around with generating tones lately, so I ported the arduino Tone library to SF and added a few enhancements like blocking/non-blocking mode, playing arrays, etc. There's also a RTTTL (RingTone Text Transfer Language)) player included I put it on the wiki... ToneLibraryAndRingtoneR...
by Jerry Messina
Wed Jul 21, 2021 12:43 pm
Forum: Compiler
Topic: recent compiler problems
Replies: 10
Views: 1051

Re: recent compiler problems

so i'm pretty sure something changed That's odd... I check USART.bas going all the way back to v2.2.3.0 ICC 1.2.0.0 and it's pretty much the same, so I don't think the baudrate settings should be any different. and on checking its back to ver 2.2.5 icc1.1.6.4 is this likely to my our it company rev...