User Activity

Build ErrorError[Li006]: duplicate definitions for "HAL_SPI_TxCpltCallback";void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi) { HAL_GPIO_WritePin(SPIx_NSS_Port, SPIx_NSS_Pin, GPIO_PIN_SET); }I use the same in both files ?any way ? please help
I have a working code for SPI with DMA support added. Now I want to improve the speed of operation.I am using an STM32F427 controller.#define SPIx_Mode SPI_MODE_MASTER #define SPIx_Direction SPI_DIRECTION_1LINE #define SPIx_Dat...
I was debugging some code in STM32F4 controller. I build and flash some code related to DMA, During the debugging process the code is getting reset.Debug log is attached belowTue Apr 19, 2022 10:21:53: The stack pointer for stack 'CSTACK' (currently ...
DMA config as below hdma_tim.Instance = TIMx_CC1_DMA_INST;   hdma_tim.Init.Channel = DMA_CHANNEL_6;   hdma_tim.Init.Direction = DMA_MEMORY_TO_PERIPH;   hdma_tim.Init.PeriphInc = DMA_PINC_DISABLE;   hdma_tim.Init.MemInc = DMA_MINC_ENABLE;   hdma_...
I have done an SPI transfer only with DMA and working fine, but when I need to do a daisy chain configuration its not working. I am suspecting the NSS signal.below is SPI configuration#define SPIx_Mode SPI_MODE_MASTER #define SPIx_Direc...