Please enable JavaScript.
Coggle requires JavaScript to display documents.
lec 3, DESIGNED BY ANAS - Coggle Diagram
lec 3
Detailed Summary:
Serial Transmission: Data is sent one bit after another in sequence. It is slow but works well over long distances.
Parallel Transmission: Several bits (usually 16 or 32) are sent simultaneously across parallel channels. It is very fast but only suitable for short distances.
Internal CPU buses are parallel; therefore, the interface must buffer and convert incoming serial data into parallel form before the CPU processes it.
-
-
-
- Serial (تسلسلي): الداتا بتمشي "بت" ورا التانية زي الطابور. بطيء بس بينفع للمسافات البعيدة.
- Parallel (متوازي): بيبعت 16 أو 32 "بت" مع بعض في نفس الوقت. طيارة بس للمسافات القصيرة. وعشان البروسيسور من جوه شغال "متوازي"، الواجهة لازم تقلب أي داتا جاية "سيريال" لـ "باراليل" عشان البروسيسور يفهمها.
Detailed Summary:
Voltage Conversion: Interfaces adjust voltage levels between peripherals and the motherboard to prevent incompatibility.
Protocol Conversion: Ensures that the communication standards (protocols) used by both the computer and peripheral are compatible.
Status Signal Handling: Indicates if a peripheral is ready to communicate or if there is a problem (like a printer error) requiring user attention.
-
Slides 15-16: Voltage, Protocol & Status
-
Detailed Summary:
Peripherals are any devices attached to a CPU, including hard disks, mice, and printers.
-
Example: A game loading a level requires reading from a CD and writing to memory, during which the CPU might be held up.
-
الشرح : الـ Peripherals هي أي حاجة "برانية" بتوصلها بالكيسة، زي الماوس والكيبورد والبرنتر والهارد. الأجهزة دي "سلحفاة" جداً بالنسبة للبروسيسور، وبتقعده جنبها لحد ما تخلص شغلها. زي لما اللعبة تقعد "تحمل" (Loading) من الـ CD للميموري، البروسيسور بيفضل متعطل.
Detailed Summary:
-
-
Hardware: The physical port/cable connection (e.g., USB, Firewire).
Software: The device driver installed on the system (e.g., printer driver).
-
الشرح : الواجهة (Interface) هي "المترجم" أو "حلقة الوصل" اللي بين البروسيسور والجهاز. وهي عبارة عن حاجتين: حتة حديدة (الهاردوير) زي فتحة الـ USB ، وحتة كود (السوفت وير) وهو "التعريف" أو الـ Driver اللي بتسطبه عشان الكمبيوتر ينطق.
Detailed Summary:
-
Digital Signals: Computers only understand digital signals (On/Off, 1/0).
DAC (Digital to Analogue Converter): Converts computer digital signals to analogue for other devices.
ADC (Analogue to Digital Converter): Converts analogue signals from peripherals into digital forms the CPU can handle.
-
الشرح : الكمبيوتر مابيفهمش غير (0 و 1)، ودي اسمها إشارة رقمية (Digital). بس فيه أجهزة تانية بتبعت إشارات متغيرة "موجات" (Analogue). هنا بيجي دور المترجمين: الـ ADC بيحول الموجات لـ 0 و 1 عشان الكمبيوتر ، والـ DAC بيحول الـ 0 و 1 لموجات عشان الأجهزة التانية.
Detailed Summary:
Peripherals have vastly different characteristics: they have different transfer rates, use various codes/signals, and transmit in either serial or parallel forms.
-
Core Functions of an Interface: Buffering, serial-to-parallel conversion, analogue-to-digital conversion, voltage conversion, protocol conversion, and status signal handling.
-
الشرح : إحنا ليه بنحتاج الواجهة دي أصلاً؟ عشان الأجهزة الطرفية دي "كوكتيل" مختلف عن بعضه. واحد سريع وواحد بطيء ، واحد شغال بالكهرباء (فولت) عالية وواحد واطية. الواجهة هي اللي بتظبط "الفولت" ، وبتحول الداتا من شكل للتاني ، وبتفهم "لغة" كل جهاز (البروتوكول).
Detailed Summary:
A buffer is an area of RAM inside the interface used for temporary storage while data is in transit.
-
-
-
الشرح : الـ Buffer ده "مخزن مؤقت" في الرامات بتاعة الواجهة. فايدته إنه بيسند الجهاز البطيء؛ البروسيسور "الصاروخ" يرمي الداتا فيه بسرعة ويروح يشوف وراه إيه، والبرنتر "السلحفاة" تسحب من البفر ده براحتها على قد ما تقدر.
Detailed Summary:
-
-
For example, data from a keyboard is stored in a buffer until a manageable amount is ready for the CPU to process.
-
الشرح : البفر ده أشهر حاجة في "البرنترات". بدل ما البروسيسور يفضل واقف فوق دماغ البرنتر المستفزة، هو بيديها الداتا في البفر وهي تطبع براحتها. كمان الكيبورد بيعمل كدة؛ بيحوش الكلام اللي بتكتبه في بفر ويبعته للبروسيسور مرة واحدة بدل ما يصدعه بكل حرف بتدوسه.
Detailed Summary:
Spooling: Data is sent to storage (like a hard disk) instead of RAM. The CPU transfers data to the printer when idle, a process called "background printing".
Comparison: A buffer is limited by RAM size, whereas a spooler uses backing storage with massive capacity.
If the CPU is constantly busy, spooling can become very slow.
-
-
الشرح :الـ Spooling ده "بفر على كبير". بدل ما نحط الداتا في الرام، بنرميها على الهارد ديسك. ده اللي بيخليك تدي أمر طباعة لملف 500 ورقة وتكمل شغل عادي والبرنتر بتطبع "في الخلفية" (Background Printing). الفرق؟ البفر صغير (رام)، السبولر عملاق (هارد). أحسن حاجة إنك تشغل الاتنين مع بعض عشان تريح البروسيسور خالص.
-