this SOP-8 #Puya PY32F002 #microcontroller #hardware has #pricing of 8.26¢ in quantity 500. A 24MHz Cortex-M0(+?)
on 02024-05-09OpenPuya project for #Puya #microcontroller #hardware. “In order to make up for the untimely update of materials on the official website, we will serve as an unofficial repository, collecting product materials from #Puran Semiconductor Company.” Mostly only in Chinese!
on 02024-05-09#video of #microcontroller #hardware, the #Puya PY32 Cortex-M0, with #pricing of 10¢ in quantity 500. Over ten minutes of worthless talking-head footage at the beginning of the video. 5.5 volts, reprogrammable. Part numbers sound like STM32F0 clones? PY32F0032A is 24MHz, 20KiB Flash, 3KiB SRAM, 18 GPIOs, 1 ADC, 3 timers, SPI, UART, I²C; the 30¢ PY32F030 has, among other things, 32KiB Flash, 8KiB RAM, and 48MHz; the 50¢ PY32F072 even has CAN and USB. You have to get them off LCSC. He’s using Keil and programming it with an ST-Link v2, and some people use Stm32Cube. Screenshots of py32.org, which still has Puran’s documentation for their chips. He’s only able to get the code to flash at 3.3V. He recommends reading the STM32 manual to learn how to set up the ADC, so I guess this really is an #STM32 clone. (He points at ST copyright notices in the BSD-licensed HAL source code.) He also recommends reading Puya’s example code in the zip file and the well-written PY32F030 series reference manual in English.
on 02024-05-09#lcamtuf complaining about #microcontroller libraries in #Rust giving him flashbacks of corporate Java
on 02024-03-06#lcamtuf’s #introduction to #Atmel #ARM ATSAMS70J21 #hardware bringup from a year ago. “On an 8-bit MCU, adjusting the clock is trivial; on the SAM S70, you can try some online examples, realize that they’re all wrong, and then spend several hours nose down in the 2,000 page datasheet. (...) The first revelation is that 300 MHz is the maximum clock for the processor core (HCLK), not the entire device. There is an internal bus used by the flash memory controller and other built-in peripherals, and that bus can’t run faster than 150 MHz; this fact is helpfully mentioned on page 1852 of the spec.” #microcontroller
on 02024-03-06how to connect #SDRAM memory #hardware to a #microcontroller
on 02024-02-08"MMBASIC" is MBASIC-compatible #BASIC for a #microcontroller, but requiring 94KiB of Flash and 16KiB RAM.
on 02024-01-12oh my, I hadn’t realized that all the Cortex-M #ARM #hardware only supported Thumb-2 #asm. Or that every #STM32 #microcontroller supported SWD for single-stepping with OpenOCD. Apparently to burn the Flash on an STM32 you openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c "program prog1.elf verify reset exit"? And then to provide a gdbserver on port 3333 you openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg?
hey, you can still get a #68000 from Motorola/Philips/NXP, a ColdFire that runs on 50 milliwatts. #microcontroller #hardware
on 02023-07-02How to get the #SparkFun #Artemis #Ambiq #Apollo3 #microcontroller devboard #hardware up and running wih #Arduino (1.8.19 or thereabouts, not 1.0.x or, really, 2.x, though that does sort of work)
on 02023-06-02#lcamtuf on #microcontroller #electronics driving #SSD1309 #LCD #hardware with an #AVR
on 02023-01-24Microchip #PIC #microcontroller #hardware with 50 12-bit analog ADC channels. US$5.84-7.05 at Digi-Key.
on 02021-11-14A new #ESP32 #microcontroller "ESP32-C3" with #RISC-V RV32IMC has better single-core #performance but less RAM
on 02021-02-09oh hey a US$4 #Raspberry-Pi #microcontroller "RP2040" with device and host USB and 264 KiB RAM. The 8-threaded “pioasm” coprocessor for hardware control things like WS2812 interfacing sounds pretty interesting (32 instructions per PIO program, an assembly language with 9 instructions), with a Python implementation using a function decorator ☺
on 02021-01-21a 960×540 #eink #hardware kit for US$69 with an #ESP32 #microcontroller in it and a two-point touchscreen.
on 02021-01-21The #PDP-11 #emulation for an #ESP32 #microcontroller #hardware with a 3-D printed VT102 that can run #BSD.
on 02021-01-21This guy got 2.11 #BSD running on a #PDP-11 #emulation on an #ESP32 #microcontroller.
on 02021-01-21"LiteBSD" is a port of 4.4 #BSD to the PIC32MZ #ARM #microcontroller, which has a paging MMU and half a mebibyte of RAM.
on 02021-01-21#PDF datasheet for the NXP iMXRT1062 600MHz Cortex-M7 #microcontroller used in the #Teensy-4.0, although it says it's only 528 MHz.
on 02020-07-01the NXP iMXRT1062 600MHz Cortex-M7 #microcontroller used in the #Teensy-4.0, #pricing US$11.28 in quantity 1.
on 02020-07-01"Teensy 4.0" is an #Arduino compatible #microcontroller #hardware with a 600 MHz ARM Cortex-M7 (NXP iMXRT1062) with 1024K RAM (512K tightly coupled) and 2048K Flash (64K reserved for recovery & EEPROM emulation) with #pricing of US$23; in medieval units of measure, 1.4 inches by 0.7 inches. Also has 3 CAN ports, 2 480Mbps USB ports, a 4-bit SD card port, 3 SPI ports, 3 I2C ports, and two ADCs (apparently 12-bit and 20 Msps)
on 02020-07-01Ken Boak’s #SIMPL #source-code for the MSP430 #microcontroller; I think this is the 780-byte version. The source is only 811 lines of #asm. #smallisbeautiful
on 02017-07-11"SIMPL", a stripped-down #Forth interpreter, is now running within 780 bytes (on I think the MSP430 #microcontroller). #smallisbeautiful
on 02017-07-11#video of a #demoscene production on #AVR #microcontroller #hardware generating color VGA signals on three ATTiny85 chips run off a common clock, driven from a 9600 baud serial signal, "OctaPentaVeega" cc-by-sa
on 02017-05-29comprehensive overview of the #microcontroller #hardware landscape as of today, starting from the Raspberry Pi. Mentions that the ARM11 in the #Raspberry-Pi is an ARMv6 rather than ARMv7 and therefore won’t run most current Linux distributions.
on 02015-11-26Espruino is a STMicroelectronics #ARM Cortex-M3 #microcontroller board that runs #JS for US$25, or US$40 from Adafruit. Reputedly you can run the Espruino firmware on #NodeMCU boards.
on 02015-11-26#NodeMCU is an open-source firmware for programming #ESP8266 WiFi 32-bit #microcontroller #hardware in #Lua. Doesn’t run Node.js (of course!) but has a node.js-style network API. 64 kilobytes of instruction RAM, 96 kilobytes of data RAM, 64 kilobytes of boot ROM, and 4 megabytes (!!!!) of Flash. A breakout board costs US$10 from Adafruit, or US$7 in a 24mm×16mm×3mm (1.15 mℓ!) surface-mount PCB.
on 02015-11-26dude, you can see which #microcontroller chips Digi-Key has the most in stock at the moment! Which is probably a pretty good proxy for which ones are the most popular. #1 is a surface-mount ATMega328(-MU) at the moment, as is #5, while the spots in between are taken up by Freescale 8-bit micros (MC9S08SG32, of the HCS08 family, the successor to the 68HC08 and the latest in the lineage of the 6800, running at 40MHz, with a kilobyte of RAM and 16K of flash). #6 and #7 are 42-cent PIC10s, and then there’s an ATTiny85 and more #AVR micros until #14, which is a five-dollar MSP430. #hardware
on 02015-11-09a tiny #C subset #interpreter from 2011 for scripting a #microcontroller or two, in 3500 lines of C, which is interestingly like ONE THIRD the size of mawk, in “a few k of code space”. #smallisbeautiful
on 02015-09-05#interpreters for #microcontroller (e.g. #AVR) programming languages, including amforth, which needs only 150 bytes of RAM. #smallisbeautiful
on 02015-08-05