Resolved! Why the number of data I sent is wrong when using HAL_SPI_TransmitReceive() ?
HAL_SPI_TransmitReceive(&hspi1,tx_sensor_data,rx_sensor_data,8,0);I want sent 8bytes, but only 2bytes sent, why?
HAL_SPI_TransmitReceive(&hspi1,tx_sensor_data,rx_sensor_data,8,0);I want sent 8bytes, but only 2bytes sent, why?
I am working with STM32F&508-DISCO, which is said to have external Flash of size 16MB connected through QSPI. I am trying to read from it, but it is not working.I tried running this: https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Proje...
We're developing for the STM32F767, primarily using the HAL. We have devices on the SPI bus which require different timing clock polarities. Re-configuring the SPI hardware through repeated calls to HAL_SPI_Init works, however, the actual hardwar...
Is it possible for any of the analog watchdogs of ADC1 to be used to trigger TIM8? I would like to stop a PWM generated using TIM8 when an ADC1 conversion crosses a threshold. Table 251, Interconnect to the tim_etr input multiplexer seems to indicate...
I am using UART to display the live readings of my DHT11 sensor similar to this blog post https://controllerstech.com/using-dht11-sensor-with-stm32/ and my program seems to stop around the DHT11_Read() or DHT11_Check_Response() functions. It seems t...
I followed the UART example (https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step3_Introduction_to_the_UART) and implemented it on a STM32F051 Discovery kit and on a STM32F446 Nucleo board with pretty much identical settings from CubeMX.If I scope ...
I made a custom board with an STM32F412RE chip and I can program it, and step through my code, but when I try to initialize my system clock I get stuck in a while loop that times out that I don't think should.[Here](https://imgur.com/a/Jqa1JmG) is my...
I'm converting the CubeMX usb audio device example to be audio class 2.0 compliant, with high-speed external phy.I have to implement a feedback endpoint to report the current number of samples per microframe. For this, I have tim2 set up as external ...
EDIT: Note change of direction of things in 3rd post.I have a stm32f091, which has a program that basically runs one mainloop that triggers ADC measurements and polling values from i2c chips using the i2c2 peripheral in master mode. ADC uses a DMA ir...