casting double to long
Posted on April 03, 2014 at 10:11 Hi I'm using STM32f4 i was trying this code: int main() { signed long sArg; double dArg; sArg = ( signed long ) dArg; } the build is ok , but when tryin to program the target i got ''n...
Ask questions, find answers, and share insights on STM32 products and their technical features.
Posted on April 03, 2014 at 10:11 Hi I'm using STM32f4 i was trying this code: int main() { signed long sArg; double dArg; sArg = ( signed long ) dArg; } the build is ok , but when tryin to program the target i got ''n...
Posted on March 25, 2014 at 18:22I am developing an application using the MP34DT01 microphone and an STM32F4 microcontroller. I have an STEVAL-MKI117V1 evaluation board, which interfaces the microphone to an STM32F107. I would like to port the PDM i...
Posted on April 02, 2014 at 10:49Hi all, I'm using the F3 Discovery. I want to use an external board by powering it using the external application power supply 5V of my Discovery. I measured my the current consumption of my discovery alone and it's...
Posted on April 02, 2014 at 21:06 Hi, I use LwIP stack with FreeRTOS and STM32F4 Discovery. I use it like web server. And I want parse POST parameters. And parse header for read Cookies. I wrote lot of functions. Some functions was good in on...
Posted on April 03, 2014 at 08:27 Hello, i am working with a STM32f103 with the integrated CAN controller and i use the std. periph library. In the function CAN_ClearITPendingBit(CAN1, CAN_IT_BOF); the entire CAN_MSR reg...
Posted on March 31, 2014 at 17:10Hi all, I want to use RTC from STM32F4DISCOVERY and have a doubt about VBAT pin that is connected to VDD through R26 0Ohm, this are saying that I need to take off R26 to plug a vbat battery, but if I take off the R26...
Posted on April 02, 2014 at 16:13 Dear, i am getting this error, this is my flash write routine: #include <stm32f4xx_flash.h> #include ''flash.h'' uint8_t flash_status; volatile uint32_t* flash_location_sect3 = (volatile uint...
Posted on April 01, 2014 at 18:47Dear, i need to implement a timer, with seconds step, just as a watch. I have now the follwing clock (internal) set static void SetSysClock(void) { /* PLL (clocked by HSI) used as System clock source */ ...
Posted on March 26, 2014 at 16:10HiI'm trying to write and read some data into a EEPROM (AT24MAC402) with my STM32F417 in I2C but the program loops in the START and don't write or read in the EEPROM. There is a status in ''stm32f4xx_i2c.c'' that sta...
Posted on March 28, 2014 at 16:11Hi, i'm trying to create a bootloader into the component STM32f106RDT with 384KO of Flash. I have mapped the memory like this: 0x08000000 - 0x0802FFFF for main software (first binary) 0x08030000 - 0x08030FFF for boot...