Resolved! STM32 ADC multiple channels HAL
Can some one tell me why this do not work?I start to freak out -.-..........I wish make 4 chanel adc with dma.Best Regards,Szymon
Ask questions, find answers, and share insights on STM32 products and their technical features.
Can some one tell me why this do not work?I start to freak out -.-..........I wish make 4 chanel adc with dma.Best Regards,Szymon
I'm using an STM32F103CB device, with a OLED screen in I2C1 (PB7 and PB6). The MCU freezes (hard fault) when an IRQ come from an edge in PB5, PB4 or PB3. I suspect that theres is a problem with the IRQ enabling function, which includes the I²C pins i...
I'm working on a project that uses lots of GPIO pins for inputs- it uses A12, A13, and A14 as inputs, along with several other pins.I have looked at the reference manual, and A13 and A14 are JTAG/SWD pins.On reset, A15 is pulled high for the JTAG int...
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 ...