Posted on May 25, 2015 at 16:45
Hi there,
I try to send data from PC to my stm32 board using RS232 but each time I send data to stm I get exactly same strange other data for sample:
if i send 0x12 i receive 0xc4 always
and if i s...
Posted on May 06, 2015 at 19:21
Hi there..!
sorry if my question seems duplicate but I dont know what's wrong, I want to set TIM2 interrupt to 1 ms without success.
this is my clock configuration
#define __RCC_CR_VAL 0x010...
Posted on April 24, 2015 at 00:52
Hi there...
sorry if question is duplicate but i follow sample in stdperipheral library for creating a can network between two nodes that i designed without success, however this program works in loop ba...
Posted on April 20, 2015 at 19:20
Hello everybody, i m a newbe to stm32 programming i wrote below function for read first 7 pins of GPIOA but its value only return 0x4444444 for GPIOA->CRL , it doesent matter if i change deep config whats wrong ...
Posted on May 26, 2015 at 06:54The MAX232 device is rated for 5V operation, not 3.0-3.3V I m using MAX3232. HSE_VALUE is 12MHz , i set PCLK2 equal to HCLK and HCLK = SYSCLK that is PLLCLK = HSE * 6 , so my PCLK2 is equal to 72 MHz
Posted on May 25, 2015 at 18:51thanks for quick reply! i using max232 in my hardware like the attachment and using 10kO resistors on RX and TX lines for decrease noises like the attachment, other than that everything looks OK to me, USART->SR has va...
Posted on May 07, 2015 at 09:33thanks a lot, its work now correctly :) just one another question, how to choose the right frequency for my micro? in my project I used CAN with 500kbps, USART (RS232 19200BR and RS485 19200BR) and I2C with 100kbps , h...
Posted on May 06, 2015 at 20:03
thanks for your quick reply.
the registry values set for this configuration
PLLMUL = 6
HESON
PLLSRC = HSE
SYSCLK = PLLCLK
HCLCK = SYSCLCK // AHB
PCLCK2 = HCLCK // APB2
PCLCK1 = ...