Ask questions, find answers, and share insights on STM32 products and their technical features.
So I've got a program with a fast tight loop doing some minimal things, and the rest is housekeeping/UI stuff in the main loop. When I enabled ICACHE, the speed of the tight loop increased DRAMATICALLY and overall the process is faster at basically e...
Datasheet for the Macronix flash is not available on-line. Can someone tell me about the correct parameters needed for the Macronix MX66UW1G flash?The number of sectors (used 32), sector size (used 4096), page size (used 0x100), chip select high time...
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...
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...
Hi Team, I am working on STM32U5A9J-DK for one of our applications interfaces with an Octal flash via Octal SPI. we were able to communicate and do the flash operations Read write using the SDR mode . Now to achieve the DTR mode from STM32U5a9 end ...
How does the (USART_ISR) BUSY flag get reset? The data sheet indicates "end of reception," but that is not defined. Is it an end-of-frame, idle event, or something else?
I am following a basic example from stm32: Getting started with SPI - stm32mcuI follow the steps for setting up SPI master with polling (Blocking mode). I did make sure to select the board STM32H573 DK instead of the one listed in the example.I initi...
I am writing sample demo Application to test data transfer between SPI Master(Nucleo F411RE) and SPI Slavee(Nucleo H755ZI-Q) device.Master SPI:/**SPI2 GPIO ConfigurationPC2 ------> SPI2_MISOPC3 ------> SPI2_MOSIPB10 ------> SPI2_SCKSlave SPI:/**SPI1 ...
DMA buffer 32 words, ADS converts 4 channels in scan mode.So every 8 ADC-starts DMA will start at buffer[0] (circular buffer is ticked).CubeIDE HAL is being used.How do I find out / look up the buffer offset most recently written to?