• AVR Freaks

Hot!PIC clasification - diferences for J, K and Q types

Author
OsvaldoH
Starting Member
  • Total Posts : 50
  • Reward points : 0
  • Joined: 2012/11/24 12:49:19
  • Location: 0
  • Status: offline
2020/07/05 16:54:20 (permalink)
5 (1)

PIC clasification - diferences for J, K and Q types

I will start using PIC 18F devices and I can´t find the diference between J,  K  and Q devices
 
By example PIC18F26Q10 and   PIC18F27K42  
There are diferences in memory sizes and others, but which ones are related to K Q or J ?
 
Thank you in advance, Osvaldo
 
#1

18 Replies Related Threads

    katela
    Super Member
    • Total Posts : 1833
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/05 17:17:04 (permalink)
    +1 (1)
    You could try the device Selection for a quick summary of the family.
    PIC18 J-series Microcontrollers Webinar.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
    #2
    mbrowning
    USNA79
    • Total Posts : 1791
    • Reward points : 0
    • Joined: 2005/03/16 14:32:56
    • Location: Melbourne, FL
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/05 19:42:00 (permalink)
    +4 (4)
    K parts have cores that run from 1.8V up to 3.6V. LF versions are thus limited to 3.6V. For up to 5.5V IO you must choose the F Version which enables an internal regulator that supplies the core with a lower voltage. The penalty is higher static current and min 2.3V or so. Both versions are restricted to lower frequency operation at lower voltages.

    Q parts use a new process and only come in F version with a better internal regulator that doesn’t have as high a static current penalty as FxxK parts (but still higher than LFxxK parts). Q parts run at full 64MHz over the full voltage range.

    I haven’t used any J parts so take this as rumor mongering, but I vaguely recall them to be an older process than K,limited to 3.3V and have some architectural differences like no EEPROM,
    #3
    RISC
    Super Member
    • Total Posts : 5776
    • Reward points : 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 00:28:40 (permalink)
    +3 (3)
    Hi,
    If you take these PIC18F families historically it gives J => K => Q.
    J parts : limited to 3.3V, no E2PROM but extremely low sleep current
    K parts : 5.5V (F) & 3.3V (LF), E2PROM (except the first PIC18FxxK20 family), PPS introduced (programmable pins), CIP (advanced peripherals) and architectural improvements in some devices (interrupt controller, DMA)
    Q parts : 5.5V only no more F and LF, advanced analog 12bits ADCC (in some devices), architectural improvements in some devices (interrupt controller, DMA) and lower cost than K parts, lower static current.
    Regards

    For support make sure to check first here : http://microchipdeveloper.com
    There are hundreds of PIC, AVR, SAM...which one do YOU use ?
    #4
    Hen
    Senior Member
    • Total Posts : 86
    • Reward points : 0
    • Joined: 2018/10/24 04:01:44
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 01:39:55 (permalink)
    +1 (1)
    Apart from peripheral options there is no reason to go for K except if you really need 5V tolerance running 3.3V and don't like glue like LVC or such...
     
    BTW, Q does splendid at 3.3V as well.
    #5
    Jerry Messina
    Super Member
    • Total Posts : 540
    • Reward points : 0
    • Joined: 2003/11/07 12:35:12
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 02:46:16 (permalink)
    +1 (1)
    Hen
    Apart from peripheral options there is no reason to go for K except if you really need 5V tolerance running 3.3V and don't like glue like LVC or such...

    Most of the K series aren't 5V tolerant with VDD=3.3V. The IO pins have protection diodes that put a spec on the pins of -0.3V to (VDD + 0.3V).
     
    There are a few parts in the K series that have some "digital only" pins with a higher spec (no diodes), but those parts/pins are the exception and not the rule.
    #6
    Hen
    Senior Member
    • Total Posts : 86
    • Reward points : 0
    • Joined: 2018/10/24 04:01:44
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 03:08:54 (permalink)
    0
    Jerry Messina
    There are a few parts in the K series that have some "digital only" pins with a higher spec (no diodes), but those parts/pins are the exception and not the rule.

    Okie, these are the ones I have been used before...
    ...then maybe theres exceptions on the Q front as well?
    #7
    RISC
    Super Member
    • Total Posts : 5776
    • Reward points : 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 04:27:38 (permalink)
    +2 (2)
    Hi,
    Most PIC18F "J" parts have 5 volts tolerance on I/Os  with 3.3V Vdd.
    This capability is present in very few other PIC18 parts (except some "K") as Jerry mentioned  
    Q is somehow bringing together features and benefits from J & K even with low cost versions like Q10 derivatives.
    Regards
    PS : I personally really like the Q43 subfamily which really packs many nice features together

    For support make sure to check first here : http://microchipdeveloper.com
    There are hundreds of PIC, AVR, SAM...which one do YOU use ?
    #8
    OsvaldoH
    Starting Member
    • Total Posts : 50
    • Reward points : 0
    • Joined: 2012/11/24 12:49:19
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 10:16:46 (permalink)
    +1 (1)
    Thank you to all for the information.
    I am using at the moment PIC16F1825 running at 32MHz in a decoder for train models.
    Before I used PIC16F684 at 8MHz , with no sounds.
    It is decoding the DCC signal , controlling the motor, ligths and generating many sounds in the 24us interrupt, with output to a pwm pin.
    I wish now to add some recorded sounds and need 4 more pins for access to a big serial memory.
    I will move to PIC18F26Q10 because low price and internal hardware multiplier. (and EEPROM)
    I don't found lower pin count pic18F parts, and have tested that square 28 pins .65  spaced case can be also hand soldered. 
    32Mhz -> 64Mhz option give me an aditional time margen, if needed.
    From your comments I think that PIC18F26Q10 was a good election.  I have DIP and ML samples
     
    Regards, Osvaldo
    #9
    Jerry Messina
    Super Member
    • Total Posts : 540
    • Reward points : 0
    • Joined: 2003/11/07 12:35:12
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 11:43:48 (permalink)
    +3 (3)
    OsvaldoHI don't found lower pin count pic18F parts

    There are some 14/20-pin Q parts coming out (18FxxQ41 family) but they're still labeled "future products"
     
    RISCPS : I personally really like the Q43 subfamily which really packs many nice features together

    Watch out for the Q43 errata that effectively makes the part useless
    https://www.microchip.com/forums/FindPost/1145820
     
    #10
    Hen
    Senior Member
    • Total Posts : 86
    • Reward points : 0
    • Joined: 2018/10/24 04:01:44
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/06 21:36:59 (permalink)
    +1 (1)
    Oh, I feel this day is going to be wonderful, not.
     
    #11
    Hen
    Senior Member
    • Total Posts : 86
    • Reward points : 0
    • Joined: 2018/10/24 04:01:44
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/08 03:13:35 (permalink)
    0
    I have tested for the Q43 SRAM bug using the proposed detect mechanism but have yet to trap it.
     
    This die revision cannot end up at customers but I'm still curious how probable the bug is as I sit on a stash of them.
     
    Has anybody here encountered it yet?
     
    #12
    Jerry Messina
    Super Member
    • Total Posts : 540
    • Reward points : 0
    • Joined: 2003/11/07 12:35:12
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/08 03:30:33 (permalink)
    0
    I haven't seen it here, but since there are no details in the errata as to what conditions might cause this you're shooting in the dark.
     
    Following a device power up sequence, there is a possibility that some SRAM locations...

    Not much to go on there. The test code doesn't check some locations, it only checks the last byte of ram so who knows what you're really looking for.
    #13
    my504
    Junior Member
    • Total Posts : 20
    • Reward points : 0
    • Joined: 2018/01/21 05:29:36
    • Location: Moskow reg., Fryazino
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/08 04:53:39 (permalink)
    0
    Jerry Messina
    I haven't seen it here, but since there are no details in the errata as to what conditions might cause this you're shooting in the dark.
     

    I put 100 gold piastres against a cigar stub, which is a problem in the rate of increase in power. grin: grin
    (D006 Svdd) VDD Rise Rate to ensure internal Power-on Reset signal - min 50mV/ms
    There is a suspicion that the problem occurs near the declared speed.
    Anyone wanting to verify this assumption?
     
     
     
     
    #14
    Hen
    Senior Member
    • Total Posts : 86
    • Reward points : 0
    • Joined: 2018/10/24 04:01:44
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/08 21:03:23 (permalink)
    0
    One guess out of many?
     
    My board is at 3000 mV/ms (3.3V) and maybe I'll remove the 100µF tank to se...
    #15
    Hen
    Senior Member
    • Total Posts : 86
    • Reward points : 0
    • Joined: 2018/10/24 04:01:44
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/09 02:48:44 (permalink)
    0
    Nope, did not work that way, 100µF or not, still 3V/ms.
    Me supposes the regulator ramps the output voltage not limiting the current...
     
    BTW, found another (minor) bug (F57Q43).
     
    DAC1 output glitches almost full swing when enabled even though DATL is 0x00.
    First EN and later OE just postpones the glitch to the OE set.
    Same thing even with pin set to active output low (LAT/TRIS).
    #16
    rogerpic
    Starting Member
    • Total Posts : 72
    • Reward points : 0
    • Joined: 2018/01/06 04:06:07
    • Location: 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/09 06:11:49 (permalink)
    -2 (2)
    What i know is that J Q and K are pin ports of register. What you do is you are going to search datasheet from your chip. 
     
    Search for timelines off the port and you see what it gives. But J and K are dividers and Q is the output
    #17
    ric
    Super Member
    • Total Posts : 28009
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC clasification - diferences for J, K and Q types 2020/07/09 13:28:46 (permalink)
    +2 (2)
    rogerpic
    What i know is that J Q and K are pin ports of register. What you do is you are going to search datasheet from your chip. 
     
    Search for timelines off the port and you see what it gives. But J and K are dividers and Q is the output

    Please ignore this advice.
    rogerpic has no idea what your question is, and seems to be describing the features of a JK flipflop chip.
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #18
    RISC
    Super Member
    • Total Posts : 5776
    • Reward points : 0
    • Status: offline
    Re: PIC clasification - diferences for J, K and Q types 2020/07/09 14:19:46 (permalink)
    +2 (2)
    Maybe roger has a lot of humor Smile: SmileSmile: Smile

    For support make sure to check first here : http://microchipdeveloper.com
    There are hundreds of PIC, AVR, SAM...which one do YOU use ?
    #19
    Jump to:
    © 2020 APG vNext Commercial Version 4.5