Resolved! SCNu8 formatting
Hi,I was expecting to get x = 23 after following code: uint8_t x ; char* y = "23" ; sscanf ( y , SCNu8 , &x ) ;but I got x = 32.
Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi,I was expecting to get x = 23 after following code: uint8_t x ; char* y = "23" ; sscanf ( y , SCNu8 , &x ) ;but I got x = 32.
Hi there,I am working on a project where I am using STM32F401RE but later might shift to STM32F0 controller for interfacing it with DMD P10 LED display (monochrome/RGB), so are there any resources available for that? By resources I mean, libraries an...
I am writing to inquire about how to interface the ST4SI2M0020TPIFW eSIM monolithic IC with a microcontroller .I understand that the ST4SI2M0020TPIFW does not have any UART, SPI, or I2C pins. However, it is a monolithic IC that is designed to be inte...
I would like to preface with the fact that I am fairly new to hardware programming and electronics hardware design so bear with me if I am making some beginner mistakes.I am trying to write data to a USB stick using the PA11(33) pin and the PA12(34) ...
Hi,Currently I am implementing the smbalert functionality for ltc4015 based battery charger.But when I am using the below mentioned code(commented section) inside isr it is returning communication error. //SMBALERT interrupt from ltc4015 to stm32l0...
Hey everyone what is the effect on the speed of data transmission from gateway to nodes in Lora-wan network using stm32 if one increases the number of nodes.
Is there a way to use timers to trigger an interrupt at between 1.00BPM and 999.00BPM, with a 2 decimal resolution? I'm currently using an STM32F373 with 8Mhz clock for my timers, and set the Timer Prescaller to 8000-1, and set the ARR register to ...
Hi guys , I'm currently engaged in a project that utilizes the STM32U599NIH microcontroller. Typically, I would initiate my work by searching for the project under the board selector tab, but in this case, the board is conspicuously absent. While I w...
hiI use stm32f4 micro but an external interrupt pinwhen i increase frequency of the external signal connected to interrupt pin, the micro jump to hardfaultwhy? how I can detect the solution?
Hi, I have STM32F407 and trying to read/wirte from/to SD card and often the code get stuck in the this loop: static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR) { //... while(!__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_RXOVERR | SDIO_FLAG_DC...