Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Things equal to nothing else are equal to each other.


tech / sci.electronics.design / Re: Fast simple microcontroller

SubjectAuthor
* Fast simple microcontrollerAnthony William Sloman
+- Re: Fast simple microcontrollerJohn Walliker
+- Re: Fast simple microcontrollerClive Arthur
+* Re: Fast simple microcontrollerDon Y
|`* Re: Fast simple microcontrollerAnthony William Sloman
| +* Re: Fast simple microcontrollerChris Jones
| |+* Re: Fast simple microcontrollerDon Y
| ||`* Re: Fast simple microcontrollerAnthony William Sloman
| || `* Re: Fast simple microcontrollerDon Y
| ||  +- Re: Fast simple microcontrollerAnthony William Sloman
| ||  `* Re: Fast simple microcontrollerJohn Walliker
| ||   +* Re: Fast simple microcontrollerDon Y
| ||   |`* Re: Fast simple microcontrollerJohn Walliker
| ||   | `* Re: Fast simple microcontrollerDon Y
| ||   |  `* Re: Fast simple microcontrollerTom Gardner
| ||   |   +* Re: Fast simple microcontrollerDon Y
| ||   |   |+* Re: Fast simple microcontrollerJohn Walliker
| ||   |   ||`- Re: Fast simple microcontrollerDon Y
| ||   |   |`* Re: Fast simple microcontrollerTom Gardner
| ||   |   | `- Re: Fast simple microcontrollerDon Y
| ||   |   +* Re: Fast simple microcontrollerEd Lee
| ||   |   |`- Re: Fast simple microcontrollerDon Y
| ||   |   `* Re: Fast simple microcontrollerClifford Heath
| ||   |    +* Re: Fast simple microcontrollerRick C
| ||   |    |+* Re: Fast simple microcontrollerAnthony William Sloman
| ||   |    ||+* Re: Fast simple microcontrollerMartin Brown
| ||   |    |||`* Re: Fast simple microcontrollerDon Y
| ||   |    ||| `* Re: Fast simple microcontrollerMartin Brown
| ||   |    |||  `- Re: Fast simple microcontrollerDon Y
| ||   |    ||`- Re: Fast simple microcontrollerRick C
| ||   |    |`* Re: Fast simple microcontrollerClifford Heath
| ||   |    | `- Re: Fast simple microcontrollerRick C
| ||   |    +* Re: Fast simple microcontrollerDon Y
| ||   |    |`* Re: Fast simple microcontrollerTom Gardner
| ||   |    | `- Re: Fast simple microcontrollerDon Y
| ||   |    `* Re: Fast simple microcontrollerTom Gardner
| ||   |     `* Re: Fast simple microcontrollerClifford Heath
| ||   |      +- Re: Fast simple microcontrollerTom Gardner
| ||   |      `- Re: Fast simple microcontrollerRick C
| ||   `- Re: Fast simple microcontrollerRick C
| |+- Re: Fast simple microcontrollerbitrex
| |`* Re: Fast simple microcontrollerAnthony William Sloman
| | +* Re: Fast simple microcontrollerClive Arthur
| | |+* Re: Fast simple microcontrollerDon Y
| | ||`* Re: Fast simple microcontrollerClive Arthur
| | || `- Re: Fast simple microcontrollerDon Y
| | |`* Re: Fast simple microcontrollerChris Jones
| | | +* Re: Fast simple microcontrollerClive Arthur
| | | |+- Re: Fast simple microcontrollerDon Y
| | | |`* Re: Fast simple microcontrollerChris Jones
| | | | `* Re: Fast simple microcontrollerRick C
| | | |  `* Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | |   `- Re: Fast simple microcontrollerRick C
| | | +* Re: Fast simple microcontrollerEd Lee
| | | |+* Re: Fast simple microcontrollerRick C
| | | ||`* Re: Fast simple microcontrollerEd Lee
| | | || `* Re: Fast simple microcontrollerRick C
| | | ||  `* Re: Fast simple microcontrollerEd Lee
| | | ||   `* Re: Fast simple microcontrollerRick C
| | | ||    +* Re: Fast simple microcontrollerEd Lee
| | | ||    |`* Re: Fast simple microcontrollerRick C
| | | ||    | `* Re: Fast simple microcontrollerEd Lee
| | | ||    |  `* Re: Fast simple microcontrollerRick C
| | | ||    |   `* Re: Fast simple microcontrollerEd Lee
| | | ||    |    `* Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerAnthony William Sloman
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerwhit3rd
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +* Re: Fast simple microcontrollerEd Lee
| | | ||    |     |`- Re: Fast simple microcontrollerPiotr Wyderski
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerRick C
| | | ||    |     +* Re: Fast simple microcontrollerRick C
| | | ||    |     |`* Re: Fast simple microcontrollerPiotr Wyderski
| | | ||    |     +- Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     +- Re: Fast simple microcontrollerLasse Langwadt Christensen
| | | ||    |     +- Re: Fast simple microcontrollerEd Lee
| | | ||    |     `- Re: Fast simple microcontrollerRick C
| | | ||    `* Re: Fast simple microcontrollerRick C
| | | |`* Re: Fast simple microcontrollerPiotr Wyderski
| | | `- Re: Fast simple microcontrollerRick C
| | `* Re: Fast simple microcontrollerLasse Langwadt Christensen
| +* Re: Fast simple microcontrollerMichael Kellett
| `- Re: Fast simple microcontrollerpiglet
+* Re: Fast simple microcontrollerKlaus Vestergaard Kragelund
+* Re: Fast simple microcontrollerFred Bloggs
+* Re: Fast simple microcontrollerRick C
`- Re: Fast simple microcontrollerPiotr Wyderski

