STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 978 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
  • 969 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
  • 1567 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
  • 686 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
  • 1152 Views
  • 8 replies
  • 0 kudos

SWD can not connect to target

Hi, I can not connect to my STM32F767ZIT on custom PCB.It is frustrating as everything seems to be fine:MCU is powered properly with 3,3 V and it is drawing some powerall ST-LINK pins are correctly connected I was trying to use ST-LINK and Cube Progr...

FMrkv.1 by Associate
  • 628 Views
  • 2 replies
  • 0 kudos

How to run projects created for NUCLEO-F401RE in NUCLEO-L476RG

I am beginner to STM and eclipse environment IDE, currently I am working on sound source localization project and I came across X-CUBE MEMESMIC1 software package which had acoustics sound source localization project. But the project file has been bui...

CAS.1 by Associate
  • 802 Views
  • 3 replies
  • 0 kudos