SAMD21/R21: How to use SPI Hardware SS with ASF?

Discussions around product based on ARM Cortex M0+ core.

Moderator: nferre

jharley
Posts: 238
Joined: Thu Dec 06, 2012 6:40 am

Re: SAMD21/R21: How to use SPI Hardware SS with ASF?

Fri Jun 06, 2014 12:50 am

Hi awneil -

According to the data sheet sec 25.6.3.5, what you are seeing is expected behavior.

If you want to send multiple bytes with the SS asserted throughout then you should disable the Master Slave Select Enable and you will have to handle the SS line manually.

probably not what you wanted to hear... i know the spi peripherals in other Atmel parts allow hardware control to send multiple bytes without wiggling the SS line between each byte.

Return to “SAM D20 Cortex-M0+ MCU”

Who is online

Users browsing this forum: No registered users and 1 guest