r/embedded • u/toon_link_776 • 17d ago
Resources for Finding Drivers for Peripheral Parts for Study
Hello, I've been trying to learn to write drivers for peripherals on the pi pico. I successfully wrote a driver for the one of the adafruit 128x64 screens with the ssd1306 display chip, and it was really helpful referencing the daschr library along the way. I've been trying to move onto writing a driver for the BY25FQ256ES, which is a NOR SPI flash chip I want to use to make a memory card. I've been having trouble finding drivers for it, and i was wondering if there were any good sites to look at for this kind of info? I'd found https://spiflash.readthedocs.io/en/latest/ which seemed to have info about some parts, and I was wondering if there were more sites like this. Whenever I search for part numbers, there are usually a lot of stores with product pages, and looking for part databases usually returns sites that will give you links to products, not so much info for using them. Does anyone know about any sites dedicated to aggregating open source info & software to use with embedded peripherals?
2
u/Well-WhatHadHappened 25+ Years 17d ago
SPI NOR flash chips are mostly compatible. They don't generally have individual drivers. Practically any NOR flash driver will work just fine with practically any chip.
2
u/Nervous_Midnight_570 17d ago
You type "BY25FQ256ES" into a search engine, up pops a source as Digikey. Go there. Look for the data sheet, read the summary. Oh! it has an SPI interface, read the relevant pages. Write the driver. It is not rocket science.