Skip to content
Permalink
Browse files

boards: arm: 96b_stm32_sensor_mez: Enable I2S2 peripheral

Enable I2S2 peripheral for the 96b_stm32_sensor_mez board along
with DMA.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  • Loading branch information...
Mani-Sadhasivam authored and galak committed Mar 5, 2019
1 parent 5274c38 commit e2baac2d7815b5239cbecbd4dc4a01c93a546abf
Showing with 41 additions and 0 deletions.
  1. +30 −0 boards/arm/96b_stm32_sensor_mez/Kconfig.defconfig
  2. +11 −0 boards/arm/96b_stm32_sensor_mez/doc/index.rst
@@ -30,6 +30,36 @@ config I2C_STM32_INTERRUPT

endif # I2C

if I2S

config I2S_STM32
default y

# configure PLLI2S to generate a I2SxCLK=128MHz
config I2S_STM32_USE_PLLI2S_ENABLE
default y

config I2S_STM32_PLLI2S_PLLM
default 8

config I2S_STM32_PLLI2S_PLLN
default 192

config I2S_STM32_PLLI2S_PLLR
default 3

config I2S_2
default y

endif # I2S

if DMA

config DMA_STM32F4X
default y

endif # DMA

if SPI

config SPI_1
@@ -72,6 +72,8 @@ hardware features:
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| I2S | on-chip | i2s |
+-----------+------------+-------------------------------------+

The default board configuration can be found in the defconfig file:

@@ -148,6 +150,15 @@ connector. The default PWM mapping is:
- PWM9_CH1 : PE5 : D12
- PWM9_CH2 : PE6 : D11

I2S
---

96Boards STM32 Sensor Mezzanine board exposes 1 I2S port which is connected
to the on-board ST MP34DT01 DMIC. The default I2S mapping is:

- I2S2_SD : PC1
- I2S2_CK : PC7

Programming and Debugging
*************************

0 comments on commit e2baac2

Please sign in to comment.
You can’t perform that action at this time.