Close

SPI

A project log for samDEV_09

Mini devboard for Atmel's SAMD09 ARM Cortex M0+ Microcontroller

alexAlex 07/16/2016 at 16:453 Comments

I got SPI working without using ASF now. I did upload my basic code used to the github repository also, if you interested. Now I will look how the SPI will work together with DMA. My goal is to connect some SPI flash. to store some logged data.

small Update: I can read at least the ID of a SPI flash (MX25L1005) I found on some trash PCB now. Sadly I found only this one SPI flash. Need to order some new ones in china... or desolder them from ESP modules

more Update: I did add some code line to the repository how to use my Spi libary. There is something to do in user code. For example all SS line handling must be done in user software.

Discussions

K.C. Lee wrote 07/16/2016 at 18:55 point

Are you planning on using a file system (eventually) with the SPI FLASH or just writing to raw sectors?
I am interested in seeing a FLASH translation layer to be used with a file system.

  Are you sure? yes | no

Alex wrote 07/16/2016 at 19:26 point

Fist I just want to write raw data into the flash. So far i do have only one data stream I want to log,  so a file system is not needed. 

  Are you sure? yes | no

Jeremy g. wrote 07/16/2016 at 17:57 point

well done! I'm still bashing on i2c.

  Are you sure? yes | no