Questions tagged [stm32f2]

Anything related to the STM32F2 series of microcontrollers. This series is characterized by a high degree of integration combining up to 1 Mbyte of Flash memory and up to 128 Kbytes of SRAM with Ethernet MAC, USB 2.0 HS OTG, camera interface, hardware encryption support and external memory interface.

The ARM® Cortex™-M3-based STM32 F2 series uses ST’s advanced 90 nm NVM process technology with the innovative adaptive real-time memory accelerator (ART Accelerator™) and multi-layer bus matrix. This offers an unprecedented trade-off in price and performance.

The series is characterized by a high degree of integration combining up to 1 Mbyte of Flash memory and up to 128 Kbytes of SRAM with Ethernet MAC, USB 2.0 HS OTG, camera interface, hardware encryption support and external memory interface.

STM32 F2 series of high-performance MCUs

8 questions
5
votes
3 answers

STM32F20x ADC sampling time/rate

I need to calculate the exact sampling time or sampling rate for my setup on a STM32F205. I have the ADC setup as follow: ADC_DeInit(); RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1, ENABLE); ADC_CommonInitTypeDef…
Bjqn
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

"Backup SRAM" vs "backup registers"

Today I was looking at STM32F205 datasheet. this MCU has a feature. except 20 × 32 bit backup registers, it has 4 KB Backup SRAM. and due to datasheet: And look at this: Does "Backup SRAM" get erase after reset? Well, so far "Backup SRAM" is…
Roh
  • 4,598
  • 6
  • 41
  • 86
4
votes
1 answer

Driving a LED with an open drain digital output

I need to drive an LED from an STM32F217ZG. So I was thinking about a classic circuit with a BJT. But then I saw that GPIO outputs of the microcontroller are configurable as open drain. Would this circuit work? The LED has a 20mA forward current…
damien
  • 1,263
  • 3
  • 15
  • 25
2
votes
1 answer

How can I configure PHY in cubeMX on own board?

I made a customboard using STM32f217VET microcontroller and KSZ8081 PHY (builtin pull-up resistors for TXP TXM and RXP RXM). I Configured my board to use MII mode, anda I used a 25MHz oscillator to do so. Here's my original schematic: PS: I have…
morcillo
  • 151
  • 1
  • 4
  • 19
2
votes
1 answer

STM32F205VC: USART framing error?

I'm trying to use USART in my program on STM32F205VC, but instead of sending my data I get some weird chars in PuTTY. I've used a Saleae Logical Analyzer and the result looks like this: This is my full app code: #include #include…
user61143
  • 128
  • 9
1
vote
0 answers

STM32 F205VCT6: GPIO B Port 6 and 7 do not work?

I'm using the STM32 F205VCT6. I have a simple blinking LED program written in C++ with VisualGDB (and VS 2013 Community). It works fine for pins like A1 and E2, but it doesn't for B6 and B7, where I want to plug in USART. Does the processor block…
user2462898
  • 21
  • 1
  • 3
-1
votes
1 answer

STM32F205 - can i use a timer to generate a low pulse of specified length

I want a pin to be high by default and then generate two 125-250 µs pulses with 0.1 µs resolution using a command. I was thinking about using TIM1 in one-pulse mode but I don't see a way to invert the logic. And can two channels of a single timer be…
Chumanista
  • 159
  • 2
  • 10
-3
votes
1 answer

Why isn't thic clock initialisation code work - STM32F205

#include #include #include #include #include #include #include void SetupClock() { RCC->CR |= 1 << 16; while ((RCC->CR & 1 <<…
user61143
  • 128
  • 9