ADC + DMA Sometimes read Zeros
I am reading the data after sampling 2048 each 3 times.But is there a reason why sometimes the data is read as 0?The cube mx configuration and part of the code are as follows.please help thank you
Ask questions, find answers, and share insights on STM32 products and their technical features.
I am reading the data after sampling 2048 each 3 times.But is there a reason why sometimes the data is read as 0?The cube mx configuration and part of the code are as follows.please help thank you
I note in the post (from July 31, 2020 at 8:33 AM) entitled "FLASH_WaitForLastOperation CubeMx error" (here: https://community.st.com/s/question/0D53W00000EDrjiSAD/flashwaitforlastoperation-returns-error-in-stm32g070), that there is a mention of an e...
Using HAL_UART_Transmit_DMAUSART is in async mode, 115200,8,1,-DMA: Data width = byte (nothing else works)Any clues as to what could be happening here?Thank you!Ned
Hi. I am going through the STM32 Step by Step instructions, as well as going through the "Description of STM32F7 HAL and low-layer drivers" manual. I am using the STM32756-EVAL board so I have made some appropriate changes based on the pins and ports...
Hi everyone,A new issue has occur and have no idea as to why the transmission would be sometimes corrupt. I try sending the word "Hello World" as a test, however sometimes I would receieve the word but sometimes I would receivbe garage values that va...
In the RM0454 the chapter 14.9 is "Temperature sensor and internal reference voltage". It explain how to compute the actual VREF+ using the internal reference voltage. And the ADC has a VREFINT channel.But I can't find VREFBUF.In the datasheet (DS127...
static const uint16_t TEMP_ADRESS = 0x48<<1; int main(void) { HAL_StatusTypeDef RETURN ; uint8_t buffer[1]; uint8_t buffer2[2]; uint16_t Val ; float temp_c ; HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_I2C1_Init(); buffer[0]=0x...
Hi everyone,I am currently trying to learn rust embedded thanks to 3 stm32 based developpement board :Nucleo with STM32F103RBSTM32F3DISCOVERYNucleo with STM32F411REI have no issue with the first two ones but I can not make work the F411RE with gdb & ...
Hello,I am facing an issue with nCS pin of QSPI on STM32H747BIT.Reference manual indicates that SCLK is supposed to wait one period after nCS fall before starting operations :But I do not observe this wait on my board.*Yellow is the clock *Blue is th...