Shop OBEX P1 Docs P2 Docs Learn Events
More package choices in 32 bit Micros - DIP28, TSSOP20 etc — Parallax Forums

More package choices in 32 bit Micros - DIP28, TSSOP20 etc

jmgjmg Posts: 15,185
edited 2011-10-29 18:30 in General Discussion
I see NXP and Microchip are playing new product snap : More sensible (non BGA) small packages

PIC32 are now in 28-pin SPDIP, SSOP, SOIC and QFN packages
http://www.microchip.com/pagehandler/en-us/press-release/microchip-introduces-smallest-lowest-cost-pic32-mi.html

and LPC111x are also now in SO20, TSSOP20, TSSOP28 and DIP28
http://www.nxp.com/products/microcontrollers/cortex_m0/lpc1100l/#products

The PIC32 models include USB option, so that gives another choice for a really smart Download and Assist/Measure/Debug? to a Prop ?
The PIC QFN is a more usable 0.65mm than the 0.5mm of some, and SSOP28 is easy enough to handle, but compact.

Prices are lower than FTDI alternatives, tho the PIC info is vague on bus-powering.

Comments

  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-10-27 01:41
    The appearance of these new PDIP/SPDIP 32-bit microcontrollers can be threatening to the much-used AVRs, especially the Atmega88/168/328 ones. I would think newer Arduinos in future will be based on such things for easier programming.

    Many, many things can be simpler in 32-bit. If only they have DMA inside...
  • Heater.Heater. Posts: 21,230
    edited 2011-10-27 03:56
    Are there any of those 32 bit MCU's in DIP packages that have say 128 RAM and 64K FLASH?

    Ever since we started down the road of emulating a complete 8080/Z80 based CP/M computer on the Prop I have been keeping half an eye out for other MCU's that could do this in a single chip (No external RAM). Perhaps just now there are some. Otherwise I'm still looking forward to do this on the Prop II which will have plenty enough space for the complete emulation.
  • TorTor Posts: 2,010
    edited 2011-10-27 04:21
    @Heater: Apparently some of these pic32 (which should really be called MIPS) chips come with 128K RAM. There's a link from a thread over on the vintage-computer forums which include a z80 emulator running on one such: http://www.vintage-computer.com/vcforum/showthread.php?27703-Single-Chip-CP-M-Board

    Edit: Ah, right, you said DIP.. didn't notice that until Leon's post. The one I indirectly linked to is one-chip, but not DIP.

    -Tor
  • LeonLeon Posts: 7,620
    edited 2011-10-27 04:42
    I can't see Microchip putting a PIC32 with 128k RAM in a little DIP package. Those bigger chips always have oodles of I/O.

    64k RAM seems to be the maximum available.

    The DIP ones aren't available yet, I've just ordered some of the SOIC ones (PIC32MX110F016B-I/SO ). I'll get them on 2 November. I'll design a PCB for them. I started designing one some time ago for a pin-compatible 16-bit dsPIC, so it won't take long.

    Here are the chip details:

    http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en555989
  • Heater.Heater. Posts: 21,230
    edited 2011-10-27 05:07
    Well, I might have to rellax the DIP requirement but bigger pins the better. After all the Prop II will not be DIP.
    128K RAM is a must. 64K for CP/M and some room to move.

    I like one comment over on the vintage forum "looks like emulating a CP/M computer is the new 'Hello world' for MCUs".

    Well, the Prop still makes the smallest CP/M machine so far.
  • jmgjmg Posts: 15,185
    edited 2011-10-27 12:36
    Heater. wrote: »
    Are there any of those 32 bit MCU's in DIP packages that have say 128 RAM and 64K FLASH?

    Nothing I have ever seen, has that mix of Flash and RAM. RAM is much larger on die, so flash size tends to be bigger.
    DIP these days will also be SkinnyDip, and that limits the die size.

    You could look at something like the new Atmel SAM4S - comes in TQFP48 and up ?
    ["The Atmel SAM4S16, the first member of our SAM4 family, operates at a maximum speed of 120MHz and features 1MB of Flash, 128KB of SRAM"]
    Plans for "Up to 2MB of Flash and 192KB of SRAM"

    - not sure if this family supports QuadSPI ?
    However, I do see Atmel missed the chance to move to 32 bit timers

    Or you could look at the LPC43xx, which has a M0 copro, and that may allow a nice peripheral memory map emulation ?

    Also available in RAM only, which is cheaper :
    LPC4320 200 KB SRAM 150 MHz LQFP-100 $5.36
    and I think this family can boot/run from QuadSPI.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-10-27 23:22
    There is an AVR with 96KB sram and IIRC 512KB flash AT32UC3B1512. It is 60MHz and in a 48VQFN package. Not sure if QFP is also supported.

    However, most micros are not aimed at the hobbyist, hence no DIP packages. Commercially, for any volume, t/hole is dead - its just a fact of life.
  • AleAle Posts: 2,363
    edited 2011-10-28 00:39
    CLuso,

    that is an AVR32, nothing to do with the ATMegas or ATTinys. The AVR32 assembler is extremely nice and compact. and supports unaligned access too !, Sadly they discontinued the AP7000 line, it had MMU and full linux support :(.

    BTW, who would have thought that a MIPS processor would fit such a package some 20 years ago on the days of DEC...
  • User NameUser Name Posts: 1,451
    edited 2011-10-28 02:05
    Leon wrote: »
    I'll design a PCB for them. I started designing one some time ago for a pin-compatible 16-bit dsPIC, so it won't take long.

    Just an observation... Laying out boards seems to be an odd avocation for a computer expert. At one company where I worked, laying out boards was what the new guy did. At another, board design was what the guy who sucked at programming did.

    I'd expect someone with vast computer experience to be creating killer apps or a new operating system. Seems like demo boards aren't too hard to come by.
  • LeonLeon Posts: 7,620
    edited 2011-10-28 02:38
    The latest 8.80 version of MPLAB supports those new PIC32 devices.

    I actually like designing PCBs and it only takes a few minutes to design a board like that. Here is the schematic:
  • AleAle Posts: 2,363
    edited 2011-10-28 02:49
    User Name: And that is why many boards are really bad. Designing boards is an art, it requires time, attention to detail, good schematics, the right parts, and knowledge. Just putting the packages and pressing auto-route is a recipe for disaster. I cannot say that my boards are as good as they can be, but I least I try not to rush them. Specially because most of them are some kind of prototype, many revisions are not something I have to do (because the project will only get 1 board). I have been designing board for the last 23 years with different kinds of results :), but I know I will always forget something... the point is to not forget that much!, and the boards have been increasing in complexity steady, specially in the last few years :).
  • mindrobotsmindrobots Posts: 6,506
    edited 2011-10-28 02:51
    Just an observation, I think Leon is at a point in his life and career where he can choose to do what he wants to do and enjoys doing...even if it's being the cantankerous contrarian at times!

    I'm envious! Enjoy!!
  • LeonLeon Posts: 7,620
    edited 2011-10-28 02:58
    I'm 69 and can do whatever I want to do. :) I've been working on stuff like this for nearly 50 years, on and off, starting as a student with English-Electric-LEO-Marconi Computers, when I worked on the LEO III computer. I designed the rather famous audible monitor circuit for it including the PCB design. When the machine went into production, I saw them on the production line at Kidsgrove, with my PCB bolted onto the frame.

    http://en.wikipedia.org/wiki/LEO_%28computer%29

    Where I used to work, it was a smallish company with about 30 employees. Engineers were responsible for hardware design, including the PCB, and software development. I designed their main product, and had another engineer design the PCB for me, as I needed to get the software done ASAP. It was a six-layer board, and took about a month. That was hardly the sort of thing that would be given to a new employee. It worked first time.
  • Heater.Heater. Posts: 21,230
    edited 2011-10-28 03:03
    User Name,

    That's not very nice. It's a serious put down to all the worlds PCB designers. It implies that software engineers are some how smarter than board designers. In my experience there is no evidence to suggest that. As it stands the software guys are dependent on PCB designers, not to mention logic designers, chip designers, analog electronics experts, mechanical designers etc etc. A whole world of stuff most softies know nothing about. Else they have no where for their oh so brilliant software to run.

    Me, I used to work for Racal on software for a schematic capture/PCB layout package, I soon discovered that laying out boards is not necessarily as easy as it looks when you have a huge list of electrical, thermal, mechanical even aesthetic constraints to work within.

    On another level, laying out boards can be a nice puzzle to relax the mind after a hard day churning out code. Like some people tackle crossword puzzles or sudoku for a good change.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2011-10-28 03:30
    @heater
    I like one comment over on the vintage forum "looks like emulating a CP/M computer is the new 'Hello world' for MCUs".

    That wouldn't be me by any chance? http://www.vintage-computer.com/vcforum/showthread.php?27703-Single-Chip-CP-M-Board post #10

    In a way I think CP/M can be a useful test because even on 64k CP/M you ran out of memory after a few days of coding, and then we had so called "progress" to pic chips with only a few hundred bytes of ram. Fortunately in the last few years microcontrollers are getting a decent amount of ram.

    I very much agree that we need more micros in proper packages that you can put on a breadboard and experiment with. The DIP package was what got me into the Propeller in the first place and I still think it is a huge selling point. You can get things working on a breadboard without having to solder, and IMHO that is a great way to get a younger generation interested in electronics.

    @Leon
    I'm 69 and can do whatever I want to do.
    I like that. Good on ya, mate!
  • LeonLeon Posts: 7,620
    edited 2011-10-28 03:36
    Microchip still provides a DIP option for all their smaller chips. They work well at maximum clock rates (up to 40 MIPS) because they tend to put the Vdd and Vss connections at the end of the chip on adjacent pins, making effective decoupling very easy. I can't understand why most other manufacturers put them on opposite corners. TI actually produced a range of TTL devices at one time, with the supply and ground pins in the middle of each row of pins; I don't think that they were very popular, though.
  • RsadeikaRsadeika Posts: 3,837
    edited 2011-10-28 03:59
    @All, User Name, is at it again. Must be really intimidated by Leon. Maybe User Name could provide some "killer apps", instead of taking shots at other forum members!

    Ray
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-10-28 04:19
    Leon:I havent heard the LEO mentioned in such a long time.

    I have layed out a number of professional pcbs in my time. At times I was able to use professional pcb design houses and instead devote my time to the hardware and firmware (software burnt in eprom). Anyone can lay a pcb out, but it takes a proper understanding to get it right the first time, both in hardware design and correct layout which means proper decoupling, ground and power planes, correct part locations, sizes of tracks, hole and pad sizes, etc, etc. Almost all my designs remain at the first pcb revision which is the prototype. TriBlade and RamBlade are first pcbs, as are all my latest pcbs with 1 exception, and I overclock all my props to 104MHz.
  • LeonLeon Posts: 7,620
    edited 2011-10-28 04:46
    It was great fun working at the LEO facility in Acton. Apart from the circuit I mentioned, I designed a logic probe based on a staticiser (register) board, connected to a BIC ball-pen, and spent a lot of time testing microcode ROMs, based on pulse transformers, that had been assembled at Kidsgrove. They were large T-shaped paxolin assemblies, we called them "banjos". I used to correct any faults I found, instead of rejecting them as I was supposed to, as it made the job more interesting.

    At Kidsgrove, I worked in the main development lab where the prototype KDF9 was being developed. I spent a lot of time working on a LACE analogue computer. Next to it was a little (wardrobe-sized) KDN2 computer which my boss had programmed to generate football pool permutations for a syndicate that had been organised. They never won anything.
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-10-28 05:01
    I have no worries about Microchip's PIC32 in DIP form, as I know Pickit 2 or 3 have the capability of programming them, after a firmware update to these programmers. I compiled some programs on a PIC32 without a hitch.

    However, that'll be another story in NXP's Cortex-M0 (also in DIP form factor) offerings. Either someone else in DangerousPrototypes or Adafruit will make a simple programmer for this one once it gets popular. Also, the compilers for ARM are very difficult to use.

    What can I do on these little things? It would be a dsPIC replacement, but not a 100% one due to the absence of DSP-specific instructions in PIC32 and the M0. :)
  • LeonLeon Posts: 7,620
    edited 2011-10-28 05:08
    I have the Rowley CrossWorks tools for ARM development. They are adding the new devices, and I use one of their CrossConnect Pro units for programming/debugging.

    The PIC32 has some DSP instructions, such as MADD, which performs a MAC function.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-10-28 05:16
    Just like Leon, I choose to layout my pcbs now because I enjoy it.

    Leon, a friend of mine iirc worked on the Leos. I worked on Frieden/Singer/ICL System Ten and 25 including teaching both hardware and software and I designed interfaces for them including a multiprocessor pcb that plugged into the bus of the 25. This was a most enjoyable time and spanned 1974-2000. The Ten was released in 1969 and a large number of 25s were still being used right up to the end of the 90s. It only stored the date as YYMMDD.

    In so many ways, the Ten and 25 are like the prop... risc with src and dest in the instruction, calls and jumps similar, hub and cog memory, etc. One of these days I will get around to emulating them on a prop - I did it on a pc writing it in 486 assembler on a 30MHz pc. It was validated at about 3x performance.
  • TorTor Posts: 2,010
    edited 2011-10-28 05:51
    Cluso99 wrote: »
    In so many ways, the Ten and 25 are like the prop... risc with src and dest in the instruction[..]*
    I used to work with a 16-bit minicomputer which also used instructions with src and dest as part of the instruction (although src and dest would for most of the instructions be registers, not memory). The whole instruction set was laid out in a way which allowed the assembler to be written in a very peculiar way.. the instruction 'COPY SA DB' (copy from register A to register B), for example, would be assembled by adding the mnemonic for COPY, octal 0146100 plus the mnemonic for SA (source A), octal 000050 plus the mnemonic for DB (destination B), octal 000003, and arrive at octal 0146153 which is the opcode for 'copy from A to B'. Thus, it didn't matter to the assembler if you wrote COPY SA DB or COPY DB SA. On the other hand you were free to write illegal instructions, e.g. COPY DB DB because the assembler just added up mnemonics. That would actually end up as a different opcode from what you had intended.. (From this I guess it's clear that the real src and dst are bits, 3 to be precise, in specific positions of the instructions).

    Other instructions had the index as part of the instruction itself. You could write self-modifying code to update the index if you wished to, but as the CPU could also switch to separate code and data banks (which would give you another 64kilowords of memory to work with), it was better to use another feature: An instruction which would execute whatever was in a given register as an instruction. So just keep updating that register, and execute its content.

    That disappeared quite a while ago, but I recently wrote a user-level emulator and had to dig up all of that again. A fun architecture in lots of ways.

    -Tor
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-10-29 17:22
    The System Ten used 10 bytes of 6 bits for the native instructions. You could compile each instruction (only 15 of them) in your head. Everything was memeory to memory and a single bit (making the address -ve or +ve) was used to refer to hub or cog memory. One instruction could multiply A (1-10 decimal digits) by B(1-10 decimal digits) and place the decimal answer in B(sum of the A+B digits) - overflow was not possible. Divide worked in reverse. Memory was addressed decimally, hence the 10 bytes per instruction.
    The System 25 use used 10 bytes of 8 bits for the native instructions. Up to 32 instructions were now possible (think about 25 were implemented??), and the memory size was increased by more bits.
  • bill190bill190 Posts: 769
    edited 2011-10-29 18:30
    Interesting comment about PCB layout being for beginners? Actually that is something I would find quite difficult and would not even attempt!

    Just one problem I found with a keyboard PCB was long traces next to each other going to the keys the furthest away from the top where the cable was attached.

    Because these were next to each other for quite a distance, they had a bit of capacitance between them.

    And you clock these things fast, then the microcontroller thinks the previous key scanned is a key press because it still is high (due to the capacitance). But you need to get the traces down there somehow!

    Then you get multilayer boards, etc. I can't imagine being able to design this stuff and take into consideration problems such as the above.

    Even worse is something which involves capacitive sensing. All sorts of things you must do or can't do. Here is paper on that...
    http://ww1.microchip.com/downloads/en/AppNotes/01102a.pdf

    Mind boggling to me!
Sign In or Register to comment.