Bird
0
0

Which file must be edited to enable SPI manually on Raspberry Pi without using raspi-config?

easy🧠 Conceptual Q2 of 15
Raspberry Pi - SPI Communication
Which file must be edited to enable SPI manually on Raspberry Pi without using raspi-config?
A/home/pi/spi_enable.txt
B/boot/config.txt
C/etc/spi.conf
D/usr/bin/spi_enable
Step-by-Step Solution
Solution:
  1. Step 1: Identify configuration files for hardware settings

    The Raspberry Pi uses /boot/config.txt to set hardware options at boot time.
  2. Step 2: Confirm SPI enabling method

    Adding 'dtparam=spi=on' to /boot/config.txt enables SPI on boot.
  3. Final Answer:

    /boot/config.txt -> Option B
  4. Quick Check:

    SPI config file = /boot/config.txt [OK]
Quick Trick: SPI is enabled via /boot/config.txt, not random files [OK]
Common Mistakes:
MISTAKES
  • Editing non-existent or wrong files
  • Trying to enable SPI in user home directory
  • Confusing executable files with config files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes