Associate II
October 27, 2019
Question
Simple I2S app on STM32G0136-disco is failing
- October 27, 2019
- 10 replies
- 2645 views
I have created a simple app using stm32cubemx and cubeide that waits for a GPIO signal to go low, then plays a canned stream of I2S data to the port. The function call to HAL_I2S_Transmit() is causing the system to reset. Specifically the statement: __HAL_I2S_ENABLE(hi2s) causes the i2C output signals to transition into the active state, then the chip resets.
I've generated the init code with MX and get no compile errors or warnings. I've attached the project.
Thanks,
Scott