Doorgaan naar hoofdcontent

Posts

Posts uit april, 2016 tonen

UHURA update 5: two AI coding agents, one set of rules, and a pop-free ESP32 chime

In update 4 I wrote what the next step was: switch the amplifier on in exactly the right order, without a pop from the speaker, and play the first UHURA chime. That worked. And something else happened that I find at least as interesting: for the first time, two different AI agents worked one after the other on the same part of the project, and nothing went wrong. So this time there are three stories: the first sound, how that handover works, and what it means for my students. The amplifier chip on this board (the TAS5805M) made its first sound this week. Photo: Seeed Studio. The first sound The amplifier on the board takes its own clock from the ESP32's audio signal. Switch it on before that clock runs, and it ignores its settings, with a good chance of a pop. So the order is: first let the clock run with silence, then wake the amplifier from standby, then read back its registers. Is the address right? Is it in standby? No faults? The speaker was connected the whole time, and...

wiznet W7500P cortex M0 circuit board and FreeRTOS 9.0.0rc2 working

I have made my new cortex M0 based microcontroller board operational with FreeRTOS. The chip is a W7500P - a cortex M0 with 16KB SRAM and 128KB Flash - hardware tcp/ip stack incl mac/phy on board (P101G) This chip is a single chip microcontroller/ethernet/internet IoT solution, no software TCP/IP stack that can fail or hacked. For TCP/IP buffers it has another 32KB SRAM, this can be used by 8 simultaneous TCP connections (sockets open at same time). I like this chip because it eliminates a lot of other stuff on the board. It is fast, and has lots of IO. I added a SD-card connector for data-logging applications. My main application will be small measurement and control applications, adding network easily and securely, super fast bootup times (0.1 sec instead of 20 sec, no linux based board with large bodies of software) ADC : 12bit, 8ch, 1Msps DMA 6-channel DMA controller Peripheral supported: UARTs, SPIs GPIO 34 I/Os  Debug mode Serial Wire Debug (SWD) Tim...