Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arm]

32-bit microcontroller IP. The ARM company which designs the ARM cores doesn't make controllers itself, but licences the IP to other manufacturers. ARM is the leading 32-bit controller and is available from tens of suppliers.

6
votes
2answers
5k views

Segger J-Link vs. JTAG Programmer?

I haven't developed with an ARM, and I'm a little confused on the programmer. I've been coding with PICs and 8051s and both use loaders that are from the manufacturer. No confusion. But ARMs are ...
3
votes
1answer
6k views

STM32F4 HAL Library Button Interrupt

I'm trying to toggle built in LED with external interrupt instead of while loop. Probably I'm doing something wrong with EXTI functions. Can you help me to fix it? ...
6
votes
3answers
946 views

ARM Cortex M0+ CoreMark Ratings

Currently when I work with microcontrollers, I use Microchip PICs and I'm happy enough with them. However, I decided to just take a look at ARM for a possible upcoming project. I wanted the pick the ...
0
votes
1answer
47 views

Cypress FX3 CyU3PToolChainInit Understanding help

I don't understand the purpose of the CyU3PToolChainInit function that is written in assembly source code for the FXE. As for as I know it clears the BSS area and enters the main function, but how is ...
1
vote
0answers
123 views

Is there any major difference between using STM32F103C8T6 + ST LINK V2 and using Tiva c concerning debugging?

I have started learning ARM microprocessors and I just wanted some real board to get more comfortable with what i'm learning and I have two options : Getting tiva c launch board or using STM32F103C8T6 ...
0
votes
2answers
641 views

Best choice in ARM Cortex series for running RTOS A-,R- or M? [closed]

I am learning about ARM Cortex based systems. I understand that most of the Cortex series can support running an OS. When it comes to real time operating systems implementation on an embedded system, ...
3
votes
1answer
561 views

Unused GPIO pins shall be configured as pull up or pull down [closed]

I have recently started working on Embedded Systems. I am configuring GPIO pins for MCU. But I'm bit confuzed whether I should configure them pull up or pull down. Is there any configuration rule to ...
0
votes
2answers
123 views

Confusion on ARM-Tiva PORTS and Registers

So im learning the Edx Embedded course "Shape the World", it's very good so far and im really learning a lot. Im in the section (6) learning about Ports and Registers. And maybe im a bit confused at ...
-2
votes
1answer
119 views

How to flash a lot of devices like Raspberry Pi (More than 1000)? [closed]

Our devices based on ARM and eMMC memory on board, and how mass flash our soft on this devices? (More than 1000 devices)
2
votes
2answers
1k views

RPi GPIO speed issue in bare metal

