$0.03 microcontroller

Started by Clifford Heath October 9, 2018
<https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html>
<http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf>

OTP, no SPI, UART or I&sup2;C, but still...

Clifford Heath
onsdag den 10. oktober 2018 kl. 03.05.27 UTC+2 skrev Clifford Heath:
> <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> > <http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf> > > OTP, no SPI, UART or I&sup2;C, but still... > > Clifford Heath
https://youtu.be/VYhAGnsnO7w
On Tuesday, October 9, 2018 at 9:05:27 PM UTC-4, Clifford Heath wrote:
> <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> > <http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf> > > OTP, no SPI, UART or I&sup2;C, but still... > > Clifford Heath
Interesting. They have some very off-brand FPGA type devices as well at very low prices, but they still don't do me any favors with the packages. Rick C.
torsdag den 11. oktober 2018 kl. 02.51.17 UTC+2 skrev gnuarm.del...@gmail.com:
> On Tuesday, October 9, 2018 at 9:05:27 PM UTC-4, Clifford Heath wrote: > > <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> > >
<http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf>
> > > > OTP, no SPI, UART or I&sup2;C, but still... > > > > Clifford Heath > > Interesting. They have some very off-brand FPGA type devices as well at very low
prices, but they still don't do me any favors with the packages.
>
they also do PCBs jlcpcb.com and I've heard they also have a dirt cheap assembly service as long as you only use their list of components, though it seems it is so far only available in China
Clifford Heath <no.spam@please.net> writes:
> <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> > <http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf> > OTP, no SPI, UART or I&sup2;C, but still...
That is impressive! Seems to be an 8-bit RISC with no registers, just an accumulator, a cute concept. 1K of program OTP and 64 bytes of ram, enough for plenty of MCU things. Didn't check if it has an ADC or PWM. I like that it's in a 6-pin SOT23 package since there aren't many other MCUs that small.
On Wed, 10 Oct 2018 19:29:13 -0700, Paul Rubin
<no.email@nospam.invalid> wrote:

>Clifford Heath <no.spam@please.net> writes: >> <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> >> <http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf> >> OTP, no SPI, UART or I&#2013266098;C, but still... > >That is impressive! Seems to be an 8-bit RISC with no registers, just >an accumulator, a cute concept.
There is a lot of operations that will update memory locations, so why would you need a lot of CPU registers.
>1K of program OTP and 64 bytes of ram,
1 KiB = 0.5 KiW is quite a lot, it is about 10-15 pages of commented assembly program listing.
>enough for plenty of MCU things. Didn't check if it has an ADC or PWM.
At least the 8 pin version has both a PWM as well as a comparator, so making an ADC wouldn't be too hard.
>I like that it's in a 6-pin SOT23 package since there aren't many other >MCUs that small.
On 10/10/2018 02:05, Clifford Heath wrote:
> <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> > <http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf> > > > OTP, no SPI, UART or I&sup2;C, but still... > > Clifford Heath
Has anyone actually used them - or worked out where to get the ICE and how much it costs ? MK
On 11/10/18 15:04, Michael Kellett wrote:
> On 10/10/2018 02:05, Clifford Heath wrote: >> <https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C_C129127.html> >> <http://www.padauk.com.tw/upload/doc/PMS150C%20datasheet%20V004_EN_20180124.pdf> >> >> >> OTP, no SPI, UART or I&sup2;C, but still... >> >> Clifford Heath > > Has anyone actually used them - or worked out where to get the ICE and > how much it costs ? > > MK
The cost of the ICE is not going to be significant for most people - you usually use a chip like this when you want huge quantities (even though it is available in small numbers). What turns me off here is the programming procedure for the OTP devices. There is no information on it - just a simple one-at-a-time programmer device. That is useless for production - you need an automated system, or support from existing automated programmers, or at the very least the programming information so that you can build your own specialist programmer. There is no point in buying a microcontroller for $0.03 if the time taken to manually take a device out a tube, manually program it, and manually put it back in another tube for the pick-and-place costs you $1 production time.
upsidedown@downunder.com writes:
> There is a lot of operations that will update memory locations, so why > would you need a lot of CPU registers.
Being able to (say) add register to register saves traffic through the accumulator and therefore instructions.
> 1 KiB = 0.5 KiW is quite a lot, it is about 10-15 pages of commented > assembly program listing.
It would be nice to have a C compiler, and registers help with that.
> At least the 8 pin version has both a PWM as well as a comparator, so > making an ADC wouldn't be too hard.
Thanks.
Am 12.10.2018 um 01:08 schrieb Paul Rubin:
> upsidedown@downunder.com writes: >> There is a lot of operations that will update memory locations, so why >> would you need a lot of CPU registers. > > Being able to (say) add register to register saves traffic through the > accumulator and therefore instructions. > >> 1 KiB = 0.5 KiW is quite a lot, it is about 10-15 pages of commented >> assembly program listing. > > It would be nice to have a C compiler, and registers help with that. >
Looking at the instruction set, it should be possible to make a backend for this in SDCC; the architecture looks more C-friendly than the existing pic14 and pic16 backends. But it surely isn't as nice as stm8 or z80. reentrant functions will be inefficent: No registers, and no sp-relative adressing mode. On would want to reserve a few memory locations as pseudo-registers to help with that, but that only goes so far. Philipp