[En-Nut-Discussion] Harware SPI usage

Ernst Stippl ernst at stippl.org
Mon Nov 12 22:49:21 CET 2007


Hi!

I used the HW SPI on an Ethernut 2 to connect to an external UART chip and
did not use a critical section while /CS was low. Did not have any problems
(caused by that...)

Regards
Ernst

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Petri Hyötylä
Gesendet: Montag, 12. November 2007 10:03
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] Harware SPI usage


Hello!
I'm planning to use the MCU's hardware SPI in a project.
Is there some precautions in using it to avoid collisions with  
Ethernut's internal SPI traffic or is the hardware SPI complete out of  
question?
My guess is that the time that I keep my /CS low has to be a nut  
critical section.
-- 
Petri


_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.30/1126 - Release Date: 12.11.2007
12:56





More information about the En-Nut-Discussion mailing list