BUG with STM32H723ZGT6 in SPI1 SCLK on PG11 pin (missing)
Hello,
I am making SPI DAC update function, and I could not get PG11 to output SPI1 clock.
While if I switch to PB3 pin, all is perfect. (this is alternate pin for SPI1)
If I toggle PG11 as GPIO, I get waveform so where is no short or something similar. Errata is also mute about this....



LL_AHB4_GRP1_EnableClock(LL_AHB4_GRP1_PERIPH_GPIOG);
LL_GPIO_SetPinMode(GPIOG, LL_GPIO_PIN_11, LL_GPIO_MODE_ALTERNATE);
LL_GPIO_SetAFPin_0_7(GPIOG, LL_GPIO_PIN_11, LL_GPIO_AF_5);
LL_GPIO_SetPinSpeed(GPIOG, LL_GPIO_PIN_11, LL_GPIO_SPEED_FREQ_HIGH);
LL_GPIO_SetPinPull(GPIOG, LL_GPIO_PIN_11, LL_GPIO_PULL_DOWN);
LL_GPIO_SetPinOutputType(GPIOG,LL_GPIO_PIN_11,LL_GPIO_OUTPUT_PUSHPULL);This is don't work. I get low level all the time... But if I switch to PB3, all is great:
LL_AHB4_GRP1_EnableClock(LL_AHB4_GRP1_PERIPH_GPIOB);
LL_GPIO_SetPinMode(GPIOB, LL_GPIO_PIN_3, LL_GPIO_MODE_ALTERNATE);
LL_GPIO_SetAFPin_0_7(GPIOB, LL_GPIO_PIN_3, LL_GPIO_AF_5);
LL_GPIO_SetPinSpeed(GPIOB, LL_GPIO_PIN_3, LL_GPIO_SPEED_FREQ_HIGH);
LL_GPIO_SetPinPull(GPIOB, LL_GPIO_PIN_3, LL_GPIO_PULL_DOWN);
LL_GPIO_SetPinOutputType(GPIOB,LL_GPIO_PIN_3,LL_GPIO_OUTPUT_PUSHPULL);So, what I am doing wrong ? I can't find it
Bonus question. I am running DMA, and i was hoping that TC will be after all data has been tranmited. Well, I get TC after 200ns, while it takes 100us to send data....
Any idea how to solve this?
I don't understand why ST can't include NSS hardware that would be handled with DMA transfers, it is just a few more triggers inside silicon to produce... NSS handling is just a mess.