Pages:1234567
Re: Fast simple microcontroller

<kbtdggpg87jpilbktgkg5qjdaj9l7untch@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69629&group=sci.electronics.design#69629

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 01 Aug 2021 14:30:18 -0500
From: jlar...@highlandsniptechnology.com
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Sun, 01 Aug 2021 12:30:20 -0700
Message-ID: <kbtdggpg87jpilbktgkg5qjdaj9l7untch@4ax.com>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com> <sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com> <qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com> <sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4> <7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 36
X-Trace: sv3-X1tSnHWTwY3xC40OY31YiROVzK6QIr+0oeui6Fdvq1KoTJdAcX3L6WpNfwhMMtiuHWnPcyv/9LXIfhb!Vg07Pervk7upKg9DT2HbosbSvLhk+/9fFhXgS2P5A4kGOhbv5rzmjGeSC8GFCKXB1CQu6/vJ45wd!Sefy1w==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2604
 by: jlar...@highlandsniptechnology.com - Sun, 1 Aug 2021 19:30 UTC

On Sun, 1 Aug 2021 11:51:48 -0700, Don Y <blockedofcourse@foo.invalid>
wrote:

>On 8/1/2021 8:07 AM, Piotr Wyderski wrote:
>> Ed Lee wrote:
>>
>>> But FPGA cannot do the deep sleep as micro. Many micros can sleep in 100uA.
>>
>> Some FPGAs can go well below that, e.g. MachXO2. And this is a lot for an MCU;
>> MSP430 can go well below 1uA in sleep mode. They say it is in the 100nA range,
>> but I have never had the need to go that low, so I can't confirm.
>>
>> But the FPGA addresses the hard real time requirements of a switched converter
>> in a very natural way. In the case of an MCU it is always a PITA.
>
>There are MCUs that address those needs. The advantage of an MCU is that
>it is considerably easier to get it to do *other* things, as well.

The advantage of an FPGA is that it does everything simultaneously.

There are overlaps between procedural code and hard state machines,
but nobody wants to implement a web page server in a pure FPGA.

We have one pretty fancy control loop that runs at 40 MHz. Kinda tough
for a uP.

--

John Larkin Highland Technology, Inc

The best designs are necessarily accidental.

Re: Fast simple microcontroller

<se6t5u$jltd$1@portraits.wsisiz.edu.pl>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69631&group=sci.electronics.design#69631

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!wsisiz.edu.pl!.POSTED.h82-143-146-166-static.e-wro.net.pl!not-for-mail
From: bomb...@protonmail.com (Piotr Wyderski)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Sun, 1 Aug 2021 21:37:22 +0200
Organization: http://www.wit.edu.pl
Message-ID: <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me>
<8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4>
<2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com>
<se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 1 Aug 2021 19:37:34 -0000 (UTC)
Injection-Info: portraits.wsisiz.edu.pl; posting-host="h82-143-146-166-static.e-wro.net.pl:82.143.146.166";
logging-data="645037"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <se6qg3$5qg$3@dont-email.me>
Content-Language: en-US
X-Antivirus: Avast (VPS 210801-4, 8/1/2021), Outbound message
X-Antivirus-Status: Clean
X-Received-Bytes: 1901
 by: Piotr Wyderski - Sun, 1 Aug 2021 19:37 UTC

Don Y wrote:

> There are MCUs that address those needs.  The advantage of an MCU is that
> it is considerably easier to get it to do *other* things, as well.

The other things is precisely what will eventually lead you astray.
Power control is no joke, don't mess with it with an MCU, at least if
you don't plan to roast some marshmallows.

Best regards, Piotr

Re: Fast simple microcontroller

<se6ud9$13g$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69634&group=sci.electronics.design#69634

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Sun, 1 Aug 2021 12:58:34 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <se6ud9$13g$1@dont-email.me>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me>
<8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4>
<2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com>
<se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me>
<se6t5u$jltd$1@portraits.wsisiz.edu.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 1 Aug 2021 19:58:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="474d8b82c75ae90d85399fbb0563d434";
logging-data="1136"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SL/RxoIFENZdvKQQyJfFL"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:znqFfyQLQ8v2G3+dgyYtsrnNIBA=
In-Reply-To: <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
Content-Language: en-US
 by: Don Y - Sun, 1 Aug 2021 19:58 UTC

On 8/1/2021 12:37 PM, Piotr Wyderski wrote:
> Don Y wrote:
>
>> There are MCUs that address those needs. The advantage of an MCU is that
>> it is considerably easier to get it to do *other* things, as well.
>
> The other things is precisely what will eventually lead you astray.

Only if you aren't disciplined in your design approach.

> Power control is no joke, don't mess with it with an MCU, at least if you don't
> plan to roast some marshmallows.

I'm designing a PoE PD controller with one, presently.

Re: Fast simple microcontroller

