time return always the same value
Posted on May 01, 2015 at 15:48 hi my rtc is initialized i set date and time. long getUnixTimestamp() { struct tm timeinfo; //Setup a tm structure based on the RTC timeinfo.tm_wday = dateStruct.WeekDay; t...
Ask questions, find answers, and share insights on STM32 products and their technical features.
Posted on May 01, 2015 at 15:48 hi my rtc is initialized i set date and time. long getUnixTimestamp() { struct tm timeinfo; //Setup a tm structure based on the RTC timeinfo.tm_wday = dateStruct.WeekDay; t...
Posted on May 01, 2015 at 08:45 Hello, I have not been able to successfully use the newSTM32F1xx HAL I2C on a STM32F103CB. The issue remains the same regardless of the method used (polling, Interrupt, or DMA). When attemptin...
Posted on April 30, 2015 at 21:02I have two almost identical 72MHz boards which have code issues I suspect are related. I have DFU firmware that loads on to both boards, and both appear to the host as a USB DFU device. App firmware is loaded at 0x08...
Posted on May 15, 2013 at 19:00 I need advice on the following problem. I have to connect an external hardware generating 32-bit values at a continuous rate of 1536 kHz to a GPIO port of a Cortex M4F CPU, that of the STM32F4 Discovery board, which I...
Posted on May 01, 2015 at 09:29Hi all, I will configure HSE_VALUE = 8000000 and defined #define HSE_VALUE ((uint32_t)8000000) #define PLL_M 8 #define PLL_Q 7 #define PLL_N 336 #define PLL_P 2 And I defined line option : -DH...
Posted on April 30, 2015 at 20:52Greetings,I'm trying to work out how to detect when a can transmit completes on an STM32F429. Theoretically I could poll using CAN_TransmitStatus to wait for the mailbox to transition to CAN_TxStatus_Ok (or CAN_TxSta...
Posted on April 20, 2015 at 11:24Hello everyone, I want to measure the temperature with the built in temperature sensor in a stm32f151 device. As the application is sleeping most of the time the sensor output shall be near the ambient temperature. I...
Posted on April 15, 2015 at 16:32I want my main board (STM32F4-Discovey) be able to upload/flash firmware to another small & cheap device (to be created) using I2C. Currently I must select a micro-controller for the small device but I couldn't find ...
Posted on April 27, 2015 at 19:58Hi,I am having issue regarding an ADC configuration on 32F429IDISCOVERY board. I have a battery power application where I want to measure the battery voltage. This voltage is above the reference of the board (VCC) so...
Posted on April 30, 2015 at 14:48 was trying to configure the UART to the Futaba SBUS spec (100000/8E2) and cubemx generated the following initialization code: void MX_USART1_UART_Init(void) { huart1.Instance = USART1; huart1.Init.Bau...