Timeline for How to configure the SPI pins(MOSI,MISO,sclk and SS) for ATMEL ATSAM3X8E?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25, 2015 at 1:54 | vote | accept | PsychedGuy | ||
Mar 24, 2015 at 18:28 | comment | added | Majenko | You do it in the same way as for any pin. You look to see what the pin is called, say B3, then set or clear bit 3 in DDRB | |
Mar 24, 2015 at 17:39 | comment | added | PsychedGuy | Please, Can you provide an example concerning to your answer 1 as to how to do it for SPI pins?. | |
Mar 24, 2015 at 16:06 | comment | added | PsychedGuy | What about configuring the MOSI,SS and SCK pins as output from master and MISO as input to master?. Should I set these pins using DDRx or there is some other way for this?. Sorry If my question is lame, just filled with soo many doubts. | |
Mar 24, 2015 at 15:34 | history | answered | Majenko | CC BY-SA 3.0 |