Electronics-Related.com
Forums

Nice MCU for small jobs

Started by Phil Hobbs September 3, 2018
Can someone report experience about PICs?
Many thanks  Klaus 
buecherk@gmail.com wrote
>Can someone report experience about PICs? >Many thanks Klaus
I have used several, 16F.. now everything is 18F14K22 http://panteltje.com/panteltje/pic/index.html Depends what you want to do. I program all in asm (gpsasm Linux) and do not use the Microchip tools. Debug or whatever you want to call it via serial port. Good stuff, 18F14K22 has internal PLL and runs at 64 MHz with internal clock.
On 9/8/18 7:57 AM, Klaus Kragelund wrote:
> ST recently released SPL code, which is HW close effective libraries >
Any idea how it compares to the NXP (or other vendors') libraries? 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
>>>>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> writes:
[...] > Sounds as though STM may have got their support act together. > Five years or so ago when I last looked at a STM32 MCU, the library > headers were a complete nightmare. Unorganized, duplicated, horrible. Five years or so ago, when I first became interested in ARM Cortex M3 MCUs, I've stumbled upon http://libopencm3.org/. Now, I'm hardly involved in embedded development to any considerable degree, but I don't think I even as much as really looked at the ST's own libraries. [...] -- FSF associate member #7257 http://softwarefreedomday.org/ 15 September 2018
On 09/04/2018 12:28 AM, David Brown wrote:
>
< SNIP >
>>>> So it'd be difficult to just say whip up some asm by >>>> hand and drop the binary on it and have it actually do anything. > > No one sane uses assembly on an ARM. >
I beg your pardon...have you ever looked at the source for ThreadX?
>>> >>> that is almost never in the datasheet for MCUs, you need the usermanual >>> >>> https://www.nxp.com/docs/en/user-guide/UM11065.pdf >>> >> >> I can see why one might want to pay for the macros. > > No one sane pays for the microcontroller headers. > >
On 13/09/18 20:37, Bill Martin wrote:
> On 09/04/2018 12:28 AM, David Brown wrote: >> > < SNIP > >>>>> So it'd be difficult to just say whip up some asm by >>>>> hand and drop the binary on it and have it actually do anything. >> >> No one sane uses assembly on an ARM. >> > > I beg your pardon...have you ever looked at the source for ThreadX? >
No - and I have no reason to assume the authors of it are sane! However, I should have qualified by statement better: No one sane uses assembly on an ARM when the same functionality could be written in C, C++ or another high-level language. An RTOS invariably requires code that cannot be written in C - those bits must be in assembly.
>An RTOS invariably requires code that cannot be written in C - those >bits must be in assembly.
And then there are compiler back ends. ;) Cheers Phil Hobbs