Connections
Hi,
new to microcontrollers, I want to use an STM32WBA54 for the BLE and have it control: a class D amp, a Led strip
What I need at this moment is to understand the connections I need in order to have the chips comunicate and work with each other. Once this is established, I will move forward into settings and programming.
I chose the STM32WBA54 because the audio signal will be transmitted via Bluetooth and because it has a SAI interface which I need to connect to the AMP TAS5827 I guess.
So basically the physical connections I need are:
I2S (LRCLK, BCLK, DIN) between STM and TAS
I2C (SDA, SCL) between STM and TAS --- this I am not sure of if needed and why
A PWM output for the WS2812 Led strip
Plus eventually 4 GPIOs between TAS and STM (Fault, Mute, Power Down, Warn) --- are these In or Out?
and and ADC for an encoder to act as volume control.
ohh and DEBUG (UART or I2C or SPI)
Start wondering if the STM32WBA has enough pins
Is this correct?
any Help
thanks

