The STM32 is the third ARM family by STMicroelectronics. It follows their earlier STR9 family based on the ARM9E core, and STR7 family based on the ARM7TDMI core.
0
votes
0answers
40 views
Clocking scheme for LAN8720A - Cortex M4
This is regarding a design choice involving LAN8720, specific to clocking schemes.
We are interfacing an ARM cortex M4 (with inbuilt MAC) to the 8720 PHY via RMII in the REFCLKO configuration. In the ...
0
votes
0answers
18 views
Problem running C++ function from STM32's SRAM in Keil microVision
I'm using Keil uVision 4.6 to write a C++ program for SMT32F103RE.
I need to run one of my program functions directly from SRAM, so I devided my SRAM into two separate regions:
...
-4
votes
3answers
70 views
Using array as global variables in IAR (STM32) [closed]
I have defined a global array in main.c:
__IO uint8_t data[3]={0,0,0};
then, I extern and assign vlues to this array in another c file:
...
-2
votes
0answers
43 views
How to set up programming environment for STM32 F4 discovery kit [closed]
I am new to STM3232 F4 discovery programming. I am totally confused and don't understand how to code or what environment to code in. I came across:
Using a GCC tool chain with Linux (I don't have ...
0
votes
1answer
52 views
IAR errors about extern and global vriables
I want to get values of a global array in a c file. the print screen of code is shown below:
'data' is the global array and 'slave_buffer_rx' is another global array defined in this file to get ...
-3
votes
0answers
85 views
stm32 potentiometer connected to ADC [closed]
I have connected a potentiometer(via stm32f103 3.3 v) to stm32f103 adc channel 1 (ADC1_IN1), with continuous mode, sampling 1.5. I am getting the values in DR register, and want to change the values ...
0
votes
1answer
74 views
Ideal protocol to read parameters (ex Temperature, voltage, battery status of satellite) from STM32 microcontroller? [closed]
I'm working on an nano satellite project. The task assigned to me is in the Checkout-system module of the satellite.
A couple of parameters from the STM32 microcontroller which will be mounted on the ...
0
votes
1answer
66 views
TLP280-4 Optocoupler on 12/24V inputs
There is a STM32 device which has to detect several signals from other devices. The voltage of these signals can be 12V or 24V. Also these signals can be positive (i.e. 12/24V) or negative (connected ...
0
votes
0answers
11 views
Difference between Max Interface Clock and Max Timer Clock?
I am trying to use a timer from STM32F4 with ARM Cortex-M4 chip. I need to get the maximum frequency out of that timer for my ...
1
vote
0answers
73 views
JLNINK(SWD)+IAR can not debug stm32: communication error
guys. I am using J-link with SWD interface to debug my STM32F103VCT6 in IAR. I can enter download and debug mode but I can not use "step over" or "stop" function. Once I use one of them I will get ...
2
votes
2answers
85 views
how can a GPIO of stm32 have many alternative functions?
I am working on the assignments of pins of STM32F103ZET1.
On page 31 of datasheet, it says that PA0 has many alternative functions: ...
0
votes
0answers
117 views
stm32f2xx external clock source for timer
I trying to use a timer with an external clock source on a stm32f207ZE microcontroller.
But it isn't working. Here is my code:
...
4
votes
1answer
92 views
Problem with I2C EEPROM communication
I have a STM32L MCU connected to M24LR64E, an I2C EEPROM. Previously i had this setup working but then i changed some things (layout, firmware) and somehow i screwed the I2C and it is not working now.
...
8
votes
7answers
374 views
I2C slave address not acknowledged (sometimes)
I'm trying to communicate with a remotely connected FRAM (FM24C04 from Ramtron) by using I2C. This memory is embedded on a board that can be inserted and removed at any time to/from the system ...
0
votes
1answer
162 views
STM32 program not executing
I am currently trying to make my own stm32 development board. i have stm32f100c4t6 microcontroller mounted on pcb.
I am using Atollic True studio free edition. i had made small blink led program ...
1
vote
1answer
116 views
Some general NAND flash questions
I have some questions about nand memories.
Do we need to erase whole block to rewrite only one page?
If true, what is the algorithm? Cache whole block > edit one page > erase whole block > write ...
0
votes
1answer
79 views
STM32 and GDB - Watchpoint
I'm reading the book http://www.cs.indiana.edu/~geobrown/book.pdf and I have a question regarding the Exercise 3.1.2 on page 50.
It ask to set a watchpoint on i. I set a watchpoint but it never break ...
1
vote
0answers
104 views
How it's possible to determine the output frequency of STM32 without oscilloscope?
I am implementing a frequency meter on my STM32F4, but to do that I need to know exact frequency of the timer fed on GPIO pin.
Is it somehow possible to determine that without using external ...
1
vote
1answer
316 views
STM32F4 Discovery demonstation not working anymore
I purchased a STM32F4 Discovery quite recently, and when I initially unboxed the board, I hooked it up to my Mac, and the already programmed in demonstration was working 100%. I was able to view the ...
0
votes
1answer
206 views
STM32 - PC serial sommunication
What are the available options or ways to connect the STM32 discovery board using UART to a PC via USB or the serial port ? What is the required hardware/cables ?
3
votes
1answer
209 views
STM32 USART loopback
Is it possible to connect the Rx and Tx pins of the same USART or on two different USARTs on an STM32 discovery board to make a loopback and test the USART?
3
votes
2answers
264 views
Cheap wifi for embedded projects
I am looking to combine a cheap wifi baseband/mac chipset with a STM32 F1 or F2 MCU to run the IP stack.
I have to use the cheap USB wifi dongles or use SDIO/SPI interface and port the drivers.
I ...
0
votes
2answers
276 views
Frequency measurement with STM32
This question is mainly a query for an advice.
I am trying to implement a frequency meter on STM32F4.
Up to this point I have a working ADC converter with DMA and a timer which checks for the current ...
3
votes
1answer
343 views
STM32 UART USB communication with PC
I'm trying to set up my first project on an STM32F4 and I encounter a problem which consists on how to pass the measures I took from the MEMS accelerometer from the STM32F4 to the computer.
I'm using ...
4
votes
1answer
180 views
Overwrote STM32F4 ST-Link pins
I overwrote by mistake ST-Link programming pins PA13 and PA14. Now I cannot reprogram my chip.
How could I fix the problem?
Datasheet
0
votes
0answers
426 views
Understanding Timers, Counters and Prescaler Registers on the STM32
So I'm trying to set up a very simple periodic interrupt on my STM32VL-Discovery board using the libopencm3 libraries on linux. I've looked at the documentation and I just want to verify with ...
0
votes
1answer
99 views
Using touchscreen cellphone lcd module for custom projects
I intend to use the capacitive touch based lcd modules of cellphones in custom embedded projects,
I will be using this display with low cost stm32 boards.
Has anybody experimented with this approach ...
0
votes
1answer
284 views
ARM STM32 simulator like proteous and some good book to start with?
I want to get my hand dirty with ARM programming. I have 8051/PIC16F/PIC18F programing experience. I searched about ARM and find STM32 series cheap. But before buying i want to get handy with it via ...
0
votes
2answers
87 views
Error in final launch sequence Failed for OpenOCD (Olimex) for ARM (STM32fxx)
I am using openOCD in eclipse for the arm STM32F10x series. After writing the whole code and building everything without error in the program, I am going to debug it and I am getting an error after ...
1
vote
0answers
736 views
STM32F4 USART USB communication with PC?
I am trying to use STM32 provided example of USART called "HyperLink" which basically runs USART1 on ports PA9 and PA10.
The problem is that my computer does not find any new COM ports.
Do I need ...
1
vote
1answer
122 views
How to force Keil to compile with software float for STM32?
When I am trying to create a float variable in Keil to program STM32 it just crashes.
I had a look online and as far as I read it tries to use hardware floating point unit (which is not enabled and I ...
4
votes
1answer
354 views
Unable to compile STM32F4 code sample with Eclipse
I'm trying to compile a simple STM32F4 sample using Eclipse with the GNU ARM Eclipse plugin from http://gnuarmeclipse.livius.net/blog/.
I'm getting the following errors:
and the structure is as ...
1
vote
1answer
106 views
AIC1863: How to use this MC to detect the presense of IR transmission?
I have build simple prototype on STM32 ARM Cortex microcontroller trying to understand the usage of AIC1863 IR Preamplifier for Remote Control System (see the handmade PCB on the breadboard).
MCU ...
0
votes
1answer
541 views
Turn STM32F4 Discovery into an HID USB device
I'm getting an STM32F4 Discovery board delivered this week, and busy snooping around for ways to turn the device into a USB HID device.
I basically want to write a simple application that will allow ...
1
vote
1answer
746 views
STM32F4 Discovery + Mac OS X + GCC + OpenOCD + Eclipse
I'm interested in buying an STM32F4 Discovery from ST Microelectronics. I'm using Mac OS X, 10.8 and would like to use a toolchain including
GCC
OpenOCD for debugging
Eclipse IDE / IntelliJ IDEA ...
1
vote
1answer
260 views
Stm32f discovery internal clock
I have set up the STM32F4 discovery to generate audio with on-board codec using I2S and all is well when using the HSE external 8MHz crystal and ST clock configuration utility Excel tool.
The ...
2
votes
3answers
431 views
0
votes
0answers
33 views
STM32F2 with Wifi Module [duplicate]
Possible Duplicate:
STM32F2 build environment
I have an STM32F2 microcontroller and a Wi-Fi module. I need to build a binary and load it to the STM in order to make it talk to the Wi-Fi ...
0
votes
2answers
474 views
Wifi Module over UART with STM32 mcu
I am trying to integrate an off the shelf wifi module with STM32f2 mcu over UART interface.
I need to test the board after laying out the board. Is there a way I can test this UART interface before ...
0
votes
1answer
267 views
Using CCM (Core Coupled Memory) in STM32F4xx
STM32F4xx microcontrollers have 128KB of SRAM + 64KB of CCM SRAM. CMM SRAM is hardwired to data bus so it is impossible to use it with DMA.
What is the reason to add additional SRAM as CCM?
Does it ...
1
vote
2answers
407 views
STM32F2 build environment
Would like to get an insight on how to build an environment with FreeRTOS +LWIP on eclipse for building a specific application on STM32. What do you recommend?
0
votes
2answers
580 views
funky values out of ADC on STM32
I've got an STM32 with a straightforward voltage divider bringing in a battery level line to an ADC. The problem is that I'm getting a value that doesn't make a ton of sense to me. According to my ...
2
votes
2answers
238 views
Setting RNG (Random Number Generator) boundries
I am learning STM32F4 board. I want to get number between 0-15 using RNG. I can`t set boundaries to get that values.
Is there someone who has experienced with RNG or Can help me?
0
votes
2answers
215 views
Why do I have to unplug the STM32F4 discovery card to update program?
I am starting working on embedded programs using the STM32F4 discovery board and the Atollic Lite PC software.
Every time I edit, recompile and attempt to download the revised program, it tells me ...
-2
votes
1answer
182 views
How can I understand FPGA?
I am learning Embedded programming. I already have the STM32F407 board. And there are many things to figure out.
However, I've heard of FPGAs, and am wondering exactly what they are. Are they a ...
1
vote
0answers
160 views
Microphone and speaker types in a DSP audio processing application
I am attempting to design and build a PCB from scratch. The hardware is meant to be used in a DSP audio processing application. What I want to achieve is to be able to collect sound through a ...
0
votes
3answers
470 views
STM32F407 board [closed]
I started learning embedded programming. But there are many things which is not understandable!
There are many things like USART, GPIO, DMA, SPI, I2s, I2c....... and others.
I have manual and other ...
3
votes
0answers
681 views
USB CDC-ACM Class Driver on STM32F4
Simply my project is to connect a Huawi USB modem to my STM32F407 Discovery board, and start using AT commands to send text SMS.
so here is what I've and what I want :)
I've OTG USB capability on ...
1
vote
1answer
292 views
How to connect an Arduino to a STM32F4 evaluation board?
I have a few Arduino and sensors on Arduino shields. I also have a STM32F4 Discovery evaluation board. For a hobby project, I have a feature on an Arduino (Ethernet port on my EtherMega) that I would ...
1
vote
1answer
278 views
PCB design of crystal/oscillator ok in this way?
I'm working on a 4-Layer PCB design for my quadrocopter. I'm using a STM32F407 and I need the 32 khz and 8 Mhz crystal.
Is the pcb design of my crystal OK?
My layer order:
Sig1
VDD
VSS
Sig2
...
