Quantcast
Viewing all articles
Browse latest Browse all 21893

DRV8316: SPI Fault Reporting

Part Number: DRV8316

Tool/software:

Hello,

I am verifying fault handling functionality and would like to trigger a SPI fault. I have tried creating address and parity faults using the below methods.

SPI_ADDR_FLT
From the datasheet: 

"If an invalid address is provided in the ADDR field of the input SPI data on SDI, SPI address error is detected and SPI_ADDR_FLT bit in STAT2 is set. Invalid address is any address that is not defined in Register Map i.e. address not falling in the range of address 0x0 to 0xC."

I am periodically reading address 0x1D followed by reading STAT2, but do not see the SPI_ADDR_FLT bit latch.

SPI_PARITY

I am performing a read of STAT1 with an incorrect parity bit, but do not see SPI_PARITY set. However, I noticed in the datasheet this bit is marked with type "R-0".

I have cleared bit 1 of CR3 (SPI_FLT_REP, labeled as reserved in datasheet), but do not see nFAULT pin rise or SPI_FLT bit of IC_Status_Register set in either of the above cases.
Does the DRV8316 support SPI fault reporting?


Viewing all articles
Browse latest Browse all 21893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>