how to count time
I want to measure the time from GPIO low level to high in RC circuit,how to count the timeuse rtc or tim?
I want to measure the time from GPIO low level to high in RC circuit,how to count the timeuse rtc or tim?
HiI want to implement Modbus slave RTU/ASCII protocol on STM32F103VET6. I have read many forums about Modbus and examined several libraries, but unfortunately I couldn’t do it and I’m disappointed. In this blog: https://blog.naver.com/eziya76/2209703...
I have this code that works and i can turn an LED on:#include "stm32f10x.h" void RCC_Init(void){ RCC->APB2ENR |= RCC_APB2ENR_IOPCEN; } void GPIO_Init(void){ GPIOC->CRH |= GPIO_CRH_CNF13_0 | GPIO_CRH_MODE13_0 | GPIO_CRH_MODE13_1; } int main(vo...
Hello,I am working with the SensorTile + Expansion Cradle and Nucleo STM32F401RE Board. I am using the Datalog application included. In my vibration analyses, the accel data is clipping at 2G. What is the proper way to set the LSM6DSM Full scale...
Hi,I'm trying to interface with an MPU6050 with STM32F103C8T6 Blue pill board or the so called stm32duino board. I have code written as such:/* USER CODE BEGIN 2 */ if(HAL_I2C_IsDeviceReady(&hi2c1, MPU6050_ADDRESS, 2, 10) == HAL_OK){ HAL_GPIO_Toggle...
Hey, I just have a simple code, relevant parts are attached belowuint32_t dataADC = 0 ; // globally definedHAL_ADC_Start_DMA(&hadc1, &dataADC, 1); // after cubemx automatic initsand that is all; in the while(1) loop, there is only a delay and toggle ...
Cannot write to TIM3->EGR, Writes to EGR are stored in SR.stm32g071xx.h definitions are correct.Assembler output also shows correct addresses and offsets.;;;1157 TIM3->DIER |= TIM_DIER_UIE;0000b8 4608 MOV r0,r10000ba 68c0 ...
Hi everyone,I wonder how to know from which address start a program when we debug it into the flash memory and the finish address is easy to find if we know the start address.according to the map of flash memory of the STM32F413 given by the link bel...
Hey guys,I have connected two ST eval boards with my PC running Windows 10 v1803. When I connected NUCLEO_L432KC it was recognised as a COM port in the device manager and in "This PC" it showed up as a device and contained a txt file and a HTM file w...