After reading the excellent article on bare metal by David Welch (https://github.com/dwelch67/raspberrypi/tree/master/baremetal), a friend and I are trying to implement a simple GPIO toggle. It's ...
2
votes
2answers
513 views

Accessing stm32 registers via structs in GCC

I'm trying to roll my own USB device using an STM32F103 blue pill board in C with the GCC arm-none-eabi compiler, but I've run into some strange behavior that I'm trying to understand. I've created ...
3
votes
2answers
749 views

Detecting JTAG pinout

I want identify JTAG pinout on the target board, using the JTAGenum tool. I have read the JTAGenum code, and want to clarify a few point about user configuration. JTAGenum can identify 4 mandatory ...
4
votes
4answers
7k views

OpenOCD child process termination: Wrong device detected

Setup I have an STM32F103C8T6 minimal eval board (see STM32F103C8T6). And I'm using an ST link like the picture below. I installed System Workbench for Eclipse. I created my own project (C++, Empty ...
1
vote
1answer
154 views

4 bit SD card - sharing the interface?

I've done a lot of googling and the answer just isn't jumping out at me. I've got a project that has two SD card slots. Access to the two cards is never simultaneous. I'm upgrading this project to an ...
0
votes
2answers
2k views

How to use a Linker File with Keil uVision5 ARM?

I am trying to follow a tutorial implementing a custom bootloader on a STM32F072 (ARM M0 Core), which requires remapping memory areas when compiling for both the 'bootload' application and the 'main-...
0
votes
0answers
74 views

Polling interrupting my codec reads and USB writes?

Another USB question here... same as last time; USB Audio on an ARM microcontroller. I have both endpoints (input and output) as isochronous/asynchronous transfers. In addition I have Timer Counter (...
-4
votes
1answer
691 views

Turn on a led with ARM in assembly language [closed]

How do I convert this C++ code for turning on one LED into ARM assembly language for the LPC2124? ...
1
vote
2answers
1k views

STM32F103C8T6 Maximum IO Output Speed

As per the datasheet of STM32F103C8T6, its GPIO pins has a hardware speed limitation of 50MHz. I need to achieve speed above 10MHz, but even with assembly codes I am getting only 7.99MHz. It is ...
0
votes
1answer
119 views

LIS3MDL sensor Vehicle Detection range

I want to use LIS3MDL magnetoresistive sensor for Parking Vehicle Detection project. I compared this with HMC5883L. LIS3MDL 's Full Scale range is +16 Gauss but HMC5883L 8 Gauss. But I did not ...
0
votes
1answer
3k views

stm32f103c8t6 : Problem in PWM generation on timer output channel

My Objective is to Generate PWM with duty cycle = 50 % , Frequency = 50 Hz using General Purpose Timer 2 in output channel 2 which is at PA1 or pin number 11 My Target System is STM32 BluePill ...
2
votes
0answers
348 views

SAM-D21 Clock On Demand does not wake up the MCU from Standby

I am using SAMD21 with FreeRTOS. I am putting the system on sleep level Standby and relying on a TC that works as a systick for the tickless FreeRtos to wake up the MCU however, when the debugger isn'...
0
votes
2answers
462 views

ARM Cortex M4f microcontroller on a breadboard

I recently bought an ARM based microcontroller from Texas Instruments (MSP432P401R). However I found out too late that it is not a in a Dual In-line Package and so I cannot use it on a breadboard. ...
0
votes
0answers
57 views

ARM mode switch breaking program execution

I am making an embedded system on a raspberry pi 3 B. Currently I am trying to change execution modes to set the different stacks (the user stack, the supervisor stack, the interrupt stack...). As far ...
0
votes
1answer
171 views

CMSIS-RTOSv2 - Access out of bounds in RTX RTOS window

During migrating my project to RTOSv2 and RTXv5, I recognize that after a few minutes my program hangs and the messages appear at the RTX RTOS window: ...
2
votes
5answers
676 views

Choose a microcontroller [closed]

I plan to use a microcontroller on my project. But I don't know which one should I use. I know the features the microcontroller will need to have but many manufacturers can fit my need. Should I ...
0
votes
1answer
315 views

I2C ADV7511 communication

I am currently trying to communicate via I2C to HDMI transmitter ADV7511 from Zynq 7000 Soc, I used this example as a reference for start, but yet without success, program get stuck in function ...
0
votes
2answers
155 views

Lithium button-cell battery discharging really quickly

I am working on a board with an ARM9 (SAM9X25). On this board there is a 3.3V lithium button-cell battery powering the VDDBU power rail. It is also used with a 100kOhm pull-up resistor for WKUP with a ...
2
votes
3answers
929 views

Problem on NVIC STM32F100

I am using STM32VL discovery board(STM32f100rb6).. I wrote following code for NVIC: ...
1
vote
2answers
341 views

Control different functions using the same push button. ARM 7

I am trying to implement a small piece of code, and can basically be simplified to the following. I have three different LEDs (say P0.0, P0.1 & P0.2). I have one push button that when pressed ...
1
vote
1answer
400 views

USARTbaud-rate not set truely

I am using STM32VL discovery board(STM32f100rb6).. Using this code for USART setup (including baud-rate): ...
0
votes
1answer
1k views

USART not working

I am using STM32VL discovery board(STM32f100rb6).. Using this codes but at result ther is nothing on TX pin. systeminit(): ...
0
votes
1answer
256 views

ARM Cortex-R for motion control application [closed]

I need to control about 50-motors(brush DC/Stepper) with each of them having an encoder for feedback.Precise motion control is needed for each motor axis.I have been looking at ARM cortex-M4 ...
1
vote
1answer
5k views

STM32 Wakeup from Stop mode using GPIO EXTI event

I am using an STM32L0 series MCU. I configured my MCU to wake up from Stop Mode using an EXTI line (EXTI0 at PORTA0) during falling edge. At the beginning, it wasn't going to the Stop Mode after I ...
0
votes
1answer
3k views

How do I set SysTick to 1 ms?

I am using STM32F100xx and want to set the SysTick timer to 1 ms. How could I do it? I am reading this part from the reference manual, but I can't understand fully. SysTick calibration value ...
1
vote
0answers
166 views

Can Hardfault Exception be triggered by hardware?

I have an Cortex-M7 project that sometimes goes in the Hardfault exception interrupt, sometimes not. With the same code. When it happens it append all the time. My system is made of two board ...
-1
votes
1answer
453 views

Whats wrong with my program?

I am trying to turn on LED on PC8 STM32VL Discovery board(Micro: STM32F100RB). I am using linker script provided by st.com (stm32_flash.ld): ...
3
votes
1answer
821 views

Why don’t most RISC ISAs write integer MULH/MUL or DIV/REM to two general-purpose registers? [closed]

Most hardware multiplication and division algorithms can compute the high and low words of a product of two integers, or both the quotient and remainder of the division of two integers, at the same ...
1
vote
3answers
1k views

How to measure ac Power using a micro-controller?

I want to measure AC power of any general device such as TV, laptop etc using a microcontroller. My MCU is ARM Cortex-M TM4C1233H6PM. I am using ACS712 current sensor to measure the AC current and ...
1
vote
3answers
1k views

Using an MCU with built-in CAN controller vs. external CAN controller

I'm planning to use the Atmel ATSAMC21J18A microcontroller in an automation project which has a built-in CAN controller. The CAN bus network may contain 32 devices, each generating data packets in 1 ...
0
votes
2answers
44 views

Detecting capacitive touch in low power applications

Using some kind of ARM, the application has a very low profile of about 30-50uA . I would like to detect capacitive touch. If I do this with code, I will have to wake and sample, and thats expensive ...
0
votes
1answer
103 views

STM32F429 ignoring writes to EXTI mux registers

The following code is at the start of my main() function: ...
0
votes
1answer
176 views

ARM with integrated battery charger?

I was about to put a battery charging circuit into my schematic, when I read up on my MCUs VBAT pin. Quoting from the Datasheet: 3.9.6 Battery Operation: "An internal VBAT battery charging circuit is ...
2
votes
3answers
326 views

Minimal ARM (low-power) circuit design

I know there are tons of these questions here, and I looked at them, but I still feel unsure about some things. I've never designed anything using a MCU - for this one I mostly followed the ...
0
votes
1answer
156 views

Basic Memory Sytem for ARM-based system

I am studying ARM Architecture and there is a slide which I didn't understand and can't find anywhere on the internet (Google, YouTube) - I've also looked for ARM homepage but they don't display any ...
0
votes
1answer
44 views

Minimal components for arm A9 dev board

If someone wanted to make a barebones dev board, what is needed to get an a9 processor running? Is it reasonable for a school project or will attempting to route the ddr memory and getting it ...
0
votes
1answer
58 views

Compiled-C on a Jazelle Microprocessor

I found a chip that is perfect for my application (it has all the necessary features) (Atmel SAM9G45) The processor is based on ARM v5TEJ Architecture with Jazelle technology for Java acceleration. In ...
2
votes
1answer
1k views

New debug connectors for ARM

There is a big confusion in my head about debug connectors for ARM microprocessors. If I just take a look at this documentation there are a couple of JTAG connectors mentioned: Cortex 10-pin JTAG/...
5
votes
1answer
249 views

Is there a way to check if semihosting is enabled at runtime

The ARM Cortex cores has a built-in feature called semihosting which is a way to interact with the attached debugger, for example to do printf() debugging without using a peripheral unit. However, ...
2
votes
1answer
589 views

Interfacing SIM900A GSM Modem with TM4C123G TI microcontroller

I was hoping you guys could help me on connecting SIM900A GSM Modem with this TM4C123 micro controller. I connected the RS232 ports of TX, RX, GND and power ports to GND and +12V. should I connect ...
3
votes
2answers
891 views

STM32 software IDE [closed]

After a two year experience of ATMEL's SAM mcu I decided to move on STM32 microcontrollers. I choosed to begin with STM32F410RB. After a lot search on the internet I found two free IDE, Atollic ...