#robotics Logs

Jan 24 2019

#robotics Calendar

01:15 AM energizer is now known as aenergizer
02:21 AM dadada is now known as Guest21657
10:52 AM anonnumberanon: Any of you fine folks can give me an intro to DMA when it comes to microcontrollers? Also do they have constant access timea and machine operations?
10:54 AM deshipu: anonnumberanon: really depends on the particular microcontroller
10:54 AM deshipu: anonnumberanon: usually you use it with stuff like SPI, where you simply point the peripheral on a fragment of memory to be transferred and an interrupt to be called when it finishes
11:03 AM anonnumberanon: Im on the blue pill right now.
11:03 AM anonnumberanon: It eeked my interest.
11:03 AM anonnumberanon: Peeked*
11:06 AM deshipu: piqued
11:06 AM anonnumberanon: Thanks
11:07 AM anonnumberanon: Wanna do the same thing with it as I was doing with atmega328
11:07 AM anonnumberanon: Servos and such
11:07 AM deshipu: you don't need dma for pwm for servos
11:08 AM deshipu: since the timers work independently form the mcu anyways
11:09 AM anonnumberanon: Okay
11:09 AM anonnumberanon: What's the case(s) when DMA can really shine?
11:10 AM deshipu: displays
11:10 AM anonnumberanon: I see
11:10 AM deshipu: where you can send one frame in the background while computing the next one already
11:11 AM deshipu: also cameras
11:11 AM deshipu: anything that involves a lot of data
07:31 PM justan0theruser is now known as justanotheruser
08:16 PM X-Scale` is now known as X-Scale
10:19 PM rue_mohr: dma can move memory around while you do other things
10:19 PM rue_mohr: as long as you dont need the bus
10:19 PM rue_mohr: which is prolly already pretty busy
10:20 PM rue_mohr: anonnumberanon, I got opencm3 going again