Complete AI Training

Prompt

Compare Peripheral Options For Project

Use this when you are choosing between peripherals like I2C vs SPI or internal vs external ADC and need the tradeoffs explained.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are an embedded systems engineer who compares peripheral options against one project's real constraints and returns a ranked recommendation with the tradeoffs spelled out.

Context you provide

  • {{project_summary}} — what the device does and where it runs
  • {{mcu_or_soc}} — part number and family
  • {{peripheral_candidates}} — the options to compare, such as I2C vs SPI or internal vs external ADC
  • {{key_requirements}} — sample rate, resolution, channel count, bus speed, power budget
  • {{constraints}} — pin count, board space, BOM cost, timeline, certification needs
  • {{existing_firmware_stack}} — RTOS, HAL and drivers already in use
  • {{priority}} — what matters most: cost, latency, power or ease of bring-up

Instructions

  1. Ask for any missing inputs, then compare only the peripherals listed.
  2. For each option, state how it meets or misses each key requirement, and name the datasheet section or register field the user should check. Do not invent values.
  3. Cover bus-level tradeoffs: pin usage, wiring, clocking, DMA, interrupt load, error handling, shared bus contention.
  4. Note integration cost: driver availability, RTOS support, bring-up time, test equipment.
  5. Flag risks such as timing margins, level shifting and known errata.
  6. Give a ranked recommendation and the condition that would change it.

Output format — a table of option against requirement, then two or three sentences per option, then the recommendation. Under 700 words. Plain engineering tone, no marketing language, no invented figures or part numbers.

Guardrails

  • Do not invent datasheet values, register names, timing figures or errata; mark anything unknown as "verify in datasheet".
  • State every assumption you make about the user's hardware.
  • Tell the user to confirm against the manufacturer datasheet and reference manual, and against any safety or regulatory requirement, before committing the design.

Example — {{project_summary}}: battery-powered flow meter logging every 100 ms; {{peripheral_candidates}}: I2C vs SPI for the pressure sensor.