Forum Posts
Resolved! HAL_SPI SPI_DIRECTION_1LINE mode Send 4 more cycles
HI: STM32F103 STM32CUBEMX V4.25.1 As shown in the figure, I read one byte in 1line mode, but sent five bytes, four more than I wanted.thanks
How to access and store the CSV file in stm32?
Hello,I am working on Nucleo-H745ZIQ board. I have to interface the DAC to it.And i have to get the data in CSV file .And after that I have to read the file and dump through SPI and generate the waveform.In my board I dont have the SD card .Then usin...
I want to test a module, which is based on the nrf52840 development board and connected to the PC through a micro USB 2.0 cable, which runs on the AC6 tools system workbench platform. But using openocd debug, I don't know how to configure.
I don't know how to configure the config options of debug,using openocd debug. And I can't find nrf52.cfg file in system workbench, it seems that a interface file is also needed.So,how I should configure this ?In other words,"-f" and "-s" how to choo...
Does stm32g4 up-down counting mode support external events?
Hello, if configure stm32g4 in up-down counting mode, does it support external events,such as external pin event or analog comparator events?for example ,rising edge of analog comparator event set TA1 output in up count directionand the same event re...
Resolved! whats wrong in below code
uint16_t val[200]; unsigned char data[20]; uint32_t AVG_val[10]; uint16_t val_2=0; unsigned char count=0; double rms=0.0; uint32_t square = 0; double mean = 0; double root=0.0; int arr[]={15,78,59,85,56}; int n=100; int main(void) { HAL_Init(); S...
Is it possible to change the baud rate of the USART during run time in STM32 cube IDE
I'm using STM32 cube IDE for STM32F030CC uC, in this the baud rate of the USART is configured as part of the *.inc file, but my requirement is have to change the baud rate during the run time based on the user input, means, there are 6 USARTs sent in...
High sleep current after switching oscillator source from MSI to HSI and back to MSI.
Once I switch to the HSI clock source and switch back to MSI my sleep current increases from 25uA to 500uA. Maybe HSI is turning something on that the MSI configuration is not turning off. I can't find it. Any help is greatly appreciated. Doug
STM32F4 Audio acquisition slowing tasks
I am using STM32F401 for audio acquisition through I2S interface and also interfaced an IMU sensor with the MCU through I2C. I am using the CCA02M2 library provided by STM for audio acquisition and a separate task for reading IMU data. When I run the...