<ko6eggtoptf5p2v0j7ti136luchkaj2c66@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69655&group=sci.electronics.design#69655

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder5.feed.usenet.farm!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 01 Aug 2021 17:15:25 -0500
From: jlar...@highlandsniptechnology.com
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Sun, 01 Aug 2021 15:15:27 -0700
Message-ID: <ko6eggtoptf5p2v0j7ti136luchkaj2c66@4ax.com>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com> <sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com> <qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com> <sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4> <7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me> <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 35
X-Trace: sv3-zSKDoWSUINS3zLknJyx9BS/KTPoru+OGyeBjoUQGOQkusMII0auNL8BbsJy2Z19KY3WA9g5KQqCr2Oc!DehFRKx1WRuhKXLzM57oLo4mGbIewErXs99t4h+BQz0eG9B0Si6OjHn+4pw7UrLuS7J/ipA+BRWD!1ZAZaA==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2494
 by: jlar...@highlandsniptechnology.com - Sun, 1 Aug 2021 22:15 UTC

On Sun, 1 Aug 2021 21:37:22 +0200, Piotr Wyderski
<bombald@protonmail.com> wrote:

>Don Y wrote:
>
>> There are MCUs that address those needs.  The advantage of an MCU is that
>> it is considerably easier to get it to do *other* things, as well.
>
>The other things is precisely what will eventually lead you astray.
>Power control is no joke, don't mess with it with an MCU, at least if
>you don't plan to roast some marshmallows.
>
> Best regards, Piotr

We have a programmable constant voltage/current supply thing, 12
channels per board, with each channel having its own floating uP that
does filtering and PID control. We use an LPC1754 at a 100 KHz
interrupt rate; the code runs for about 5 us per hit as I recall. We
cranked the CPU clock down to save power.

Arrow programs the chips for us.

A uP is fine for power supply control. They have ADCs, DACs, and PWMs.
Just do the code right.

--

John Larkin Highland Technology, Inc

The best designs are necessarily accidental.

Re: Fast simple microcontroller

<se7800$1nd$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69656&group=sci.electronics.design#69656

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dp...@tgi-sci.com (Dimiter_Popoff)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Mon, 2 Aug 2021 01:42:06 +0300
Organization: TGI
Lines: 46
Message-ID: <se7800$1nd$1@dont-email.me>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me>
<8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4>
<2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com>
<se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me>
<se6t5u$jltd$1@portraits.wsisiz.edu.pl>
<ko6eggtoptf5p2v0j7ti136luchkaj2c66@4ax.com>
Reply-To: dp@tgi-sci.com
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 1 Aug 2021 22:42:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="720cd2168bea3d7577478292f6806cf8";
logging-data="1773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AypMpCTu0Wgd5ZX1SXL8i4le+MBRr1GM="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:zSar77BoDqgbqu64d+AsGfHjHzg=
In-Reply-To: <ko6eggtoptf5p2v0j7ti136luchkaj2c66@4ax.com>
Content-Language: en-US
 by: Dimiter_Popoff - Sun, 1 Aug 2021 22:42 UTC

On 8/2/2021 1:15, jlarkin@highlandsniptechnology.com wrote:
> On Sun, 1 Aug 2021 21:37:22 +0200, Piotr Wyderski
> <bombald@protonmail.com> wrote:
>
>> Don Y wrote:
>>
>>> There are MCUs that address those needs.  The advantage of an MCU is that
>>> it is considerably easier to get it to do *other* things, as well.
>>
>> The other things is precisely what will eventually lead you astray.
>> Power control is no joke, don't mess with it with an MCU, at least if
>> you don't plan to roast some marshmallows.
>>
>> Best regards, Piotr
>
> We have a programmable constant voltage/current supply thing, 12
> channels per board, with each channel having its own floating uP that
> does filtering and PID control. We use an LPC1754 at a 100 KHz
> interrupt rate; the code runs for about 5 us per hit as I recall. We
> cranked the CPU clock down to save power.
>
> Arrow programs the chips for us.
>
> A uP is fine for power supply control. They have ADCs, DACs, and PWMs.
> Just do the code right.
>
>
>

Of course they are fine. The first time I designed one for such
purposes was back in 1993... in this: http://tgi-sci.com/tgi/fr64.gif .
A HC11 was dedicated to monitor all the convertors (+5, +/-15, +/-24,
I may be forgetting some) and shut them off on over/undervoltage within
a ms or so, it also did the pwm to charge/maintain the battery,
connected to a ps2 keyboard (so the main CPU - a "mighty" 68340 - would
access it through it via spi) .... etc. etc. Ah yes, it stored
a lot of board unique trim values in its eeprom.
If designed correctly - with reset conditions etc. in mind - MCU-s
are a real blessing for power supply usage, have been for decades.

Dimiter

======================================================
Dimiter Popoff, TGI http://www.tgi-sci.com
======================================================
http://www.flickr.com/photos/didi_tgi/

Re: Fast simple microcontroller

<1697529ab1bf941c$1$1356503$70dd7a6b@news.thecubenet.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69660&group=sci.electronics.design#69660

  copy link   Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Newsgroups: sci.electronics.design
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com> <sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com> <qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com> <sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4> <7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
From: no.s...@please.net (Clifford Heath)
Date: Mon, 2 Aug 2021 09:30:14 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <1697529ab1bf941c$1$1356503$70dd7a6b@news.thecubenet.com>
Lines: 11
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!2a07:8080:119:fe::44.MISMATCH!news.thecubenet.com!not-for-mail
NNTP-Posting-Date: Sun, 1 Aug 2021 23:30:14 +0000
X-Received-Bytes: 1415
Organization: theCubeNet - www.thecubenet.com
X-Complaints-To: abuse@thecubenet.com
 by: Clifford Heath - Sun, 1 Aug 2021 23:30 UTC

On 2/8/21 1:07 am, Piotr Wyderski wrote:
> Ed Lee wrote:
>> But FPGA cannot do the deep sleep as micro.  Many micros can sleep in
>> 100uA.
> Some FPGAs can go well below that, e.g. MachXO2. And this is a lot for
> an MCU; MSP430 can go well below 1uA in sleep mode. They say it is in
> the 100nA range, but I have never had the need to go that low, so I
> can't confirm.
The MSP430 can keep a 32KHz real-time clock alive on under 1uA. That's
what drew me to it for a project in 2005, which had to run ten years off
a 2032 coin cell.

Re: Fast simple microcontroller

<se7c0b$nuj$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69663&group=sci.electronics.design#69663

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Sun, 1 Aug 2021 16:50:33 -0700
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <se7c0b$nuj$1@dont-email.me>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me>
<8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4>
<2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com>
<se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me>
<se6t5u$jltd$1@portraits.wsisiz.edu.pl>
<ko6eggtoptf5p2v0j7ti136luchkaj2c66@4ax.com> <se7800$1nd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 1 Aug 2021 23:50:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="13d5ca830e814f5cb8ebcea77c2fff61";
logging-data="24531"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Yyzi/fcj/huH7+cSU4mHi"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:VFECeKRU9TC5IYDj8fBeM5ydg1s=
In-Reply-To: <se7800$1nd$1@dont-email.me>
Content-Language: en-US
 by: Don Y - Sun, 1 Aug 2021 23:50 UTC

On 8/1/2021 3:42 PM, Dimiter_Popoff wrote:
> Of course they are fine. The first time I designed one for such
> purposes was back in 1993... in this: http://tgi-sci.com/tgi/fr64.gif .
> A HC11 was dedicated to monitor all the convertors (+5, +/-15, +/-24,
> I may be forgetting some) and shut them off on over/undervoltage within
> a ms or so, it also did the pwm to charge/maintain the battery,
> connected to a ps2 keyboard (so the main CPU - a "mighty" 68340 - would
> access it through it via spi) .... etc. etc. Ah yes, it stored
> a lot of board unique trim values in its eeprom.
> If designed correctly - with reset conditions etc. in mind - MCU-s
> are a real blessing for power supply usage, have been for decades.

How is it any different than letting a processor control a
delicate mechanism (that could be expensive to replace, recalibrate,
etc.)?

At it's heart, it's just "electronics" sequenced in a KNOWN manner.
You just need to be sure that "known manner" has been designed
robustly.

Or, that you are willing to tolerate some number of faults/failures
in the name of some sort of economy. Why do power supplies fail?
Isn't that an old, established technology??

Re: Fast simple microcontroller

<0b24f50d-4991-4cb1-bafc-01479c49c95bn@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69677&group=sci.electronics.design#69677

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ac8:47c5:: with SMTP id d5mr12458673qtr.231.1627876498773;
Sun, 01 Aug 2021 20:54:58 -0700 (PDT)
X-Received: by 2002:ac8:75c2:: with SMTP id z2mr12404627qtq.303.1627876498527;
Sun, 01 Aug 2021 20:54:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Sun, 1 Aug 2021 20:54:58 -0700 (PDT)
In-Reply-To: <4ajdgglh4q2fagbdv3learet6voeo9uqnv@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=14.202.161.14; posting-account=SJ46pgoAAABuUDuHc5uDiXN30ATE-zi-
NNTP-Posting-Host: 14.202.161.14
References: <sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
<ouidgg506irrlkdjftjl3rskjfpac3sekv@4ax.com> <0f1e89c6-3c3a-4f15-925e-2b26f7b4fad3n@googlegroups.com>
<4ajdgglh4q2fagbdv3learet6voeo9uqnv@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b24f50d-4991-4cb1-bafc-01479c49c95bn@googlegroups.com>
Subject: Re: Fast simple microcontroller
From: bill.slo...@ieee.org (Anthony William Sloman)
Injection-Date: Mon, 02 Aug 2021 03:54:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Anthony William Slom - Mon, 2 Aug 2021 03:54 UTC

On Monday, August 2, 2021 at 2:50:18 AM UTC+10, jla...@highlandsniptechnology.com wrote:
> On Sun, 1 Aug 2021 09:34:07 -0700 (PDT), Fred Bloggs <bloggs.fred...@gmail.com> wrote:
> >On Sunday, August 1, 2021 at 12:30:12 PM UTC-4, jla...@highlandsniptechnology.com wrote:
> >> On Sun, 1 Aug 2021 17:07:45 +0200, Piotr Wyderski <bom...@protonmail.com> wrote:
> >> >Ed Lee wrote:

<snip>

> >Stupid thread started by Sloman hallucinating about something he can't build in a million years. And all this in response to that mediocre moron Habib posing as an engineer again.

Fred Bloggs is seriously confused. The thread involved - "Low noise, high bias voltage on picoAmp TIA's input, howto?" was started by Timo, not me.

> Sloman hasn't designed anything in decades.

The thread "Low noise, high bias voltage on picoAmp TIA's input, howto?" did provoke me me into designing yet another version of the Baxandall Class-D oscillator.
John Larkin wasn't interested, so he didn't notice.

>The only thing he creates now and silly droning insults.

I don't flatter John Larkin as fulsomely as he thinks he deserves and he process that as "silly droning insults".
He finds the suggestion that he isn't quite as wonderful as he likes to think he is very painful, and he lashes out at the source of the pain.

Trimming his inflated self-image down to man-size might work better. He' s no Paul Bunyan.

> Being retired is mostly a choice, and that makes some people happy,
> but being a bitter old git sounds boring. It doesn't take much space
> or money to have a workbench and play with electronics.

Being retired isn't my choice. I do keep on applying for jobs, though I'm well aware that I'm much too old to be likely get one.
LTSpice does let me play with electronics. I've got a couple of projects that I could turn into working hardware if there was any prospect that I could find a customer who would want to use them

> I recently did a class-D power amp for my alternator simulator. People wanted to make that digital, but the PWM loop just took a few analog parts, and that was easy to Spice first.

He has given up posting his Spice simulations here. I remember one that was set up to run for 2msec. When I ran it there was something odd going on at 2msec, and I ran it for 10msec and found a problem that needed fixing and was easy to fix. John has been less specific in his boasting since then.

--
Bill Sloman, Sydney

Re: Fast simple microcontroller

<se86ki$17qu$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69689&group=sci.electronics.design#69689

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!5JvI0abm5pDpbNSeDYxI3g.user.46.165.242.75.POSTED!not-for-mail
From: pNaOnStP...@yahoo.com (Jan Panteltje)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Mon, 02 Aug 2021 07:20:05 GMT
Organization: Aioe.org NNTP Server
Message-ID: <se86ki$17qu$1@gioia.aioe.org>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com> <sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com> <qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com> <sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4> <7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl> <se6qg3$5qg$3@dont-email.me> <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="40798"; posting-host="5JvI0abm5pDpbNSeDYxI3g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: NewsFleX-1.5.7.5 (Linux-2.6.37.6)
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Mon, 2 Aug 2021 07:20 UTC

On a sunny day (Sun, 1 Aug 2021 21:37:22 +0200) it happened Piotr Wyderski
<bombald@protonmail.com> wrote in <se6t5u$jltd$1@portraits.wsisiz.edu.pl>:

>Don Y wrote:
>
>> There are MCUs that address those needs.  The advantage of an MCU is that
>> it is considerably easier to get it to do *other* things, as well.
>
>The other things is precisely what will eventually lead you astray.
>Power control is no joke, don't mess with it with an MCU, at least if
>you don't plan to roast some marshmallows.
>
> Best regards, Piotr

Oh I dunno, my (own designed) lab supply has been running for > 15 years on a PIC
Point is many micro controllers have build in hardware,
that PIC has a PWM generator, (to drive the switcher) and hardware comparators
working directly on that PWM generator (for current and voltage control).
Have not put it to sleep at uA level, but you could.
The 'software' part drives the LCD display, the PIC has a build in multi channel ADC that reads voltage and current settings
from potmeters on front, the software via RS232 can set timers (for battery charging).

Re: Fast simple microcontroller

<ee4870e4-e4f4-48df-b11e-56284337f151n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69724&group=sci.electronics.design#69724

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:188d:: with SMTP id v13mr14511507qtc.192.1627914196367; Mon, 02 Aug 2021 07:23:16 -0700 (PDT)
X-Received: by 2002:a0c:f40e:: with SMTP id h14mr16690828qvl.14.1627914196144; Mon, 02 Aug 2021 07:23:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 2 Aug 2021 07:23:15 -0700 (PDT)
In-Reply-To: <se6dtm$iuhr$1@portraits.wsisiz.edu.pl>
Injection-Info: google-groups.googlegroups.com; posting-host=74.213.81.168; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 74.213.81.168
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com> <1785267b-656c-4403-98e0-534cfd0e5c22n@googlegroups.com> <4f0da696-a73e-4c53-a1bf-6f36f4c21d65n@googlegroups.com> <249a55bb-c8fe-4ce8-bff2-59b6c5e4d65fn@googlegroups.com> <9174209e-04c9-42a4-9583-0df00265a7f8n@googlegroups.com> <825d057c-2691-4a71-b2c5-081179f6f42dn@googlegroups.com> <52b655cf-1b22-46a1-8e00-2d3fb5971748n@googlegroups.com> <d4d50784-85f9-4d23-a8c6-79b48889e392n@googlegroups.com> <867e2a68-11de-41fb-b357-fa09eb2f9886n@googlegroups.com> <3ee8811c-0b53-41be-93e3-3accdc8936e3n@googlegroups.com> <45575d98-4951-49fd-8de2-dc30961602fbn@googlegroups.com> <9a47735b-de35-4412-8eb4-ade84c77d82dn@googlegroups.com> <f52d5c1c-a964-487a-8a0c-4971b7e5d07cn@googlegroups.com> <a5f03983-87a1-4e87-ac06-5a233f5c4482n@googlegroups.com> <1048cc94-59b5-4b66-a908-a08f3ac2bbcfn@googlegroups.com> <71096ddf-4d6d-4d4e-894f-cfb64e470266n@googlegroups.com> <8e0a27b8-8d9c-4e8c-bdf7-fd3c52de93ben@googlegroups.com> <se6dtm$iuhr$1@portraits.wsisiz.edu.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ee4870e4-e4f4-48df-b11e-56284337f151n@googlegroups.com>
Subject: Re: Fast simple microcontroller
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Mon, 02 Aug 2021 14:23:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 25
 by: Rick C - Mon, 2 Aug 2021 14:23 UTC

On Sunday, August 1, 2021 at 11:17:16 AM UTC-4, Piotr Wyderski wrote:
> Rick C wrote:
>
> > If you are using USB you can run that at 48 MHz all the time. The rest of the chip can run at 180 MHz all the time. Where's the issue?
> Anything useful running on an ICE40 at 180MHz? Boy, I would like to see
> that. My experience shows it is a decent small FPGA for the 50-100MHz
> range, but hardly more without heroic pipelining.

"Heroic pipelining"??? If you design ignoring speed, you will get a slow design in any FPGA. Pipelining is not particularly difficult when designing logic. I don't know the details of this design, but it sounds fairly simple to me. Then again, maybe you are right about the performance of the iCE40 line. The DSP sections which can run pipelined are only rated for 50 MHz if not pipelined. Not sure how that number should even be considered since it would require registers on the input and output to measure a clock rate. Are they the internal registers to the DSP section or fabric registers? This is a goofy spec to publish without information on what it means.

--

Rick C.

--+-+ Get 1,000 miles of free Supercharging
--+-+ Tesla referral code - https://ts.la/richard11209

Re: Fast simple microcontroller

<865a3029-8a3d-4584-a46d-89d7f0e1d7c0n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69725&group=sci.electronics.design#69725

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:ac8:7207:: with SMTP id a7mr14589450qtp.32.1627914449125;
Mon, 02 Aug 2021 07:27:29 -0700 (PDT)
X-Received: by 2002:a0c:be85:: with SMTP id n5mr16640752qvi.59.1627914448970;
Mon, 02 Aug 2021 07:27:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 2 Aug 2021 07:27:28 -0700 (PDT)
In-Reply-To: <se6j8s$j5jr$1@portraits.wsisiz.edu.pl>
Injection-Info: google-groups.googlegroups.com; posting-host=74.213.81.168; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 74.213.81.168
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
<ouidgg506irrlkdjftjl3rskjfpac3sekv@4ax.com> <se6j8s$j5jr$1@portraits.wsisiz.edu.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <865a3029-8a3d-4584-a46d-89d7f0e1d7c0n@googlegroups.com>
Subject: Re: Fast simple microcontroller
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Mon, 02 Aug 2021 14:27:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rick C - Mon, 2 Aug 2021 14:27 UTC

On Sunday, August 1, 2021 at 12:48:33 PM UTC-4, Piotr Wyderski wrote:
> jla...@highlandsniptechnology.com wrote:
>
> > Analog comparators are cheap and don't need code!
> The need for code I took for granted, don't know Bill's requirements.
> But you are sort of right, an analog comparator driven by a DAC turns
> out to be a way cheaper and much faster option than an ADC followed by
> fully digital processing. Hybrid approaches work best.

Something is not right with your comparison. In one case you are starting with an analog signal and digitizing it in the other you are starting with a digital signal and turning it into analog (analogizing it?). Either the starting signal is analog or the starting signal is digital...

--

Rick C.

--++- Get 1,000 miles of free Supercharging
--++- Tesla referral code - https://ts.la/richard11209

Re: Fast simple microcontroller

<9cd53dc7-db5f-4496-9353-e12736c233b6n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69726&group=sci.electronics.design#69726

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:620a:1193:: with SMTP id b19mr15546451qkk.439.1627914678280;
Mon, 02 Aug 2021 07:31:18 -0700 (PDT)
X-Received: by 2002:ac8:75c2:: with SMTP id z2mr14338769qtq.303.1627914678096;
Mon, 02 Aug 2021 07:31:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 2 Aug 2021 07:31:17 -0700 (PDT)
In-Reply-To: <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
Injection-Info: google-groups.googlegroups.com; posting-host=74.213.81.168; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 74.213.81.168
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
<se6qg3$5qg$3@dont-email.me> <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9cd53dc7-db5f-4496-9353-e12736c233b6n@googlegroups.com>
Subject: Re: Fast simple microcontroller
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Mon, 02 Aug 2021 14:31:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rick C - Mon, 2 Aug 2021 14:31 UTC

On Sunday, August 1, 2021 at 3:37:40 PM UTC-4, Piotr Wyderski wrote:
> Don Y wrote:
>
> > There are MCUs that address those needs. The advantage of an MCU is that
> > it is considerably easier to get it to do *other* things, as well.
> The other things is precisely what will eventually lead you astray.
> Power control is no joke, don't mess with it with an MCU, at least if
> you don't plan to roast some marshmallows.

I've had this discussion with power control designers and they much prefer a processor. Sometimes a simple MCU is fast enough other times they want a DSP. Few of them use FPGAs or will even consider the possibility of using one. They typically want to shave the dollar or two extra the FPGA would cost coupled with an external ADC.

--

Rick C.

--+++ Get 1,000 miles of free Supercharging
--+++ Tesla referral code - https://ts.la/richard11209

Re: Fast simple microcontroller

<4b055bc6-e219-40d4-8c14-592c3616ca46n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69727&group=sci.electronics.design#69727

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:622a:30d:: with SMTP id q13mr14414534qtw.147.1627914900055;
Mon, 02 Aug 2021 07:35:00 -0700 (PDT)
X-Received: by 2002:ac8:764e:: with SMTP id i14mr14598433qtr.247.1627914899905;
Mon, 02 Aug 2021 07:34:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 2 Aug 2021 07:34:59 -0700 (PDT)
In-Reply-To: <se7c0b$nuj$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=74.213.81.168; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 74.213.81.168
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
<se6qg3$5qg$3@dont-email.me> <se6t5u$jltd$1@portraits.wsisiz.edu.pl>
<ko6eggtoptf5p2v0j7ti136luchkaj2c66@4ax.com> <se7800$1nd$1@dont-email.me> <se7c0b$nuj$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4b055bc6-e219-40d4-8c14-592c3616ca46n@googlegroups.com>
Subject: Re: Fast simple microcontroller
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Mon, 02 Aug 2021 14:35:00 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3118
 by: Rick C - Mon, 2 Aug 2021 14:34 UTC

