STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Help me choose a programmer [newbie]

Posted on January 08, 2014 at 21:05I have a legacy system that uses a STM32F103RE device and I would like to connect to it via JTAG (or any other on board option) and view the code on the device to verify it's version (and possibly update).  It seem...

STM32f-Discovery USART send BREAK

Posted on January 09, 2014 at 17:19I have setup the USART to Tx/Rx however my application requires sending a Break. The STM32F programmer's manual refernces sending Idle and Break, provides an example and register for sending an idle character but n...

vendor by Associate II
  • 1146 Views
  • 4 replies
  • 0 kudos

STM32F103 USB Virtual COM problem

Posted on October 25, 2013 at 16:13Hi, I am using olimex kit of  STM32F103RBT6 microcontroller. I am new in USB virtual COM programming. I am using STM32_USB-FS-Device_Lib_V3.3.0 with Keil MDK-ARM 5.0 IDE. I opened the precompiled Virtual Com port p...

Measuring Vdd through Vbat

Posted on January 07, 2014 at 23:00Using an STM32F407xx, I want to monitor Vdd by connecting it to Vbat and using ADC1_IN18. If I am not actually powering my device from the battery, is it still possible (or advisable) to do this?The reason that I a...

dibs by Associate II
  • 2160 Views
  • 7 replies
  • 0 kudos

Hard Fault test error?

Posted on January 09, 2014 at 13:14In order to test the Hard Fault interrupt, I modified the Systick example on ''STM32F0xx_Discovery_FW_V1.0.0'' as follows.. on main.c I added two lines: ------------------------------ int main(void) { uint8_t* Byte...

How to calculate date,month and year ?

Posted on January 08, 2014 at 08:35Guys, How to calculate date,month and year ? from RTC_GetCounter function, I saw : uint32_t RTC_GetCounter(void) {   uint16_t tmp = 0;   tmp = RTC->CNTL;   return (((uint32_t)RTC->CNTH << 16 ) | tmp) ; } I've done ...

STM32L1xx performance question

Posted on January 04, 2014 at 13:57 Dear Sir/Madam, In the past I have been using 8-bit AVR (Atmega328p) for my application. The application uses the following peripherals: - I2C peripheral and - USART peripheral The ...

klemen by Associate II
  • 1079 Views
  • 9 replies
  • 0 kudos

UART4 with DMA Rx Interrupt

Posted on January 09, 2014 at 09:30Hi ,I'm trying to use UART4 with DMA Rx Interrupt , and using stm32f103zg microcontroller. but i couldn't find any example project for this in here.Could anyone help me about this matter ? #dma #stm32

Extra interrupts generated when using DMA and SPI?

Posted on January 07, 2014 at 02:03I have a STM32 discovery board configured in slave mode receiving commands over SPI. When it receives a specific command byte, it activates DMA and sends back a set number of bytes back. I have a print statement at...

Buffer sizes for SPI and DMA

Posted on January 06, 2014 at 18:27 Quick Question: I'm using DMA to transfer some data over SPI, and the first time round, I'm sending data from a buffer of size 3 bytes. I then redefine the DMA to try and send a buffer of size 4 bytes, but it ...