cancel
Showing results for 
Search instead for 
Did you mean: 

SPI interrupt documentation

gavin2
Associate II
Posted on August 30, 2012 at 13:56

Hi,

Could someone please point me to some documentation regarding SPI interrupts and what they actually mean from a hardware perspective?

I am currently having an issue with SPI overrun. From the ''SPI_I2S_IT_OVR' flag, I know that over run is ocurring but what does this actually mean and how do I got about fixing this?

There must be some reference that describes the SPI registers in detail?

Thanks in advance

1 REPLY 1
Posted on August 30, 2012 at 14:51

> Could someone please point me to some documentation regarding SPI interrupts and what they actually mean from a hardware perspective?

You didn't care to mention what chip/family you are using so I can't give you chapter numbers, but the SPI section of the user manual of your chip deals with the possible errors quite extensively.

> ''SPI_I2S_IT_OVR' flag

It's just the way how the real flags are obfuscated by the ''drivers'' library - it's of course the OVR flag in SPI_SR register, indicating receiver overrun (i.e. frame having been received without the receiver buffer emptied first).

JW