STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Cannot locate core_cmInstr.h

Posted on January 05, 2017 at 03:07Hello, i am new in linux, i am using the STM32 Crypto lib and try to work on the RSA part,i am using linux command build.I get the error ofcore_cm3.h:136:95: fatal error: core_cmInstr.h: No such file or directory m...

FLast.11 by Associate III
  • 1174 Views
  • 4 replies
  • 0 kudos

UART Transmit with DMA Issues

Posted on January 08, 2017 at 20:53 Edit: compilable example code posted below in comments. The problem now with this code is that too many messages are being sent in addition to the wrong data being sent. I am using VisualGDB and a STM32F303RET6...

0690X0000060MopQAE.jpg
R H by Associate II
  • 1049 Views
  • 5 replies
  • 0 kudos

SPI for reading bits in Half-duplex

Posted on January 10, 2017 at 10:07Hi,I should read output data from an IC with SPI protocol as shown below.Actually I've got confused how can read each bits with SPI for (n=16 to 32). Or can we another simple approach to read data?I did some settin...

0690X00000605yuQAA.png
parisa by Senior
  • 450 Views
  • 5 replies
  • 0 kudos

Software reset to enter boot mode

Posted on January 09, 2017 at 18:22Hello, I am using USART between the STM32L4 and the Raspberry Pi to enter in the bootloader mode.It is working with the external reset (NRST pin) but I am trying now to enter in this mode with a software reset. I a...

CRC generator for hex file

Posted on January 09, 2017 at 15:23Hello,I am looking for a way to generate a CRC after compilation and add it to the hex file at a specified address so that it can altogether be programmed to flash and at runtime can be compared to a value calculat...

mmensch by Associate II
  • 673 Views
  • 4 replies
  • 0 kudos

Resolved! STM32F303K8 ADC Calibration phase problem

Posted on January 02, 2017 at 17:01This is my CODE:void ADC_t_init(void){    ADC_InitTypeDef          ADC_InitStrc;    ADC_CommonInitTypeDef     ADC_CmmInitStrc;    /* Configure the ADC clock */    RCC_ADCCLKConfig(RCC_ADC12PLLCLK_Div256);    /* Ena...

Jeck7778 by Associate II
  • 582 Views
  • 4 replies
  • 0 kudos

Resolved! SPI problem in stm32f10x

Posted on January 06, 2017 at 17:40HelloHere is my code#include <stdio.h>#include <string.h>#include 'stm32f10x_gpio.h'#include 'stm32f10x_rcc.h'#include 'stm32f10x_usart.h'#include 'stm32f10x_spi.h'#define SPI_FLASH           SPI3#define SPI_CLK   ...

parisa by Senior
  • 401 Views
  • 2 replies
  • 0 kudos

why uint8_t instead of char for strings?

Posted on January 06, 2017 at 12:42Why does the generated code from STM32CubeMX use uint8_t for strings, instead of the C standard char? The problem is that they differ in signedness, so gcc gives a warning. It's quite a pain, to be honest.I can see...