User Activity

  uint8_t my_buffer[ 1B_LEN_PREFIX + 24B_LEN_DATA + nB_LEN_SUFFIX ] = {0}; (void) HAL_SPI_TRANSMIT_DMA(&hspi2, &my_buffer[0], sizeof(my_buffer));   I'm using the SPI TX line only to drive an addressable LED, making a custom waveform from SPI bits to...
 Lines 19 and 26 are repeated. Mode is set to normal (0x0000) twice. The structure is already initialized to `={0};` it doesn't need to be overwritten once, let alone twice.Initialized for STM32H563.usart.c  /* GPDMA1_REQUEST_USART1_TX Init */ DMA...
 I'm trying to set up a DMA transfer from UART1 periheral to memory. Using LL drivers. Using STM32Cube for "convenient" setup. It puts the all the USART peripheral init in usart.c. Where for GPDMA it does something like:    /* GPDMA1_REQUEST_USART1_R...
It's a niche application. STM32H5 QFNI need SPI2_MOSI to make a specifically shaped wave. SPI is works well for this. I do not need the SPI_CLK pin/function. I set Cube MX to SPI2 Transmit Only Master, and of course it applies the CLK pin because alm...
Here is my attempt at background as I understand it... iROT is a ROM program in the STM32H563. It contains a P256 EC algorithm, and checks some section of FLASH that you define as a program for a signature, then jumps to it. The definition of the pro...
Kudos from