cancel
Showing results for 
Search instead for 
Did you mean: 

Simple I2S app on STM32G0136-disco is failing

Scott3
Associate II

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

10 REPLIES 10

Looks good.

How is FLASH_OPTR.NRST_MODE set?

JW