diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 21c487a..dccfa89 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,11 +4,11 @@ "type": "split", "children": [ { - "id": "b4016cfda59535b1", + "id": "f83007af095dc297", "type": "tabs", "children": [ { - "id": "fbdb92a309be8088", + "id": "a5daa8ea8214becf", "type": "leaf", "state": { "type": "markdown", @@ -162,8 +162,7 @@ } ], "direction": "horizontal", - "width": 367.5, - "collapsed": true + "width": 367.5 }, "left-ribbon": { "hiddenItems": { @@ -177,27 +176,28 @@ "obsidian-git:Open Git source control": false } }, - "active": "fbdb92a309be8088", + "active": "a5daa8ea8214becf", "lastOpenFiles": [ - "Pasted image 20250314122451.png", - "Pasted image 20250314121916.png", - "Pasted image 20250314121904.png", - "Pasted image 20250314115857.png", - "Pasted image 20250314115632.png", - "Pasted image 20250314115427.png", - "Pasted image 20250314114314.png", - "Pasted image 20250314114257.png", - "TERCERO/SETR1/Teoria_2425.md", - "Pasted image 20250313122633.png", - "Pasted image 20250313115415.png", - "Pasted image 20250313114416.png", - "TERCERO/PI/Teoria_2425.md", + "TERCERO/ATR2/Pasted image 20250225091113.png", "TERCERO/ATR2/Teoria_2425.md", - "SEGUNDO/AC/Teoría_2324.md", - "TERCERO/DAD/Teoria_2425.md", + "Pasted image 20250306121610.png", + "Pasted image 20250306113133.png", + "Pasted image 20250306113057.png", + "Pasted image 20250227131516.png", + "Pasted image 20250227120032.png", + "Pasted image 20250227115420.png", + "Pasted image 20250225113929.png", + "Pasted image 20250225113139.png", + "Pasted image 20250225111938.png", + "Pasted image 20250225111612.png", "Untitled.md", - "TERCERO/ATR1/Teoría_2425.md", + "Untitled 1.md", + "TERCERO/SETR1/Teoria_2425.md", "SEGUNDO/RC/Teoría_2324.md", + "SEGUNDO/AC/Teoría_2324.md", + "TERCERO/PI/Teoria_2425.md", + "TERCERO/DAD/Teoria_2425.md", + "TERCERO/ATR1/Teoría_2425.md", "conflict-files-obsidian-git.md", "TERCERO/DAD/images", "TERCERO/DAD/Presentación 24-25.md", @@ -224,7 +224,6 @@ "TERCERO/IA/images", "TERCERO/ATR1/images", "TERCERO/ATR1/Welcome.md", - "SEGUNDO/ADDA/ADDA 23-24.md", "SEGUNDO/SO/Sin título.canvas" ] } \ No newline at end of file diff --git a/Pasted image 20250320110818.png b/Pasted image 20250320110818.png new file mode 100644 index 0000000..0efd4ad Binary files /dev/null and b/Pasted image 20250320110818.png differ diff --git a/Pasted image 20250320110820.png b/Pasted image 20250320110820.png new file mode 100644 index 0000000..0efd4ad Binary files /dev/null and b/Pasted image 20250320110820.png differ diff --git a/Pasted image 20250320110905.png b/Pasted image 20250320110905.png new file mode 100644 index 0000000..1392e51 Binary files /dev/null and b/Pasted image 20250320110905.png differ diff --git a/Pasted image 20250320111330.png b/Pasted image 20250320111330.png new file mode 100644 index 0000000..e739f92 Binary files /dev/null and b/Pasted image 20250320111330.png differ diff --git a/Pasted image 20250320112207.png b/Pasted image 20250320112207.png new file mode 100644 index 0000000..bede8d8 Binary files /dev/null and b/Pasted image 20250320112207.png differ diff --git a/Pasted image 20250320112323.png b/Pasted image 20250320112323.png new file mode 100644 index 0000000..badc423 Binary files /dev/null and b/Pasted image 20250320112323.png differ diff --git a/Pasted image 20250320113146.png b/Pasted image 20250320113146.png new file mode 100644 index 0000000..1e6a481 Binary files /dev/null and b/Pasted image 20250320113146.png differ diff --git a/Pasted image 20250320114112.png b/Pasted image 20250320114112.png new file mode 100644 index 0000000..2ff1f13 Binary files /dev/null and b/Pasted image 20250320114112.png differ diff --git a/Pasted image 20250320120951.png b/Pasted image 20250320120951.png new file mode 100644 index 0000000..b2feef7 Binary files /dev/null and b/Pasted image 20250320120951.png differ diff --git a/Pasted image 20250321110514.png b/Pasted image 20250321110514.png new file mode 100644 index 0000000..8db9f6b Binary files /dev/null and b/Pasted image 20250321110514.png differ diff --git a/Pasted image 20250321110756.png b/Pasted image 20250321110756.png new file mode 100644 index 0000000..8ecba72 Binary files /dev/null and b/Pasted image 20250321110756.png differ diff --git a/Pasted image 20250321111135.png b/Pasted image 20250321111135.png new file mode 100644 index 0000000..f8cb936 Binary files /dev/null and b/Pasted image 20250321111135.png differ diff --git a/Pasted image 20250321111817.png b/Pasted image 20250321111817.png new file mode 100644 index 0000000..e51e623 Binary files /dev/null and b/Pasted image 20250321111817.png differ diff --git a/Pasted image 20250321112719.png b/Pasted image 20250321112719.png new file mode 100644 index 0000000..20b4edc Binary files /dev/null and b/Pasted image 20250321112719.png differ diff --git a/Pasted image 20250321113321.png b/Pasted image 20250321113321.png new file mode 100644 index 0000000..3e598b4 Binary files /dev/null and b/Pasted image 20250321113321.png differ diff --git a/Pasted image 20250321113414.png b/Pasted image 20250321113414.png new file mode 100644 index 0000000..4036edb Binary files /dev/null and b/Pasted image 20250321113414.png differ diff --git a/Pasted image 20250321113739.png b/Pasted image 20250321113739.png new file mode 100644 index 0000000..033f2b0 Binary files /dev/null and b/Pasted image 20250321113739.png differ diff --git a/Pasted image 20250321113941.png b/Pasted image 20250321113941.png new file mode 100644 index 0000000..2e283da Binary files /dev/null and b/Pasted image 20250321113941.png differ diff --git a/Pasted image 20250321115758.png b/Pasted image 20250321115758.png new file mode 100644 index 0000000..a023b7d Binary files /dev/null and b/Pasted image 20250321115758.png differ diff --git a/Pasted image 20250321115951.png b/Pasted image 20250321115951.png new file mode 100644 index 0000000..1a42ab8 Binary files /dev/null and b/Pasted image 20250321115951.png differ diff --git a/TERCERO/ATR2/Teoria_2425.md b/TERCERO/ATR2/Teoria_2425.md index 922078d..94b549f 100644 --- a/TERCERO/ATR2/Teoria_2425.md +++ b/TERCERO/ATR2/Teoria_2425.md @@ -137,7 +137,7 @@ Hay dos formas de conectar dispositivos de forma inalámbrica ![[Pasted image 20250314115427.png]] - Las estaciones base conectan dispositivos de forma cableada. - Transferencia: dispositivo cambia de estación base que provee la conexión a la red cableada. -# UN PUNTO DE ACCESO NO TIENE IP, ES DE NIVEL 2 +## UN PUNTO DE ACCESO NO TIENE IP, ES DE NIVEL 2 ![[Pasted image 20250314115632.png]] **Inundación:** Tabla vacía. El equipo X transmite a la estación A. @@ -171,4 +171,57 @@ En redes inalámbricas hay problemas de obstáculos y distancia, ya que si hubie Código único asignado a cada usuario. Todos los usuarios comparten la misma frecuencia pero cada uno tiene una frecuencia de chip para codificar los datos. Permite a usuarios coexistir y transmitir simultáneamente. - **Señal codificada:** datos originales x secuencia de chip - **Decodificación:** producto escalar entre la señal codificada y la secuencia de chip -![[Pasted image 20250314122451.png]] \ No newline at end of file +![[Pasted image 20250314122451.png]] +## 6. LAN Inalámbrica IEEE 802.11 +![[Pasted image 20250321110514.png]] +La arquitectura de LAN 802.11 es básicamente: +![[Pasted image 20250321110756.png]] +- Host inalámbrico comunica con la estación base (Punto de Acceso, AP). Conjunto de servicios básico BSS (modo infraestructura: hosts, AP; modo ad hoc: hosts). +### Escaneo activo/pasivo +- **Escaneo pasivo:** + 1. Los AP envían tramas baliza + 2. Host envía petición de asociación al AP seleccionado + 3. Se recibe en el Host una respuesta de asociación desde el AP + 4. IP, Netmask, RF, DNS. + + ![[Pasted image 20250321111135.png]] +- **Escaneo activo:** + 1. Broadcast con una trama de sondeo desde el Host. + 2. Respuesta a la trama de sondeo enviadas desde los AP. + 3. Host envía petición de asociación al AP seleccionado. + 4. Se recibe en el Host una respuesta de asociación desde el AP. + ![[Pasted image 20250321111817.png]] +### Emisión/Recepción +![[Pasted image 20250321112719.png]] +- **Emisor:** + 1. Si tras un tiempo **DIFS** está el canal libre, se transmite la trama entera. + 2. Si está ocupado el canal, inicia un tiempo aleatorio de espera. El contador va bajando mientras el canal se queda libre. Intentará transmitir cuando el contador expire. + 3. Si no ACK, incrementa el contador y vuelve a 2. +- **Receptor:** + Si trama recibida OK: devuelve ACK después de **SIFS** +#### IDEA: para evitar las colisiones +Permitir al emisor "reservar" el canal en lugar de acceder aleatoriamente evitando colisiones con tramas largas. +- El emisor transmite primero pequeños paquetes de solicitud de transmisión (RTS) usando CSMA (los RTS pueden colisionar pero son cortos). +- El AP responde preparado para enviar (CTS). +- Cuando el resto de Hosts reciben el CTS, aplazan sus transmisiones y el Host emisor actual transmite su trama. +![[Pasted image 20250321113321.png]] +### Trama 802.11 +![[Pasted image 20250321113414.png]] +- **Dirección 1:** MAC Rx +- **Dirección 2:** MAC Tx +- **Dirección 3:** MAC de la interfaz del router a la que el AP está conectado +- **Dirección 4:** sólo en modo ad-hoc +- **CRC:** control de errores +![[Pasted image 20250321113739.png]] +![[Pasted image 20250321113941.png]] +## 7. Movilidad +### Definiciones +**Dirección permanente:** permanece constante (ej. 128.119.40.186) +**Care-of-address (COA):** dirección en la red visitada (ej. 79.129.13.2) +**Red ajena (visited network):** red en la que reside actualmente el dispositivo (ej. 79.129.13.0/24) +**Corresponsal:** host que quiere comunicarse +**Agente ajeno (foreign agent):** entidad en la red ajena que se encarga de funciones de movilidad. +### Enrutamiento indirecto +![[Pasted image 20250321115758.png]] +### Enrutamiento directo +![[Pasted image 20250321115951.png]] diff --git a/TERCERO/SETR1/Teoria_2425.md b/TERCERO/SETR1/Teoria_2425.md index f8d060f..d040a1a 100644 --- a/TERCERO/SETR1/Teoria_2425.md +++ b/TERCERO/SETR1/Teoria_2425.md @@ -311,3 +311,33 @@ __set_BASEPRI(10);

Si el BASEPRI del Core está a 0, se usa el nivel de prioridad del NVIC. Sin embargo si está > 0 el del Core, las interrupciones que lleguen al Core desde el NVIC con menos prioridad no se atenderán

La prioridad principal sirve para ver que interrupción puede o no interrumpir a otra. Sin embargo, la subprioridad sirve para que en caso de que lleguen "a la vez" se pueda decidir cual va primero.

+### Anidamiento y cambio en caliente +#### Anidamiento + ![[Pasted image 20250320110820.png]] +#### Cambio en caliente (Tail Chaining) + ![[Pasted image 20250320110905.png]] + El **tail chaining** tarda 6 ciclos en producirse. +### Late-Arrival Interrupt +Se produce al lanzarse una interrupción de alta prioridad mientras se está cambiando de contexto debido a una interrupción de baja prioridad. El contexto se guarda con normalidad, y se ejecuta la de alta prioridad, y cuando termine la de baja prioridad y se restaura el contexto. +![[Pasted image 20250320111330.png]] +### Interrupciones Externas (mediante GPIO) +Mediante un controlador de interrupciones externas, pueden haber máximo 16 pines con interrupción externa, ya que multiplexa los pines a las líneas de interrupción. +![[Pasted image 20250320112207.png]] +La estructura del controlador es: +![[Pasted image 20250320112323.png]] +El generador de pulso, es parecido a las interrupciones, pero solamente manda un pulso a un periférico interno. +## 6. Modos de arranque del STM32F407 +![[Pasted image 20250320113146.png]] +# TEMA 4: Dispositivos integrados en los μC +## 1. Puertos E/S +### Fundamento de un puerto GPIO +![[Pasted image 20250320114112.png]] +Un **puerto de salida** es un registro en el que se almacena el valor de un pin externo y permanece hasta que se vuelva a cambiar. +Un **puerto de entrada** es un buffer conectado a un pin cuyo estado se consulta en un determinado momento, y puede cambiar entre consulta y consulta. +#### Push-Pull +Se en el registro de dirección de dato se pone un '1' es modo salida y en el pin hay un 1 o un 0 depende del biestable de datos. Sin embargo, si hay un '0', los transistores están en HI y se lee desde el pin (pin en modo entrada). **No se pueden conectar dos salidas push-pull**. +![[Pasted image 20250320120951.png]] + +## 2. Timers +## 3. Conversores A/D y DAC +## 4. CLK y alimentación diff --git a/Untitled.md b/Untitled.md deleted file mode 100644 index 5da7d83..0000000 --- a/Untitled.md +++ /dev/null @@ -1,4 +0,0 @@ -## 2. Bus AT, ISA, EISA -## 3. Bus PCI, AGP -## 4. Plug and Play -## 5. Ejemplos \ No newline at end of file