Thanks for that. I shall study the '1938. I hav to admit that I find it very difficult to select microchip products. It would be really usefull to have a chart showing the evolutionary path of the various chips. On 8 January 2014 18:13, Byron Jeff wrote: > On Wed, Jan 08, 2014 at 03:54:18PM +0100, Jan-Erik Soderholm wrote: > > Hi. > > > > There are no 1-to-1 match between them, but the 16F882 seems > > to be a normal 28-pin device. There are *a lot* of enhanced > > 28-pin versions and only you can say which one of them > > matches your needs best. > > I agree. From a real quick comparison of the 16F882 and the 16F1938. > > http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=3Den530146 > http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=3Den538157 > > it looks like except for the number of Cap Touch Channels (11 for 882, 8 > for the 1938), that each and every component of the 882 has a matching or > enhanced counterpart in the 1938. > > > > > On the other hand, maybe you should not change device if > > you do not actualy has a problem with the stack depth. > > > > On yet another hand, there are a lot of *other* nice > > "enhancements" in the enhanced midrange range... :-) > > Agreed here too. The accessible stack, linear memory, double the number o= f > FSR/INDF register sets, and the 14 additional enhanced instructions are > just the tip of the iceberg in terms of improvements. > > BAJ > > > > > Jan-Erik. > > > > > > > > > > > > David C Brown wrote 2014-01-08 15:32: > > > I am designing around the 16F882. Is there an enhanced version of > that? > > > > > > > > > On 8 January 2014 14:05, Jan-Erik Soderholm < > jan-erik.soderholm@telia.com>wrote: > > > > > >> Hi. > > >> > > >> All "enhanced mid-range" has 16 levels. > > >> And you want probably these in any new design anyway. > > >> Doesn't help keeping track, but give more headroom... :-) > > >> > > >> Jan-Erik. > > >> > > >> > > >> David C Brown wrote 2014-01-08 14:48: > > >>> The return stack on the mid range PICs is limited to 8 levels. > Whilst > > >> this > > >>> is generally adequate it is difficult to keep track of the call > depth. > > >> Is > > >>> there any tool for examining a program for maximum call depth? > > >>> > > >> -- > > >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > > >> View/change your membership options at > > >> http://mailman.mit.edu/mailman/listinfo/piclist > > >> > > > > > > > > > > > -- > > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > -- > Byron A. Jeff > Chair: Department of Computer Science and Information Technology > College of Information and Mathematical Sciences > Clayton State University > http://faculty.clayton.edu/bjeff > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: dcb.home@gmail.com SK23 7ND web: www.bings-knowle.co.uk/dcb --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .