Electronics-Related.com
Forums

Nice MCU for small jobs

Started by Phil Hobbs September 3, 2018
LPC804: 15 MHz Cortex M0+, 32kB flash, 4k RAM, 12-bit 2 us ADC with 1 
LSB DNL, 10-bit DAC, the usual serial stuff, 20-TSSOP:  67 cents in 
reels, dev board $27.

We're using it for a super-quiet diode laser controller where it will 
run the temperature control and automatic power control loops.  I'll 
never use another ATmega. ;)

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

On 09/03/2018 01:25 PM, Phil Hobbs wrote:
> LPC804: 15 MHz Cortex M0+, 32kB flash, 4k RAM, 12-bit 2 us ADC with 1 > LSB DNL, 10-bit DAC, the usual serial stuff, 20-TSSOP:  67 cents in > reels, dev board $27. > > We're using it for a super-quiet diode laser controller where it will > run the temperature control and automatic power control loops.  I'll > never use another ATmega. ;) > > Cheers > > Phil Hobbs >
Resource-rich enough that maybe I can toss a template or two into the C++ without anyone freaking out. OMG!
Phil,
What is your preferred development software and debug environment?
John

mandag den 3. september 2018 kl. 19.25.06 UTC+2 skrev Phil Hobbs:
> LPC804: 15 MHz Cortex M0+, 32kB flash, 4k RAM, 12-bit 2 us ADC with 1 > LSB DNL, 10-bit DAC, the usual serial stuff, 20-TSSOP: 67 cents in > reels, dev board $27.
STM has a similar cortex-m0 that does 48MHz for the same price at digikey the dev board with debugger is something like ~$10
> We're using it for a super-quiet diode laser controller where it will > run the temperature control and automatic power control loops. I'll > never use another ATmega. ;)
indeed, about the only reason to use an AVR is if you absolutely must have 5V cortex is faster and cheaper with more memory
>STM has a similar cortex-m0 that does 48MHz for the same price at digikey
>the dev board with debugger is something like ~$10
I tried an ST Cortex M3 about five years ago, and the difference in library and tool quality was startling. I've stuck with NXP subsequently, with uniformly good results. If ST has cleaned up their act, I'd certainly be willing to have another go. Cheers Phil Hobbs
>Phil, >What is your preferred development software and debug environment? >John
We really like the Code Red tool chain and the LPCXpresso dev boards. Makes it super easy to get stuff working in a hurry. We'll try out the ex-Freescale Kinetis parts soon, just to see if their price/performance is enougb better to worry about. The LPC M4s are cheaper than their M3s, and have more interesting package options Cheers Phil Hobbs
On 09/03/2018 05:31 PM, Lasse Langwadt Christensen wrote:
> mandag den 3. september 2018 kl. 19.25.06 UTC+2 skrev Phil Hobbs: >> LPC804: 15 MHz Cortex M0+, 32kB flash, 4k RAM, 12-bit 2 us ADC with 1 >> LSB DNL, 10-bit DAC, the usual serial stuff, 20-TSSOP: 67 cents in >> reels, dev board $27. > > STM has a similar cortex-m0 that does 48MHz for the same price at digikey > > the dev board with debugger is something like ~$10 > >> We're using it for a super-quiet diode laser controller where it will >> run the temperature control and automatic power control loops. I'll >> never use another ATmega. ;) > > indeed, about the only reason to use an AVR is if you absolutely must have 5V > cortex is faster and cheaper with more memory > >
the question I'm unsure of is whether you can use those NXP ARMs with the toolchain of your choice or if they lock you in to their LXCNEXpressor C-only/128k limit toolchain (for the free version) somehow.
On 09/03/2018 07:19 PM, pcdhobbs@gmail.com wrote:
> >> Phil, >> What is your preferred development software and debug environment? >> John > > We really like the Code Red tool chain and the LPCXpresso dev boards. Makes it super easy to get stuff working in a hurry. > > We'll try out the ex-Freescale Kinetis parts soon, just to see if their price/performance is enougb better to worry about. > > The LPC M4s are cheaper than their M3s, and have more interesting package options > > Cheers > > Phil Hobbs >
One of the most useful tools imaginable for embedded development is Compiler Explorer which lets you look at a selected compiler's ASM output in real-time for your chosen build flags, which unfortunately wouldn't be possible with that toolchain as it seems they use a proprietary fork of GCC. :(
tirsdag den 4. september 2018 kl. 01.46.40 UTC+2 skrev bitrex:
> On 09/03/2018 05:31 PM, Lasse Langwadt Christensen wrote: > > mandag den 3. september 2018 kl. 19.25.06 UTC+2 skrev Phil Hobbs: > >> LPC804: 15 MHz Cortex M0+, 32kB flash, 4k RAM, 12-bit 2 us ADC with 1 > >> LSB DNL, 10-bit DAC, the usual serial stuff, 20-TSSOP: 67 cents in > >> reels, dev board $27. > > > > STM has a similar cortex-m0 that does 48MHz for the same price at digikey > > > > the dev board with debugger is something like ~$10 > > > >> We're using it for a super-quiet diode laser controller where it will > >> run the temperature control and automatic power control loops. I'll > >> never use another ATmega. ;) > > > > indeed, about the only reason to use an AVR is if you absolutely must have 5V > > cortex is faster and cheaper with more memory > > > > > > the question I'm unsure of is whether you can use those NXP ARMs with > the toolchain of your choice or if they lock you in to their > LXCNEXpressor C-only/128k limit toolchain (for the free version) somehow.
ARM is ARM, just use GCC
On 09/03/2018 08:19 PM, Lasse Langwadt Christensen wrote:
> tirsdag den 4. september 2018 kl. 01.46.40 UTC+2 skrev bitrex: >> On 09/03/2018 05:31 PM, Lasse Langwadt Christensen wrote: >>> mandag den 3. september 2018 kl. 19.25.06 UTC+2 skrev Phil Hobbs: >>>> LPC804: 15 MHz Cortex M0+, 32kB flash, 4k RAM, 12-bit 2 us ADC with 1 >>>> LSB DNL, 10-bit DAC, the usual serial stuff, 20-TSSOP: 67 cents in >>>> reels, dev board $27. >>> >>> STM has a similar cortex-m0 that does 48MHz for the same price at digikey >>> >>> the dev board with debugger is something like ~$10 >>> >>>> We're using it for a super-quiet diode laser controller where it will >>>> run the temperature control and automatic power control loops. I'll >>>> never use another ATmega. ;) >>> >>> indeed, about the only reason to use an AVR is if you absolutely must have 5V >>> cortex is faster and cheaper with more memory >>> >>> >> >> the question I'm unsure of is whether you can use those NXP ARMs with >> the toolchain of your choice or if they lock you in to their >> LXCNEXpressor C-only/128k limit toolchain (for the free version) somehow. > > ARM is ARM, just use GCC >
Ok great as it seems they want one to pay some fee to enable C++/unlimited binary size in their bespoke IDE which is silly-talk.