STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F1/F4的中断的频率最大是多少? What is the maximum interrupt frequency of STM32F1/F4?

我在高级定时器溢出中断�?�GPIO电平翻转的动作,然�?�去观察GPIO的波形,但是当定时器的溢出频率过高时,我�?�现示波器没波形了,这是�?�跟定时器中断的最大频率有关?I did the action of GPIO level flip during the advanced timer overflow interrupt and then observed the waveform of GPIO. However, when the overflow frequency of t...

bxCAN Identifier list mode

Hi All,I've looked around trying to find an example (with no luck) of how someone might set up the bxCAN module message filters to operate in ID list mode and how to assign the ID's to the various message filters - eg (CAN_FiRx) (i = 0..13, x = 1, 2)...

RMyer.1 by Associate III
  • 708 Views
  • 2 replies
  • 0 kudos

Emulating a shift register in STM32G0

Hi all.My objective is to read a stream of data intended for a shift register with 1.5us clock period.There are 17 clock cycles and I want to sample the data at the transition (upper or lower).Can this be achieved using SPI or should I just bit-bang ...

0693W00000Bd7H6QAJ.png
MPrat.1 by Associate II
  • 1084 Views
  • 6 replies
  • 0 kudos

I have a STM32L152RE Nucleo-64. I would like to send data through the USB port, but I always get the following error: USB Device not recognized.

I have been trying to solve this problem for more than two weeks. I have two Nucleo-64 cards and get the same error.I have configured everything using the STM32CUBEMX, I have configured the clock, following several tutorials, but it is impossible for...

FLomb.1 by Associate II
  • 1026 Views
  • 6 replies
  • 0 kudos

Erase stm32f427 from sector 5 to sector 23

Hello,I have STM32F427zi supply with 1V8. And I try to erase his flash from sector 5 to sector 23, but sector 23 is not erased. STM clock is set to 144MHz. Latency set after document RM0090.https://www.st.com/resource/en/reference_manual/dm00031020-s...

Resolved! How to use both FIFO's STM32F103

Hi, I am working with STM32F103 and configure CAN filter like this:CAN_FilterTypeDef sFilterConfig; sFilterConfig.FilterBank = 0; sFilterConfig.FilterMode = CAN_FILTERMODE_IDMASK; sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT; sFilterCon...

JBond.1 by Senior
  • 1682 Views
  • 7 replies
  • 0 kudos

Long DMA transfer with strict timing requirement

Dear ST community,on a STM32H7A3ZIT6 MCU running at 280 MHz, I need to transfer blocks consisting of up to 2^19 (524288) half-words (16 bits) to a 16 bit parallel interface DAC connected via Port F and the DAC clock connected to PE9. Sample rate shou...

RTC can't set date/time with LSE but with LSI works.

I'm using STM32IDE with MCU STM32L011F4 and LL libs. Something is wrong with RTC + LSE/LSI. Code is minimum generated by IDE. I set RTC with LSE and code is default generated by IDE, and can't change time/date, it's alwasy zero. But if I change sourc...

MNech.1 by Associate
  • 781 Views
  • 2 replies
  • 0 kudos

SPI Data Register is Always 0 on my STM32F302CBTx I have a code working on STM32L476VETx, it reads SPI data from AFE4400 Chip. Now I want to use this code on STM32F302CBTx (SPI2) but it does not work since I always get zero on data register.

Here is the code:uint32_t AFE4490Read (uint8_t address){ uint32_t data = 0; uint8_t buf[3]; HAL_GPIO_WritePin(AFE_STE_GPIO_Port, AFE_STE_Pin, LOW);    // enable device HAL_SPI_Transmit(&hspi2, &address, 1, 1000);      // send address to device HAL_SP...

SLONK.1 by Associate II
  • 1246 Views
  • 8 replies
  • 0 kudos