12F1822 16F1823 Datasheet

Discussion in 'Embedded Systems and Microcontrollers' started by tracecom, Sep 6, 2013.

  1. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,871
    1,394
    The datasheet for these PICs is 436 pages long. Amazing! Especially considering their size.
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    They are of the more recent breed of PIC, chock full of fun features to read on and on about. ;)

    I have taken a particular liking to the 12F1822....
     
  3. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,871
    1,394
    Does anyone understand everything it will do? And for $1.51!
     
  4. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    Do Tell!? :cool:
    Max.
     
  5. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,871
    1,394
  6. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,394
    1,606
    PIC12F1822-I/P-ND at DigiKey.

    Same price as Mouser. That is no surprise as Microchip holds strong control over the pricing. If you want em cheaper you have to sneaky buy from the Pacific Rim where the pricing is adjusted down for a very tight market.
     
  7. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    I was just curious as to what specific values you feel it has, apart from the price?
    I know there is the data sheet, but I though you might post particular uses you have put it to?
    Max.
     
  8. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,871
    1,394
    My PIC knowledge is very basic; I was just marveling at the voluminous nature of the datasheet, and supposing what capabilities it must have to require a datasheet of that size.
     
  9. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    I really like the MSSP module and the fact it is a 12F family PIC with a USART module. It has capacitive sensing capabilities, and a fixed voltage reference (which comes in handy!), and the data signal modulator.

    I haven't used the capacitive sensing, but to have so much capability in such a small, 8-bit microcontroller is pretty cool!
     
    tracecom likes this.
  10. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,871
    1,394
    I ordered four 12F1822s today; they should be here Friday.
     
  11. JohnInTX

    Moderator

    Jun 26, 2012
    2,348
    1,029
    IF you've messed with the 16f midrange stuff, you'll really appreciate the enhancements in the architecture, cool peripherials notwithstanding.

    The IO works better with the LAT registers. No more r-m-w issues.
    FSRs span the entire RAM, no IRP stuff.
    FSRs have pre/post/increment/decrement. Maintaining pointers and moving data is a snap.
    The program ROM (data tables, etc) can be read with the FSRs, no more calculating PCLATH, PCL and worrying about crossing ROM banks.
    Linear ROM (at least in reasonable ROM sizes, no more fussing with 2K banks).
    Linearized GPR access via FSRs. Not as nice as the 18F but way better than midrange.
    Double the stack size. Yay. Stack is accessable - double Yay! Overflow/underflow detection too. Nice.
    Logical/arithmetic shifts.
    Add/subtract with carry/borrow! I'm getting the vapors here..
    GOTO spans entire ROM with no banking. BRA for shorter jumps.
    Computed calls/gotos in one instruction. Nice.

    I still prefer the 18F but have enjoyed working in enhanced midrange as well. IMHO, you'd have to have a really compelling reason to muck around in the older midrange stuff.

    Have fun! You'll enjoy this.
     
  12. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    Looks like I would need to upgrade to Pikit-3 from -2 for the new 12F's. :confused:
    Max.
     
  13. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    I have a Pickit 2. The standalone has programming support for them, though I don't think it supports debugging them.
     
  14. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    I don't see them on the stand alone V2.61?
    What do you have?
    Max.
     
  15. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,871
    1,394
    Neither do I. :( I should have checked that before I ordered chips.
     
  16. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Same version, though think you will need to update the device list to 1.62.14.

    Listed as supported here
     
  17. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    12F1822 not on the list!
    Max.
     
  18. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Do a find for "PIC12F1822"...it's there...

    I even opened up the device list file to be sure...
     
  19. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    I upgraded the Picit-2 standalone, but it did not upgrade the device file, is there a way to import this separately?
    OK I figured it out.
    Max.
     
    Last edited: Sep 11, 2013
  20. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Good that you got it. I did a quick search, but couldn't readily find it, and I've forgotten how it's done.

    Would you mind posting the process for those that will need to do it (tracecom)?
     
    tracecom likes this.
Loading...