SAME70 SPI controll for SD cards

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys,

 

I having issues with SAME70 SPI controll.

As we know we have to send 80 pulses at about 400kHz at the start with the Chip select set to high.

It seems we cannot actually send anything through SPI port with chip select high. Chip select automatically goes low when data is placed in TDR register.

 

Has anyone had some experience with SPI on SAME70?

Last Edited: Thu. Sep 21, 2017 - 03:01 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I also note that my uC is running at 300MHz with perpheral clock set to 150MHz. With this setting SD card clock rate of 400KHz initially is not possible...

SPI clock = Perpheral clock/div where div is between 1 - 255.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Same70 is not ARM7!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok can we move it to M7 forum?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have solution of SD CARD on SPI : https://www.avrfreaks.net/forum/s...