# Simple 8 bit uP, 4 A/D in, 4 digital i/o, 8 bit A/D or better, C tools

#### Easy peasy

Hello all,

Am looking for a simple-ish, small, low cost-ish, but quality 8 bit ( or 16 ) uP for a high volume product

most of the stats are above, ideally 4 A/D on board or equivalent, i.e. 1 A/D and internal switching to 4 pins

kind regards to all.

##### Full Member level 2
PSOC 4M

Has scanning 12 bit SAR, onboard Vref, OpAmps, Analog Muxes, Comparators, DACs,
ARM core.

Routable onchip analog and digital, between components and out to pins, In PSOC land a
component is an onchip resource. Attached is a catalog of components for the 5LP family, the
4M family is a subset. All components have a library of C f() calls to manipulate the component,
eg. drivers, to make coding easy and fast.

View attachment Component List (2).doc

An example project, one chip. Dashed lines external components, solid lines onchip route. Right
hand window shows resources used/left. A 5LP part has >> resources than 4M if your design
expands.

IDE and compiler free, basic board $10. Pioneer board (arduino footprint)$ 25.

https://www.cypress.com/documentati...s/cy8ckit-043-psoc-4-m-series-prototyping-kit

https://www.cypress.com/documentation/development-kitsboards/cy8ckit-044-psoc-4-m-series-pioneer-kit

https://www.cypress.com/products/psoc-creator-integrated-design-environment-ide

Tons of examples projects in IDE and external -

If you at a future time want to do BLE projects -

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days

Lots of short videos for training -

https://www.cypress.com/video-library/PSoC-Software/psoc-creator-101-lesson-1-introduction-0/108116

https://www.cypress.com/training/psoc-101-video-tutorial-series-how-use-arm-cortex-m0-based-psoc-4

Regards, Dana.

- - - Updated - - -

I missed a couple of points.

Core is ARM 32 bit M0. That is a low end part in cost. In 2013 ARM was shipping billions of units.
Could not find a current stat.

https://www.arm.com/zh/files/event/20130715_AES_Joseph.pdf

The digital resources include simple routable gates, flops, muxs to LUT (registered option allows simple
state machines to be created, a wizard is used to create machine) to PWM/Counter/Timer/QuadDec...

Regards, Dana.

Last edited:

#### Easy peasy

thank you - but was hoping for something a little simpler that does not have to have the hardware "assembled" so to speak ...

#### srizbf

you can consider atmega8 or atmega328 based on the requirements
and cost.
Tools wise you have a lot.
compare their features and cost.

#### betwixt

##### Super Moderator
Staff member
The ADC requirement is only a tiny part of the spec, what else does it have to do.

Brian.

#### Easy peasy

Yes the PIC/ u-chip website lacks a parametric search - or really any helpful partitioning to allow a narrowing down of choices - hence the 1000 alternatives you mention...

really the requirements are very basic excepting the 4 A/D inputs, and 4 essentially digital o/p's required, minimal programming requirement ...

a u-power mode if possible, with wake up pin ...(?)

Staff member

### Easy peasy

points: 2

#### FvM

##### Super Moderator
Staff member
Microchip web site is changing from time to time, big changes took place as they acquired other CPU vendors. But they essentially have a kind of parametric search.

Klaus, your search targets to big ARM series which wouldn't be my first choice.

PIC16 or PIC18 (8 bit) is optimal for small functionality, I tend to use PIC24 (16 bit) even for smaller applications, but that's a matter of taste. According to the requested 4A + 4D ports, a 14 or 20 pin device should fit.

Most newer PIC devices have "Nano"-Power (< 1 uA typical quiescent current) with wakeup, also periodical watch dog wakeup can be easily implemented.

- - - Updated - - -

E.g. https://www.microchip.com/paramchartsearch/Chart.aspx?branchID=30048# , select appropriate pin count

#### KlausST

##### Super Moderator
Staff member
Hi,

Klaus, your search targets to big ARM series which wouldn't be my first choice.
Indeed only the first ones are ARMs ... further below there are many others.

Yes, it´s just a general Microchip selection guide...

Klaus

#### Easy peasy

Thanks Klaus for the link to the page - google got more servers where you are I think ...

##### Full Member level 2
thank you - but was hoping for something a little simpler that does not have to have the hardware "assembled" so to speak ...
Not sure what you are thinking but all you do is click on an onchip component, like PWM, OpAmp, Counter, Gates, A./D,
whatever, and drag and drop onto schematic. Then wire up I/O to chip pins of your choice or other onchip components,
like hook a counter to an internal clock or a mux..... Takes a few seconds/component typically. Again a component is an
onchip functional resource.

Regards, Dana.