Any thoughts on q41 parts?
Moderators: David Barker, Jerry Messina
Any thoughts on q41 parts?
Hi I was wondering what peoples experiances were with the q41 parts.
for me the PIC18F06Q41 looks very interesting for home projects, but more generally how have they worked for you? as i've had bad experiances with things like the adc in the k80 part.
so... whats the adc like ? does it have any offsets and is the noise ok when using 12 bits?
does the PPS work with confidance ie can i design the board for best layout rather than default pin operation?
can i use the pic without a crystal and rs232 without any issues?
and lastly are there any other issues that i should know about?
Richard
for me the PIC18F06Q41 looks very interesting for home projects, but more generally how have they worked for you? as i've had bad experiances with things like the adc in the k80 part.
so... whats the adc like ? does it have any offsets and is the noise ok when using 12 bits?
does the PPS work with confidance ie can i design the board for best layout rather than default pin operation?
can i use the pic without a crystal and rs232 without any issues?
and lastly are there any other issues that i should know about?
Richard
Hmmm..
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Re: Any thoughts on q41 parts?
So far, my experience has been generally positive.
A general limitation with these lower pin count parts is sometimes the fixed analog functions overlap (ie DACOUT and CMPIN share the same pin), but that happens on some of the bigger parts too. My biggest gripe is that the ICSP pins share RA0/RA1 pins so you can't use the analog functions on those if you use ICD debugging!
I haven't done any in depth measurements, so I can't really comment on this one.whats the adc like ? does it have any offsets and is the noise ok when using 12 bits?
Yes, PPS works fine.does the PPS work with confidance ie can i design the board for best layout rather than default pin operation?
As long as you're working from 0-60degC, it's within 2%, so yes. Outside that range it gets a bit worse... up to 5% at the extreme which is too far out.can i use the pic without a crystal and rs232 without any issues?
Like most of the new parts the MSSP peripheral is gone and has been split into two SPI and I2C peripherals. The SPI is fairly backwards compatible, but the new I2C isn't, so any existing code would have to be re-written. For an I2C master , it's probably easiest to just use the software I2C routines.and lastly are there any other issues that i should know about?
A general limitation with these lower pin count parts is sometimes the fixed analog functions overlap (ie DACOUT and CMPIN share the same pin), but that happens on some of the bigger parts too. My biggest gripe is that the ICSP pins share RA0/RA1 pins so you can't use the analog functions on those if you use ICD debugging!
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
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
see User Module Wiki page
https://www.sfcompiler.co.uk/wiki/wiki- ... 2_2021.zip
Re: Any thoughts on q41 parts?
Thanks for that Jerry. I have now ordered one and will design a test board to check out some of the features and report back.
on another Note was the Q43 sram errata fixed ? and if so, is it easy to get the new silicon?
Richard
on another Note was the Q43 sram errata fixed ? and if so, is it easy to get the new silicon?
Richard
Hmmm..
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Re: Any thoughts on q41 parts?
Let us know how it goes, Richard.
How easy is it to get?
Right now with the way things are, getting ANY silicon has been a real crap shoot.
Depending on the exact part, it looks like Digikey has a few.
Yes it was. B2 silicon fixed it, which was a few revs ago.on another Note was the Q43 sram errata fixed ? and if so, is it easy to get the new silicon?
How easy is it to get?
Right now with the way things are, getting ANY silicon has been a real crap shoot.
Depending on the exact part, it looks like Digikey has a few.
Re: Any thoughts on q41 parts?
The chip shortage is kind of why i'm looking at these new parts, they cover most bases 12bit, 5v 64mhz and pps, except usb, and we are moving away from pic based usb anyway.
my plan was to buy some and test them and then buy a batch for stock if all looks good.
Thanks again.
Richard
my plan was to buy some and test them and then buy a batch for stock if all looks good.
Thanks again.
Richard
Hmmm..
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
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!
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!
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
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.
https://www.findchips.com
https://octopart.com
If nothing else it gives a good overview of what you're up against these days.
Re: Any thoughts on q41 parts?
Thanks Jerry for those links. We have bought 100 of the PIC18F06Q41 and I've designed a very simple board for purely for testing I'm interested in how good the adc is and how well the opamp works as I've not really tried using opamps on pics before.
Rich
Rich
Hmmm..
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
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.
I'd be interested to hear how things work out, so please keep us posted on what you find, Rich.
Re: Any thoughts on q41 parts?
Hi Again, Looks like I've failed at the basics, i cant get an led to flash on internal osc
i have the following code
it doesn't do anything i'm trying to run at the max internal osc i was wondering if the "Include"IntOSC.bas"" id vslid and the setall digital as i didnt see the 18f06q41 in the file.
i generated the config from the config generator and tried with the full config.
anh help would be apreciated.
Rich
i have the following code
Code: Select all
Device = 18F06Q41
Clock = 64
Config
FEXTOSC = OFF, // Oscillator not enabled
RSTOSC = HFINTOSC_64MHZ,// HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1
CLKOUTEN = OFF // CLKOUT function is disabled
Include"IntOSC.bas"
Include "utils.bas"
Dim led As PORTC.2
SetAllDigital
Output(led)
While true
led = Not led
DelayMS(100)
Wend
End
it doesn't do anything i'm trying to run at the max internal osc i was wondering if the "Include"IntOSC.bas"" id vslid and the setall digital as i didnt see the 18f06q41 in the file.
i generated the config from the config generator and tried with the full config.
anh help would be apreciated.
Rich
Hmmm..
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
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:
setdigitalio.bas:
Make sure you have SF 2.2.3.6 installed, and then apply the update from the User Module Wiki page
https://www.sfcompiler.co.uk/wiki/wiki- ... 2_2021.zip
(2.2.3.6 should get you the updated intosc and setdigitalio modules, but the 2_22_2021 update
should get everything else up to date)
If none of that seems to work let me know...
If everything's up to date, in the intosc.bas and setalldigital.bas files you should see:
intosc.bas:
Code: Select all
* Version : 2.4 11/16/2020 JM
* : add 18FxxQ40, 18FxxQ41
* : add 18Fx7Q83, 18FxxQ84
Code: Select all
* v2.8 - add 18FxxQ40
* - add 18FxxQ41
* - add 18Fx7Q83
* - add 18FxxQ84
* - fix 18F5xQ43 add ANSELC
* - add '#option DIGITALIO_ADREF' to allow setting ADREF
https://www.sfcompiler.co.uk/wiki/wiki- ... 2_2021.zip
(2.2.3.6 should get you the updated intosc and setdigitalio modules, but the 2_22_2021 update
should get everything else up to date)
If none of that seems to work let me know...
Re: Any thoughts on q41 parts?
Thanks for getting back to me quickly.
OK been out Christmas shopping and came back and found the led flashing.... so powered off and back on and still flashing.
re flashed the pic and the flashing stopped again....
I was at version 2.2.3.6 and 1.2.0.6
so did the update zip and the versions were upto 2.2.3.6 and 1.2.0.7, i checked the library info like you suggested and they match.
re flashed still no flashing yet.
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.
Rich
OK been out Christmas shopping and came back and found the led flashing.... so powered off and back on and still flashing.
re flashed the pic and the flashing stopped again....
I was at version 2.2.3.6 and 1.2.0.6
so did the update zip and the versions were upto 2.2.3.6 and 1.2.0.7, i checked the library info like you suggested and they match.
re flashed still no flashing yet.
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.
Rich
Hmmm..
Re: Any thoughts on q41 parts?
Argh!!!
so after unplugging the programmer the led flashing started again. it seems that after upgrading the ipe to allow for programming 18f06q41's the programmer forgot i wanted to leave the pic out of reset, even after it supposedly had used "previous setting" from a previous installation.
Thanks again Jerry for your excellent support.
Rich
better try the adc next !
so after unplugging the programmer the led flashing started again. it seems that after upgrading the ipe to allow for programming 18f06q41's the programmer forgot i wanted to leave the pic out of reset, even after it supposedly had used "previous setting" from a previous installation.
Thanks again Jerry for your excellent support.
Rich
better try the adc next !
Hmmm..