-
Thread
Matrix/vector operations on a Cortex™-M3
Hello everybody! I am using a Cortex™-M3 based MCU (STM32F103VET6) and the gcc arm compiler for some project. As there will a lot of matrix/vector operations come along the way I would like to know if anybody has experience with maybe existing libraries
-
Thread
STM3210E-OpenOCD-Olimex ARM-USB-OCD Debugging Issues.
Hi, I am working on a STM3210E board. I recently got a Olimex ARM-USB-OCD JTAG and set up OpenOCD 0.4.0. I am able to connect to the board using the JTAG fine. I am able to flash the board. But after it finishes loading the
-
Thread
usbprog as OpenOCD-adapter
Hi, I'm going to buy a STM32-Devboard. But I'm still looking out for an JTAG-Adapter, something cheap that'll work with OpenOCD / GDB. I've got an usbprog already (used for AVR-programming). Can I use that with the firmware
-
Thread
Simulating an ARM code on x86 with qemu
I want to run a simple ARM cortex-M3 program (does nothing, just initializes pins) meant for an STM32F4 on qemu I tried the following srinath@umdLenovoG570:~/qemu-1.4.1/arm-softmmu$ ./qemu-system-arm -cpu cortex-m3 -S -s -singlestep -nographic -m 513 -kernel ~/autoquad/autoquad-read-only/onboardCode
-
Thread
Multiple targets flashing with openocd
Hello, I'm using OpenOCD to flash STM32 with the command window. I want to know how I can flash different target by using the serial port, or the id, or other things that allow multiple flashing by using cmd command. (He needs to be in
-
Thread
Communicate TRX moduls and sensor
to Receiver(another CC1101). SHT31 works with I2C and CC101 works with SPI, my Microcontroller ist STM32F446re . I have got this Error: 1) Failed to execute MI command: -var-create - * spiRX Error message from debugger back end: -var-create: unable to create variable object I hope you can
-
Thread
STM32 Timer multiple compare values with DMA
Hello to all STM32 experts out there, is it possible to have multiple compare values for a running timer together with DMA? To be more precise: I am having an array of ten compare values (which do not follow any
-
Thread
Macro for Interrupt Routine
think this is also wrong.. Any ideas? Thx Kenan p.s. I'm working with codesourcery and the stm32f103
-
Thread
Program STM32 Board with a GUI in Matlab Simulink
Support Package for STMicroelectronics Nucleo Boards), which allows only the Arduino connectors of the STM32 F401RE board to be used. This means that there is little adjustment for the board with this tool chain. For this reason, I look for another possibility. This should be possible with the toolchain
-
Thread
STM32F03x - SPI via DMA -missing CLK on MISO
Hello, I have got a Problem with an STM32F030 Device, using SPI via DMA. I try to set and load Data from HC595 and HC165 chips via SPI. SPI is configure in Full duplex mode and prescaled down to a frequency of 8Khz. MOSI and SLK are
-
Thread
Would appreciate your assistance in improving my PCB rapid prototyping skills
community, exchange ideas, and get assistance with circuit development and writing code for AVR and STM32. I'm also looking for another technical co-founder and some mentors for the DeepTech startup Augmented Reality Head-Up Display Fullface Mask for defense, fire, security and medical applications. I
-
Thread
STM32F4 PWM outputs do not have the same frequency after updated
Hello. I have a problem. I'm using Kit STM32F407VG Discovery to control frequency of FullBridge LLC Converter. I use 50kHz Interrupt TIM2 and CH1,1N,3,3N PWM TIM1. The PWM frequency band is 80-140kHz. When updating new frequency (TIM1->ARR)
-
Thread
openocd target program issue
also watch/modify openOCD commands/responses by "telnet localhost 4444" command. For target chip STM32F103, for me works: target remote localhost:3333 monitor soft_reset_halt monitor soft_reset_halt monitor soft_reset_halt monitor reset halt load monitor soft_reset_halt break main continue
-
Thread
STM32F407 TIM5 external Clock/ ChibiOS
Hello, i want to configure the Timer 5 with an external Clock (Button). This is my code, but it doesn't work correct: GPIOA->MODER |= GPIO_MODER_MODER0_1; // Enable AF mode for A0 GPIOA->AFRL = (GPIOA->AFRL & 0xFFFFFFF0) | 0b0010; // Select AF2 for A0 TIM3/4/5) RCC->APB1ENR |= RCC_APB1ENR_TIM5EN; // Enable TIM5 clock TIM5->CCMR1 |= TIM_CCMR1_CC1S_0; // Input mode, map TI1 to IC1 TIM5->CCER &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); // CC1P and CC1NP = 0 for rising edge //TIM5->SMCR |= TIM_SMCR_SMS; // External clock mode 1 TIM5->SMCR |= TIM_SMCR_ECE;
-
Thread
DHT22 Sensor readings unrealisitc with STM32F407 uC
First of all i want to say hello I have a problem with my DHT22 temperature and humidity sensor. The start signal is fine, the sensor response signal is fine, the bits that the sensor sends me are fine my problem is how can i read out the data that the sensor sends me because my values are 2700 for humidity and between 4500 and 5800 for temperature. As you will see in the attatched file, i hope it works this is my first post, i have tried it using a for loop and after the sensor pulls the data line to 0 for the 50us low voltage that comes before every bit, i will put the datasheet down below,
-
Thread
STM32F429 DMA2D bilinear bitmap resize
Hello everyone, I wrote a simple but powerful DMA2D app to resize a bitmap using bilinear interpolation using very low CPU resource. A demo video is on https://www.youtube.com/watch?v=TgTxBIYUuVM and the source code is available on http://www.mediafire.com/download/w25kovq8umnmou0/DMA2D_bilinear_resize.rar Enjoy !!!
-
Thread
STM32F1xx EXTI problem to trigger interrupt by SWIER
Hallo, i have the following problem to solve: an interrupt should be triggered when the frame-signal of a SPI-interface changes from 0 to 1. If, at the time of enabling this interrupt, the frame-signal is already high, the interrupt should be triggered by software instead of the rising edge. I am using int-structures representing the register-bits of EXTI and other peripherals mapped to the according places within the bit-banding-area of the micro. These are name XXXbbbits. I am also using bit-structures which are representing the structures of their according registers to manipulate two
-
Thread
reading 24bit with I2S on nucleo stm32f411re
Hello, I am new to microcontroller programming. I am trying to read a digital microphone with a 24bit i2s interface. My problem is that the results I get are just uint16_t thus I loose some bits. I'm using st cube and HAL. The api documentation is: [c] /** * @brief Receive an amount of data in blocking mode * @param hi2s: pointer to a I2S_HandleTypeDef structure that contains * the configuration information for I2S module * @param pData: a 16-bit pointer to data buffer. * @param Size: number of data sample to be sent: * @note When a 16-bit data frame or a 16-bit