| .. | .. |
|---|
| 3 | 3 | Contact: arnaud.pouliquen@st.com |
|---|
| 4 | 4 | Description: |
|---|
| 5 | 5 | For audio purpose only. |
|---|
| 6 | + |
|---|
| 6 | 7 | Used by audio driver to set/get the spi input frequency. |
|---|
| 8 | + |
|---|
| 7 | 9 | This is mandatory if DFSDM is slave on SPI bus, to |
|---|
| 8 | 10 | provide information on the SPI clock frequency during runtime |
|---|
| 9 | 11 | Notice that the SPI frequency should be a multiple of sample |
|---|
| 10 | 12 | frequency to ensure the precision. |
|---|
| 11 | | - if DFSDM input is SPI master |
|---|
| 13 | + |
|---|
| 14 | + if DFSDM input is SPI master: |
|---|
| 15 | + |
|---|
| 12 | 16 | Reading SPI clkout frequency, |
|---|
| 13 | 17 | error on writing |
|---|
| 18 | + |
|---|
| 14 | 19 | If DFSDM input is SPI Slave: |
|---|
| 20 | + |
|---|
| 15 | 21 | Reading returns value previously set. |
|---|
| 16 | | - Writing value before starting conversions. |
|---|
| 22 | + Writing value before starting conversions. |
|---|