On Sunday, August 1, 2021 at 7:50:41 PM UTC-4, Don Y wrote:
> On 8/1/2021 3:42 PM, Dimiter_Popoff wrote:
> > Of course they are fine. The first time I designed one for such
> > purposes was back in 1993... in this: http://tgi-sci.com/tgi/fr64.gif .
> > A HC11 was dedicated to monitor all the convertors (+5, +/-15, +/-24,
> > I may be forgetting some) and shut them off on over/undervoltage within
> > a ms or so, it also did the pwm to charge/maintain the battery,
> > connected to a ps2 keyboard (so the main CPU - a "mighty" 68340 - would
> > access it through it via spi) .... etc. etc. Ah yes, it stored
> > a lot of board unique trim values in its eeprom.
> > If designed correctly - with reset conditions etc. in mind - MCU-s
> > are a real blessing for power supply usage, have been for decades.
> How is it any different than letting a processor control a
> delicate mechanism (that could be expensive to replace, recalibrate,
> etc.)?
>
> At it's heart, it's just "electronics" sequenced in a KNOWN manner.
> You just need to be sure that "known manner" has been designed
> robustly.

I have actually seen data sheets that tell you to design "carefully", whatever that means. Is there an ISO spec for "carefully"? Designing "robustly" is the same sort of vague statement. It means whatever the speaker intends to to mean.

--

Rick C.

-+--- Get 1,000 miles of free Supercharging
-+--- Tesla referral code - https://ts.la/richard11209

Re: Fast simple microcontroller

<se9cgf$17sjd$1@portraits.wsisiz.edu.pl>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69743&group=sci.electronics.design#69743

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!wsisiz.edu.pl!.POSTED.h82-143-146-166-static.e-wro.net.pl!not-for-mail
From: bomb...@protonmail.com (Piotr Wyderski)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Mon, 2 Aug 2021 20:11:18 +0200
Organization: http://www.wit.edu.pl
Message-ID: <se9cgf$17sjd$1@portraits.wsisiz.edu.pl>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me>
<8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4>
<2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com>
<se6dcc$itp4$1@portraits.wsisiz.edu.pl>
<ouidgg506irrlkdjftjl3rskjfpac3sekv@4ax.com>
<se6j8s$j5jr$1@portraits.wsisiz.edu.pl>
<865a3029-8a3d-4584-a46d-89d7f0e1d7c0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 Aug 2021 18:11:28 -0000 (UTC)
Injection-Info: portraits.wsisiz.edu.pl; posting-host="h82-143-146-166-static.e-wro.net.pl:82.143.146.166";
logging-data="1307245"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <865a3029-8a3d-4584-a46d-89d7f0e1d7c0n@googlegroups.com>
Content-Language: en-US
X-Antivirus: Avast (VPS 210802-10, 8/2/2021), Outbound message
X-Antivirus-Status: Clean
X-Received-Bytes: 2840
 by: Piotr Wyderski - Mon, 2 Aug 2021 18:11 UTC

Rick C wrote:

> Something is not right with your comparison. In one case you are starting with an analog signal and digitizing it in the other you are starting with a digital signal and turning it into analog (analogizing it?). Either the starting signal is analog or the starting signal is digital...

Digital gives you fancy control algorithm, analog gives you low latency.
If you need to react fast to the instant value of the current waveform,
the price of a sufficiently fast ADC can exceed the cost of the FPGA it
feeds, not to mention its output stream is often serial (crossing the
isolation boundary with fewer wires is one reason), which adds to the
delay. Moving the boundary conditions checking to the analog domain can
result in a cheaper and more reliable product. But I am referring to the
front-end, the control is provided by the FPGA in both cases.

In other words, relying on the ADC data implies relying on the events
long gone, whereas reconfiguring the DAC for the next cycle is preparing
for a future event with minimal delay. Closing this gap is certainly
possible, but requires $$$.

Best regards, Piotr

Re: Fast simple microcontroller

<se9dh1$17tsf$1@portraits.wsisiz.edu.pl>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69744&group=sci.electronics.design#69744

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!wsisiz.edu.pl!.POSTED.h82-143-146-166-static.e-wro.net.pl!not-for-mail
From: bomb...@protonmail.com (Piotr Wyderski)
Newsgroups: sci.electronics.design
Subject: Re: Fast simple microcontroller
Date: Mon, 2 Aug 2021 20:28:38 +0200
Organization: http://www.wit.edu.pl
Message-ID: <se9dh1$17tsf$1@portraits.wsisiz.edu.pl>
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<249a55bb-c8fe-4ce8-bff2-59b6c5e4d65fn@googlegroups.com>
<9174209e-04c9-42a4-9583-0df00265a7f8n@googlegroups.com>
<825d057c-2691-4a71-b2c5-081179f6f42dn@googlegroups.com>
<52b655cf-1b22-46a1-8e00-2d3fb5971748n@googlegroups.com>
<d4d50784-85f9-4d23-a8c6-79b48889e392n@googlegroups.com>
<867e2a68-11de-41fb-b357-fa09eb2f9886n@googlegroups.com>
<3ee8811c-0b53-41be-93e3-3accdc8936e3n@googlegroups.com>
<45575d98-4951-49fd-8de2-dc30961602fbn@googlegroups.com>
<9a47735b-de35-4412-8eb4-ade84c77d82dn@googlegroups.com>
<f52d5c1c-a964-487a-8a0c-4971b7e5d07cn@googlegroups.com>
<a5f03983-87a1-4e87-ac06-5a233f5c4482n@googlegroups.com>
<1048cc94-59b5-4b66-a908-a08f3ac2bbcfn@googlegroups.com>
<71096ddf-4d6d-4d4e-894f-cfb64e470266n@googlegroups.com>
<8e0a27b8-8d9c-4e8c-bdf7-fd3c52de93ben@googlegroups.com>
<se6dtm$iuhr$1@portraits.wsisiz.edu.pl>
<ee4870e4-e4f4-48df-b11e-56284337f151n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 Aug 2021 18:28:49 -0000 (UTC)
Injection-Info: portraits.wsisiz.edu.pl; posting-host="h82-143-146-166-static.e-wro.net.pl:82.143.146.166";
logging-data="1308559"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <ee4870e4-e4f4-48df-b11e-56284337f151n@googlegroups.com>
Content-Language: en-US
X-Antivirus: Avast (VPS 210802-10, 8/2/2021), Outbound message
X-Antivirus-Status: Clean
X-Received-Bytes: 3098
 by: Piotr Wyderski - Mon, 2 Aug 2021 18:28 UTC

