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...
When I attemptC:\Users\Scott\AppData\Local\Temp\ccZvyICB.s:211: Error: selected processor does not support `dsb 0xF' in Thumb modeC:\Users\Scott\AppData\Local\Temp\ccZvyICB.s:222: Error: selected processor does not support `isb 0xF' in Thumb modeC:\U...
After programming the stm32g0316-disco the first time the programmer no longer connects. How do I reprogram it, and prevent this in the future?Thanks,Scott
Hi Jan,Here are the GPIO register values. All values not listed are zero. This is in hex integer format, so 0x80000000 is bit 31 set. 50000000 EAFFFFFB 00000000 0C000000 24000000 50000010 00004002 00000000 00000000 00000000 500004...
Hi Jan,It is a disco board that I have wired to an Atmel D21 Xplained Pro (as a source of I2C data) and a MAX98357A a speaker driver. I have the MX project configured only as a I2S master using pins 4, 5 & 6 and pins 7 & 8 for the debugger. Pin 1 i...
I thought perhaps there was an uninitialized interrupt vector, so I added __disable_irq() to my code after initialization. It didn't make any difference.Even though "It's unlikely - that macro probably just sets I2SE in SPIx_I2SCFGR", single step tr...
Hi Jan,Thanks for the reply. Yes, this code is running on the stm32g0136-disco board. But isn't MX supposed to generate workable code? Is there an interrupt assignment I am missing, even though I am using the polled calls?Thanks,Scott