STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Two STM32F103C8´s connected by SPI. Master is sending data=3 as test, Slave STM received the data, HAL_SPI_RxCpltCallback is fire, but HAL_SPI_ErrorCallback is fire too, HAL_SPI_GetError=4 (overload)

Hi all.I am trying to connect 2 STM32F103C8 (blue pill board).I run a test using just ONE STM32 using SPI1 as Master and SPI2 as Slave, all configurations were working fine (FullDuplex, Master Transmite. receive only Slave....every test was fine (all...

0693W00000JMJcOQAX.png 0693W00000JMJe5QAH.png 0693W00000JMJf3QAH.png 0693W00000JMJibQAH.png
ERABALF by Associate III
  • 1520 Views
  • 4 replies
  • 0 kudos

SPI using SPI_NSS_HARD_OUTPUT not working

Using a stm32f412zg:I want a simple master / slave full duplex config, using hardware gpio toggle PA4. I believe I am doing the necessary to init it right but 1) problem, the GPIO goest to 0 before the transaction, and never come back up. 2) commenti...

mbristol by Associate II
  • 1918 Views
  • 4 replies
  • 0 kudos

Resolved! How do i know whether MCU STM32F427VGT6 is genuine or fake

I bought hundreds of stm32f427vgt6 MCUs, They work abnormally—— The flash size@ address 0x1FFF 7A22 value is 0xFFFF, In theory it should be 0x0400. The MCU uid @ address 0x1FFF 7A10 of the same batch is irregular,but it should be regular accordin...

Ryan Luo by Associate
  • 955 Views
  • 4 replies
  • 0 kudos

Resolved! STM32L431 mass erase over SWD not working

Hello,I've created a custom PCB with a STM32F207 controller on it. With this board I want to address different targets using SWD. My targets are a STM32F407 and a STM32L431 controller. I implemented a custom SWD interface with Timer and DMA on my F20...

user 143 by Associate III
  • 1026 Views
  • 2 replies
  • 1 kudos

Resolved! SPI: First byte of 16bit TX transfer is always 0

Sending display data to an ILI9341 via SPI. The ILI9341 needs 16bit words in BigEndian. When I convert the STM32 LittleEndian data to BigEndian and then send the data paket as 8bit bytes everything is fine. In order to save the conversion I tried to ...

SFahr by Associate III
  • 1506 Views
  • 7 replies
  • 0 kudos

Digital potentiometer X9C103s

Hello everyone!Do you guys know how one can establish a connection b/w STM32H7A3ZIQ and a potentiometer X9C103s? Do I need to include a new library for that in the main body of the program? if so, how? Are there any resources I may utilize to establi...

ADabl.1 by Associate II
  • 1339 Views
  • 3 replies
  • 0 kudos

Resolved! ADC problems

Hello all.I have a custom stm32439VITx board running at 60MHz clocked off the HSI:void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};   /** Configure the main internal regulator o...

DCarr.1 by Senior
  • 1343 Views
  • 10 replies
  • 0 kudos