Quantcast
Viewing all articles
Browse latest Browse all 3049

ARM: SPI not working for STM32H7xx (1 Replies)

I am configuring SPI5 of STM32H7xx for full duplex communication with Trinamic Motor Dricer TMC5072. I am not getting any proper signals across the 4pins of SPI when i check using a CRO. int main(void) { CPU_CACHE_Enable(); HAL_Init(); SystemClock_Config(); SetupSPI(); SetupSPI_GPIO(); TMC5072_initMotorDrivers(); } static void SetupSPI(void) { __SPI5_CLK_ENABLE(); SpiHandle.Instance = SPI5; SpiHandle.Init.Mode = SPI_MODE_MAST

Viewing all articles
Browse latest Browse all 3049

Trending Articles