cancel
Showing results for 
Search instead for 
Did you mean: 

for L9826 chip datasheet, what is the Status-bit stated in "Table 7. Diagnostic Table for outputs 1 to 8 in SPI controlled mode" and for this bit is in which register, and is it is send to the micro controller through the SDO?

Aabde.1
Associate II
 
1 REPLY 1
Winfred LU
ST Employee

In the the latest L9826 datasheet (rev 10), Diagnostic Table for outputs 1 to 8 in SPI controlled mode is in Table 9.

https://www.st.com/resource/en/datasheet/l9826.pdf

The following (number of the Figures or Tables) will be based on datasheet rev 10.

Please refer to Figure 5 for the output control register structure:

0693W000000UZNjQAO.png

These bits can be configured through the serial interface (SPI).

In addition, Output 1 and 2 can be configured also with parallel pins - NON1 and NON2.

To configure thru SPI, control data are transmitted to SDI (NOT SDO) through the micro controller. The bits shall be transmitted at every CLK falling edge.