On Wed, Jan 08, 2014 at 03:54:18PM +0100, Jan-Erik Soderholm wrote: > Hi. >=20 > 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. >=20 > On the other hand, maybe you should not change device if > you do not actualy has a problem with the stack depth. >=20 > 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 of FSR/INDF register sets, and the 14 additional enhanced instructions are just the tip of the iceberg in terms of improvements. BAJ >=20 > Jan-Erik. >=20 >=20 >=20 >=20 >=20 > 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 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. Whils= t > >> this > >>> is generally adequate it is difficult to keep track of the call dept= h. > >> 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 > >> > > > > > > > --=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 --=20 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 --=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 .