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

STM32F3 discovery: SPI in 16 bit mode???

Posted on June 30, 2013 at 21:49 Hi, I'm sending data on the SPI interface. This seems to work a bit. The most important difference from what I expected is now that I want to put an 8bit value in the DR register, and I end up with 16...

IAR error Li 005

Posted on September 29, 2015 at 23:13I am trying to drive a KS0108 based LCD with a STM32L series micro-controller. I have the following source code: #include ''KS0108.h'' #include ''graphic.h'' int main(void) { GLCD_Initialize(); GLCD_ClearScreen()...

HAL_UART_Transmit ?

Posted on September 28, 2015 at 22:58Guys, How can I transmit a variable value using HAL_UART_Transmit ? for example I have c = 0; How can I do : HAL_UART_Transmit(&huart1, c, 100, 1000); and I will get 0 on my serial port ? Thanks

stm32f0 help with flash, to read and write + hal libraries

Posted on September 22, 2015 at 22:29Hi all, I wonder if anyone knows how to read and write to the flash stm32f0, using hal libraries ?. What I hold, it is to store some values ​​in real time, and when you restart the device, are present (such as EE...

CS42L52 i2s

Posted on September 26, 2015 at 18:36Hi All,I am working on MCBSTM32C board and I want to make the CS42l52 work. I tried but seems the DMA is not working. I upload my code. Could someone please help me? #mcbstm32c #stm32f107 #cs42l52

fangdu by Associate II
  • 479 Views
  • 1 replies
  • 0 kudos

SVC_Handler fails badly - hardfaults

Posted on September 06, 2013 at 19:20Below is the code for asm SVC handler straight from an example by ARM: SVC_Handler     STMFD        sp!,{r0-r3,r12,lr}          ; Store registers.   LDR          r0,[lr, #4]                        ; Calculate add...

denis by Associate II
  • 1641 Views
  • 10 replies
  • 0 kudos

STM32F7 - Can not write to FPB registers

Posted on September 25, 2015 at 21:56Hi All, During conversion of our debugging code from Cortex-M3/M4 to M7 I run into following problem - it seems that it is not possible to write to any registers in FPB unit, for example FP_CTRL (0xE0002000) or F...

branislav by Associate II
  • 1494 Views
  • 4 replies
  • 0 kudos

F2/F4 Security against reverse engineering

Posted on September 28, 2015 at 21:58There are facilities in china where you can hire resources for 200 US dollars an hour to reverse engineer microprocessors even if the flash protection bits are set or fuses blown - for example one technique is to...

estersci2 by Associate III
  • 1663 Views
  • 7 replies
  • 0 kudos

USART1 Doesn't transmit

Posted on September 28, 2015 at 21:10I have been trying to get my code to work but I cannot get any output on PA9 (USART1_Tx) on my STM32f0discovery board. Any help would be greatly appreciated. CODE =================================================...

mblack by Associate II
  • 702 Views
  • 4 replies
  • 0 kudos

Measuring time on STM32f401

Posted on September 29, 2015 at 11:52 hi, I'm trying to turn ON and OFF the LEDs of my board with 10-second intervals, but I get results in about 8 seconds. This is my code, I did not understand the frequencies of the processor card. I apo...