#garfield Logs
May 23 2024
#garfield Calendar
07:44 AM polprog: rue_mohr: what about freescale?
07:57 AM polprog: oh some arm
07:57 AM polprog: i have some old freescale HC16 devbords, some from Tom, some I bought here
08:02 AM polprog: rue_mohr: yeah mk20 is some arm
08:02 AM polprog: looks old though
08:02 AM polprog: dont undermine freescale :) it makes funny little processors
08:07 AM rue_mohr: ok, well, now I know to look
08:10 AM polprog: :)
08:10 AM polprog: if you dont want them, I will take them
08:11 AM rue_mohr: like I say, I usually just write them off as unusable
08:11 AM rue_mohr: it seems that as time goes on, arduino covers every processor available
08:12 AM polprog: its just a library and some tools wrapped around in the editor window
08:12 AM rue_mohr: but its got people finding and collecting the dev tools
08:12 AM polprog: i was to say there isnt arduino for x86 PC but there is (was) the Intel Galileo
08:13 AM rue_mohr: so I got a $6 rpi 2040 board
08:13 AM polprog: these are very handy
08:13 AM polprog: Just
08:13 AM rue_mohr: I take it the 2040 is a microcontroller scale rpi
08:13 AM polprog: just yesterday I assembled my logic analyzer based on it
08:14 AM rue_mohr: did you use arduino or tools direct?
08:15 AM polprog: in this project I just designed a PCB and used a ready made firmware that turns it into a sigrok-compatible LA
08:15 AM polprog: but I use their SDK directly
08:15 AM rue_mohr: whos?
08:15 AM polprog: Raspi foundation
08:15 AM rue_mohr: hmm
08:15 AM rue_mohr: apt-get....
08:15 AM polprog: it is reasonably good
08:15 AM rue_mohr: oh it probably needs 64bit
08:16 AM polprog: im not sure about it
08:16 AM polprog: it uses ARM gcc
08:16 AM polprog: the rest of the sdk is just makefiles and code library
08:16 AM polprog: https://github.com/raspberrypi/pico-sdk
08:16 AM polprog: sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
08:16 AM polprog: and git clone the repo
08:16 AM rue_mohr: hmm, think I'd alrady have it
08:16 AM polprog: uses CMake, thats my only grief
08:16 AM rue_mohr: for stm32
08:17 AM polprog: but i just copy the example CMake
08:18 AM rue_mohr: do you know what speed this thing is?
08:19 AM polprog: it is _fast_
08:19 AM rue_mohr: oh theres a crystal
08:19 AM polprog: i think it can do up to 120MHz
08:19 AM rue_mohr: huh
08:19 AM polprog: the onboard crystal is not as fast
08:19 AM polprog: but there is the PIO blocks which are like tiny state machines
08:19 AM polprog: these can be very fast
08:22 AM rue_mohr: I'm platform hopping latley and I dont want to get too deep into any of them
08:22 AM rue_mohr: arduino is a gateway for that...
08:22 AM rue_mohr: - the enabler - :/
08:23 AM rue_mohr: gpio_set_dir(LED_PIN, GPIO_OUT);
08:23 AM rue_mohr: that said, this isn't really low-level...
08:25 AM rue_mohr: and I still have a handfull of ch32 I have not tried yet
08:33 AM Tom_L: time for 6811
12:30 PM polprog: ++
06:03 PM rue_mohr: hmm, the driveway detector isn't always working
10:42 PM rue_mohr: https://www.cnx-software.com/2024/05/08/bitnetmcu-machine-learning-ch32v003-risc-v-mcu-high-accuracy/
11:33 PM rue_mohr: Raspberry Pi Pico
11:34 PM rue_mohr: CPU Dual-core ARM Cortex M0+ processor up to 133MHz
11:34 PM rue_mohr: oh...
11:35 PM rue_mohr: https://makerselectronics.com/product/yd-rp2040-vcc-gnd-studio-microcontroller-board
11:35 PM rue_mohr: ok try that on the weekend
11:39 PM rue_mohr: omg, it presents at a usb storage device for flashing