STM32F103C8 and I2C CMSIS problem to access to my MPU9250. Please help.
void initI2C() { SET_BIT(GPIOB->CRL, GPIO_CRL_CNF7_1 | GPIO_CRL_CNF6_1 | GPIO_CRL_CNF7_0 | GPIO_CRL_CNF6_0 |\ GPIO_CRL_MODE7_1 | GPIO_CRL_MODE6_1 | GPIO_CRL_MODE7_0 | GPI...
void initI2C() { SET_BIT(GPIOB->CRL, GPIO_CRL_CNF7_1 | GPIO_CRL_CNF6_1 | GPIO_CRL_CNF7_0 | GPIO_CRL_CNF6_0 |\ GPIO_CRL_MODE7_1 | GPIO_CRL_MODE6_1 | GPIO_CRL_MODE7_0 | GPI...
I've been using the example AN4657 and following it to a T. I'm using the example project library files form the STM32L476G IAP_Main and modified them where necessary to work with the 552.I can successfully connect to TeraTerm via usart3 connection a...
If I set my sine wave generator to 1.5 Vpk-pk the DAC outputs a nice clean sine wave. If I increase the ADC input above that level, I start to see clipping of the sine wave. The negative part of the wave begins clipping before the positive part. Is t...
I have already done this before, but with an Arduino board, the settings of Xbee are similar right now with STM that when I worked with Arduino, but I´m in troubles because I´m reading data from ADC board, but when I send it, the PC doesn´t receive a...
Hello folks,Does any body know why the input pin can not be driven high enough when it is set as the trigger to TIM3 in OPM? I use CubeMX to generate the init code where TIM3 ch1 as input trigger and ch2 as the output. On the board, I use a comparato...
Hello,I'm exploring the low power modes with a NUCLEO-L476RG (STM32L476RG).I generated RTC and NVIC configurations with STM32CubeMX (5.3 and then 5.6).I am able to wake up from STOP0, STOP1 and STOP2 using the GPIO EXTI interrupt of the user button.I...
I'm simulating some issues on my STM32F412 DMA SPI SLAVE because I need to avoid any unrecoverable situation.If for any reason the TX is not empty (TXE is 0), I'm not able to reset it (set to 1) even reinitializing the peripheral.Probably, something ...
Hi all,I interfaced external(off board ADC) to stm32h743 microcontroller. i am receiveing data in spi interrupt mode. i enabled RXPIE interrupt.But the interrupt latency is increasing as Baud rate of SPI is increased.at lower speeds latency is small(...
Hello,Is it that application can only run from ITCM ? When I try to run from other SRAM such as SRAM1, it get into MEM IRQ handler.Another issue is that on running from ITCM the HAL_Delay is much faster compared with running from internal flash (Xip...