Rick C wrote:

> "Heroic pipelining"??? If you design ignoring speed, you will get a slow design in any FPGA.

https://www.latticesemi.com/-/media/LatticeSemi/Documents/DataSheets/iCE/FPGA-DS-02008-1-9-iCE40-UltraPlus-Family-Data-Sheet.ashx?document_id=51968

This FPGA is slow, to begin with. Have a look at the
register-to-register performance, section 4.19.2. A 16-bit adder is
specified to run at 100MHz and a 16:1 mux at 110MHz. And you want to
crank it at 180MHz while doying something non-trivial.

> Pipelining is not particularly difficult when designing logic.

If you want to go 63% faster than a 16:1 mux can go according to the
vendor, who is not interested in downplaying the performance of the
chip, nothing is straightforward.

> Then again, maybe you are right about the performance of the iCE40 line.

I'm just quoting the datasheet. This FPGA is slow, but cheap and rich
with features and has loads of RAM for the price.

Best regards, Piotr

Re: Fast simple microcontroller

<2567b620-f83d-4d89-bebc-3dc461590dd8n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=69767&group=sci.electronics.design#69767

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a37:74c:: with SMTP id 73mr17480019qkh.104.1627946807688;
Mon, 02 Aug 2021 16:26:47 -0700 (PDT)
X-Received: by 2002:a05:620a:139b:: with SMTP id k27mr4110393qki.326.1627946807529;
Mon, 02 Aug 2021 16:26:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Mon, 2 Aug 2021 16:26:47 -0700 (PDT)
In-Reply-To: <se9cgf$17sjd$1@portraits.wsisiz.edu.pl>
Injection-Info: google-groups.googlegroups.com; posting-host=74.213.81.168; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 74.213.81.168
References: <558013df-0f18-4549-a49b-0a9ab452c8a2n@googlegroups.com>
<sbmsdg$6l7$1@dont-email.me> <8ef4a10c-0ab2-4b15-a7fb-674d54e7a789n@googlegroups.com>
<qzEDI.443509$AK38.394645@fx04.ams4> <2e6509e9-ba42-4ed3-b12f-5f199f9ed996n@googlegroups.com>
<sbn9o5$5be$1@dont-email.me> <FDZDI.73843$1q1.31263@fx10.ams4>
<7a3ec58f-1821-42f9-a13c-4bd4c392a014n@googlegroups.com> <se6dcc$itp4$1@portraits.wsisiz.edu.pl>
<ouidgg506irrlkdjftjl3rskjfpac3sekv@4ax.com> <se6j8s$j5jr$1@portraits.wsisiz.edu.pl>
<865a3029-8a3d-4584-a46d-89d7f0e1d7c0n@googlegroups.com> <se9cgf$17sjd$1@portraits.wsisiz.edu.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2567b620-f83d-4d89-bebc-3dc461590dd8n@googlegroups.com>
Subject: Re: Fast simple microcontroller
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Mon, 02 Aug 2021 23:26:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rick C - Mon, 2 Aug 2021 23:26 UTC

On Monday, August 2, 2021 at 2:11:34 PM UTC-4, Piotr Wyderski wrote:
> Rick C wrote:
>
> > Something is not right with your comparison. In one case you are starting with an analog signal and digitizing it in the other you are starting with a digital signal and turning it into analog (analogizing it?). Either the starting signal is analog or the starting signal is digital...
> Digital gives you fancy control algorithm, analog gives you low latency.
> If you need to react fast to the instant value of the current waveform,
> the price of a sufficiently fast ADC can exceed the cost of the FPGA it
> feeds, not to mention its output stream is often serial (crossing the
> isolation boundary with fewer wires is one reason), which adds to the
> delay. Moving the boundary conditions checking to the analog domain can
> result in a cheaper and more reliable product. But I am referring to the
> front-end, the control is provided by the FPGA in both cases.
>
> In other words, relying on the ADC data implies relying on the events
> long gone, whereas reconfiguring the DAC for the next cycle is preparing
> for a future event with minimal delay. Closing this gap is certainly
> possible, but requires $$$.

You did not address a single issue I raised. Please read my post again and consider what I was talking about.

--

Rick C.

-+--+ Get 1,000 miles of free Supercharging
-+--+ Tesla referral code - https://ts.la/richard11209

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor