HI, Am new to Atmel SAM processors.
I really need some help with the ASF programming.
Can anybody provide a sample code to demonstrate data transfer using SPI?
Silly beans are always silly
File -> New -> Example projects... There is an example project titled "SPI Example - SAME70 XPLD"
BTW, you posted in the wrong community. You should have posted here.
Portland, OR, US
Xplained/Pro/Mini Boards mostly
Make Xmega Great Again!
Sorry, Am new to this.
I'll keep that in mind in my next post.
By any means can I move this post to that location?
I have managed to get the SPI working.
But now am in a confusion like, hot to change the SPI clock frequency.
I did see a function like "spi_set_baudrate_div"
Even after using the function like in the example code, the frequency doesn't seem to change.
I have some how managed to make the internal SPI work without any issues.
Still I haven't got a clear cut idea regarding how things really work.
One more query.
Am not able to make the SPI clock frequency below 250kHz.
Is there any reason behind that?
It is working good for now.
But I really don't know why I couldn't bring the clock frequency below 250kHz.
What did you do to SPI works. ? My SPI doesn't work with SD card on extended board IO1 Explained. I don't have even SPI clock.
Check conf_board.h & see if SPI has been defined?
I solved it and problem wasnt't enable spi.
© 2022 Microchip Technology Inc.