2017-05-22 10:51 AM
Hi guys,
I am working with the STM32L486 using the CubeMX tool and running into some SPI issue that I can't seem to figure out (I am new to ST chipsets btw). Specifically the
HAL_SPI_Transmit routine takes to long compared to the fraction of the time the data is transmitted, as can be seen in the scope image below with yellow being the clock, blue being the data and pink the test point PA0_SET I wiggle (code below). The scope shows that theHAL_SPI_Transmit takes up to 4uS, which is ridiculous. Any idea how to speed this up close to the time it takes for the data to transmit (around 1.44uS)?
Thanks,
ED
PA0_SET;
Spi.Status = HAL_SPI_Transmit(&hspi2,(uint8_t *) &DDS_Cmd, sizeof(DDS_Cmd)>>1, 2); PA0_CLEAR; #hal_spi_transmit Note: this post was migrated and contained many threaded conversations, some content may be missing.Solved! Go to Solution.
2019-03-21 12:23 AM
Hi,
I am getting same problem.
I want to reduce time delay between clock.
Can you please describe your solution..
Thank you.