Close

DMA and AI

A project log for DIAVOX Cellphone

Turning an old diavox phone into a cellphone. No smart stuff, just a telephone. Pick up the handset and dial just like the old days.

anders-helgessonAnders Helgesson 10/27/2024 at 20:250 Comments

After trying to get the SPWM working on the pico LiPo for quite some time I finally managed to make it work. I have to check the output with an oscillscope to make sure I have enough deadtime. I couldn't get the internal DMA pacing timer to work so, I used another pwm slice as timer for now. If I need to I might use PIO for timing. Still have to make measurements and do live testing to see if it's good enough.

Using AI has been from very useful to not so much to downright misleading. Mixing API's, assume microcontroller functionality and so on. I looked through the documentation, the API's for the libraries used and manged to get it to work. Although the AI led me on a wild goose chase it was helpful in most cases but not so much for writing functional code at least in rust.

Like one big CEO said that one shouldn't learn programming as AI's can do that. Well we are not there yet I think. With current AI technology they are trained and do not reflect or correct their training on their own, they still go by equation of "shit in = shit out". Perhaps mere mortals don't have access to these super programming AI's but then where are those bug free drivers?

Discussions