-
Notifications
You must be signed in to change notification settings - Fork 1
Serial Protocols
Jorge Pérez edited this page Oct 22, 2024
·
15 revisions
| Analog | Digital |
|---|---|
| Es como los números reales, pueden ser un entero, o fraccionales | Es una muestra de la digital |
| Sus voltajes son de {-∞,+∞} | La escala se limita a lo que el chip puede procesar |
| Tratan de representar de manera finita los valores analógicos | |
![]() |
![]() |
- The value is encoded
- The complete signal varies on the protocol
| Good | Bad |
|---|---|
![]() |
![]() |


When working with embedded systems, we mainly work with the physical, data link
https://forum.allaboutcircuits.com/threads/difference-between-polling-dma-and-interrupt.152493/
- Software implemented
- Continuously checks the value of the pin
- The state changes on the loop/flag reading
- Can block the processor from doing other things
- Easy to set up
- Hardware implemented
- ISR - Interrupt Service Routine
- IRQ - Interrupt Request
- Try to not do something computationally complex

https://digilent.com/blog/wp-content/uploads/2015/01/check-interrupt-flag.png
- Can handle data transfers without the processor intervention.
- Needs special hardware
- Peripheral to memory or Memory to peripheral
- Typically uses interrupts to notify when transfer has started/completed

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_DMA




