Others: STM32 MCUs related

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Undefined HAL symbols, in Keil

I have existing working code which uses uart and some GPIO functions. Its main.h has,#include "ll_common.h", #include "stm32h7xx_ll_gpio.h", #include "stm32h7xx_ll_usart.h"and few more ll headers.Now I need to add I2C functionality to the code. I go ...

sarojj7 by Associate III
  • 1221 Views
  • 3 replies
  • 0 kudos

Using System Workbench

Hello,I am using system workbench to generate a project not using the HAL libraries, bare metal as they say. I have done quite well thus far although today's headache concerns the use of sprintf. It is crashing my processor (STM32L476RG). I can get i...

RWils.11 by Associate
  • 626 Views
  • 2 replies
  • 0 kudos

Resolved! Problem with write and read FT24C16A with STM32F103C8T6

Hello everyoneSo I'm trying to read and write 64 byte long list from FT24C16A. I'm using STM32F103C8T6. So first picture displays I2C init for uC. Not problem here. I'm using 3.3 V.//---I2C_init---// static void MX_I2C1_Init(void) {   /* USER CODE ...

0693W000001pL90QAE.jpg 0693W000001pL9FQAU.png 0693W000001pL9oQAE.jpg
Indu by Associate II
  • 793 Views
  • 2 replies
  • 0 kudos

Hi, I have this TFT SPI Touch Display ILI9341, program Arduino 1.6.5., and developement board STM32F103C8T6. And I need initialize the display.I have program, but all Power Mode, MADCTL Mode is 0xFF !!! on output.WHERE I HAVE PROBLEM ????? code is in deta

#include <Adafruit_GFX.h> // this line I have added#include "SPI.h"#include "Adafruit_GFX_AS.h"#include "Adafruit_ILI9341_STM.h"// For the Adafruit shield, these are the default.#define TFT_DC   PA0   //  (Green) #define TFT_CS   PA1   //  (Orange) #...

TZ by Associate
  • 1558 Views
  • 3 replies
  • 1 kudos

EEPROM Emulation without using HAL

Dear All,Board: Nucleo - H745ZI-QI want to store few bytes of non volatile memory, for which I learnt that I need to use EEPROM emulation code. I went through the code given as part of STM software in en.stm32cubeh7_v1-7-0\STM32Cube_FW_H7_V1.7.0\Proj...

sarojj7 by Associate III
  • 403 Views
  • 0 replies
  • 2 kudos

Resolved! Incorrect value stored in SPI DR register on STM32F407

Hi,I'm using a STM32F4 Discovery board which has a STM32F407VG with a LIS3DSH accelerometer which is connected by SPI. I'm trying to read a register from the accelerometer and I tried writing the address of the register to SPI->DR. But SPI->DR shows ...

0693W000001cEAKQA2.png
GTS.1 by Associate III
  • 1449 Views
  • 2 replies
  • 0 kudos