Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
3answers
64 views

FIR Filter on Cortex M0

Is it possible to implement basic DSP (such as an FIR Filter) on a Cortex M0 or is the architecture too limited?
3
votes
3answers
208 views

Choosing the right microcontroller [closed]

How do you choose a micro-controller for your project? My hardware requirements are : I2c SPI ADC channels SMD package 3.3V operating voltage A few GPIOs. There are so many microcontrollers ...
-1
votes
1answer
24 views

guidance for working with STM32L476RG to complete my project [closed]

I bought a STM32L476RG Nucleo board which has a STM32 Cortex-M4 MCU. I'm trying to program it with Keil but I didn't find any example for my board. How to set up the keil for my board and start ...
0
votes
1answer
46 views

Arm call stack structure

I have searched for hours trying to find stack structures for cortex m and cortex a devices. I am attempting to add freertos debugging support for the cortex a5 to eclipse via the jlink SDK. The ...
0
votes
0answers
20 views

Relationship of openocd to debug options

I recently purchased a Segger jlink pro, and in attempting to make NetBeans talk embedded gdb, I have run across numerous blogs about the use of openocd. My initial understanding is that openocd was ...
0
votes
0answers
20 views

Problem with using Timer Counter interrupt on Atmel ARM

I'm using an ATSAM4E16C microcontroller and i need to get a 1 millisecond tick. I want to implement this using the timer counter module to trigger an interrupt. The clock frequency is 96 MHz, so using ...
1
vote
1answer
31 views

sama5 clock and debug issue

I have designed a board that uses the ATSAMA5D225C-D1M (Cortex A5). I have mostly copied the schematic from the ATSAMA5D27-SOM1. I am using a J-LINK PRO adapter. I am using the atmel software ...
1
vote
1answer
109 views

What is HAL_SPI_TransmitReceive purpose and how it works

I am trying to understand how does this function works even though there are so many people complaining about it. My questions are these: 1) What is the difference between using this in my code: <...
0
votes
0answers
20 views

Reading GPIO configuration (Cortex M4 ATSAME54)

I'm writing some diagnostics for a Cortex-M4 -- in this case an ATSAME54. I'd like to be able to read the configuration of individual GPIO pins, namely: bool level enum gpio_direction direction [IN, ...
-1
votes
0answers
25 views

Atollic Truestudio - wrong segment definition in ELF file's program header

I'm developing my custom bootloader for STM32 microcontrollers (e.g., STM32F072). It uses its own firmware file format, so I need to develop a tool to convert firmware file produced by compiler and ...
0
votes
1answer
81 views

Call member function from interrupt in STM32 [closed]

I have created a new STM32 project using cube. I have changed main.c to main.cpp and enabled ...
0
votes
1answer
53 views

Embedded System power requirement calculation

How can I measure total power requirement of an embedded system which consists of a lpc2138 interfaced with various other components such as lcd, humidity sensors and temperature sensors. Also the ...
0
votes
1answer
38 views

Embedded web server

I am working on a college project in which I want to embed a http web server on a TIVA launchpad eval board. I have been looking through the internet for any guidance on the subject but the ...
0
votes
0answers
66 views

Going from PIC to ARM

I've been wanting to expand my embedded skillset with ARM MCUs after spending a few months working with pic24 devices but I've hit a roadblock. I wanted to start programming ARM more "on the metal" ...
2
votes
2answers
73 views

Cortex M7 goes to HardFault immediately after reset

I am using the ATSAME70Q21 processor with a Cortex-M7 CPU. My development environment is Atmel Studio 7. I am using the SAME70 XPlained demo board. I am creating some code in assembly language. As ...
0
votes
4answers
36 views

LPC1768 vs Timer0, etc

I realise that the LPC1768's Systick is a standard accross ARM boards, while Timer0 and co, are NXP additions. Is there any particular reason to use one over the other? Say you want to generate a ...
2
votes
2answers
206 views

SWDAP vs CMSIS-DAP vs DAPLink

EDIT : I got the basic questions (for example, what is CMSIS-DAP?) answered by user @Nipo. Based on that, I restructured my post in a more logical way. Hopefully ...
0
votes
1answer
121 views

Protect Code inside Microcontroller [closed]

As a preface, what I am asking is highly related to this question. That said, the question linked was asked in 2011 (7 years ago), and I imagine the microcontroller world has changed (at least to ...
0
votes
1answer
59 views

What is the difference between system clock and peripheral clock in case of arm Cortex M4 architecture? [closed]

System clock/core clock is the clock that drives the CPU. I understand that different internal peripherals use the oscillators. How do both differ from each other?
0
votes
1answer
28 views

Using narrower DDR RAM than controller

I have some ARM processor that have 72-bit width (8 for ECC) RAM controller. Can I buy eg. two 32bit chips and combine them? If yes then how? Can I buy just one 32bit and pull down rest of data pins ...
1
vote
1answer
103 views

Chip Erase vs. Sector Erase

In Keil IDE Software there are two ways to erase chip before program it. What does do "Erase Sectors" mode? When to use "Erase sectors" mode and when to use "Erase Full Chip" Mode?
1
vote
1answer
22 views

LPC2148 baud rate equation

I'm little confused about the baud rate calculating equation of LPC2148 In data sheet equation is But in every tutorial I could find equation is Second equation sets the baud rate as required. ...
0
votes
1answer
47 views

How to interface SN74 buffer with microcontroller into another data bus

I am hoping to interface a 3.3V ARM M4 microcontroller into an already established 5V data bus, and have it respond to interrupts to either read data from the bus or write data to the bus. The data ...
0
votes
2answers
85 views

Booting from SD card in SPI mode

I want to boot an ARM Linux board (Allwinner H3 for example) from a generic (micro) SD card through an SPI interface. Can an SD card accept SPI communication right away or is there any "SPI mode ...
10
votes
2answers
1k views

Are some CPUs implemented in standard cells and are others customized?

Explaining the question more, I see some die pictures which are implementing a Cortex-M0, with Bluetooth LE and so on, depending on the chip functionality, and are appearing like this (nRF51822): ...
1
vote
2answers
75 views

Cross GNU ARM Toolchain

As a beginner, I am confused with setting the adequate toolchain (the whole concept in new for me). My goal is to program the ARM Cortex-A9 on the board Zynq 7000 using the Xilinx SDK. In order to ...
1
vote
0answers
536 views

Atollic STM32H7 + ST-LINK Error writing data to flash with math library

I am currently working on a STM32H743VIT6 chip (on a self-designed board), with the Atollic TrueStudio toolchain (ver. 9.0.0), using a ST-LINK debugger on a STM32F4-Discovery board (ST-LINK firmware ...
0
votes
0answers
46 views

Minimal development board for ARM Cortex A series

In December I will start my final year project at school. It is a 6 months full time project, where you have to build something from scratch. We find an idea, present it to the teacher, and once it is ...
2
votes
2answers
239 views

Nested Vectored Interrupt Controller (NVIC) - Why is it “nested” and “vectored”?

In ARM microcontrollers there is an peripheral called NVIC (Nested Vectored Interrupt Controller). What does the "nested" and "vectored" part refer to, or why is it "nested" and "vectored"?
3
votes
2answers
148 views

ARM Cortex cores with peripherals, basic requirements

I've been reading a lot of stuff about using ARM tool chain to build applications for different microcontrollers including ARM cores. Right now, I've been using the fairly easy route with Atmel Studio ...
0
votes
1answer
87 views

Develop Software for Microchip ARM Controller in MPLABX? [closed]

Is it possible to develop and debug software for a microchip ARM controller in MPLABX?
0
votes
1answer
38 views

ADuC702x MCU bandgap voltage reference question

I have recently started using the ADuC702x MCU family. I plan on using the analog to digital converter that comes with the MCU. The datasheet states that there is an internal 2.5V that it uses for ...
0
votes
1answer
174 views

FreeRTOS context switch ARM Cortex-M4

I am examining the context switching procedure on a ARM Cortex-M4 based processor running FreeRTOS. In port.c we have: ...
1
vote
1answer
67 views

SWD AHB-AP access gives ACK_FAULT

When attempting to debug a STM32L471RGT6 chip over SWD, I encounter an ACK_FAULT whenever sending an AP request to halt the core. I've implemented the following sequences which all work correctly, ...
2
votes
3answers
1k views

Why is there a system controller and a microcontroller in the same FPGA?

I am starting to dig into the FPGA world. While exploring the FPGA SmartFusion2 architecture I found out that there is a microcontroller (ARM Cortex-M3) and at the same time a system controller. Why ...
0
votes
0answers
38 views

SoftConsole VS Keil for Smatfusion2 or any other development environment?

In order to program the ARM Cortex-M3 processor which is embedded in the Microsemi FPGA board SmartFusion2, I think there is two possibilities (correct me if wrong): Keil MDK (Microcontroller ...
0
votes
2answers
124 views

Keil : LPC1768 UART : Error: L6200E: Symbol a multiply defined (by main.o and uart.o)

I am learning ARM programming. I've configured uart of lpc2148 before. But there I included entire code in single file. Today I separated them in .c and .h file. But When tried to build, I got ...
0
votes
3answers
73 views

STM32F4 executable stack?

Is the stack executable on the STM32F4 MCU? I want to do this: ...
3
votes
2answers
135 views

Understanding ARM instruction for numerical literal

I have done an instruction trace while trying to find a bug on a Cortex M3. There is one part of the command I cannot understand. STRB R1, [R3], #+0x01 According ...
3
votes
1answer
127 views

Is there any single-board computer/system-on-a-chip with good documentation for developing bare metal? [closed]

I always wanted to develop my own crappy operating system, but the many weird legacy quirks of the x86/PC platform kept me from doing so (e.g. real vs protected mode, only low resolutions available in ...
0
votes
1answer
102 views

Sending live video from a camera to a display screen with a microcontroller ( ARM )

I have a project in which I should send live video pictures from a camera to a display screen using a microcontroller and WiFi module. I've searched online and it seems that the best choices for the ...
0
votes
3answers
540 views

STM32F4 How are Preemption Priorities and Sub-Priorities used?

I have started working with ARM-based microcontrollers. I not understand subpriority and preeemptionpriority. For example: NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x00; ...
0
votes
2answers
364 views

AVR(or PIC) vs ARM for LoRaWAN nodes [closed]

Well, you can say that the title is a little bit misunderstanding. I do not want to compare these architectures, it's worthless. I am trying to understand why an engineer could ever pick for his ...
0
votes
2answers
186 views

How to connect Multiple JTAG devices?

Currently I am working on FPGA design which uses trace32 to interact with jtag devices. Since there are more than once JTAG device in the design we are using parellel (not daisy chain) approach from ...
0
votes
2answers
118 views

Designing an IoT product [closed]

This is more of a general question of the embedded electronics industry. At the moment I'm planning on building a device with a similar requirement to the Nest products. Essentially, I want to have a ...
1
vote
1answer
316 views

Cortex-M0 vs. Cortex-M0+ for an IoT sensor using LoRA [closed]

Although I am an experienced software engineer, I am still quite a novice in electrical engineering. So please bare with me in explaining my requirements: I have a small garden in my backyard and I ...
0
votes
0answers
486 views

Visual Studio Code for ARM

I use Atmel ARM chips and I'm used to use Atmel Studio 7 for developing. I want to try a more elegant editor for developing and I like the Visual Studio Code (VSCode). It's very nice editor. But I don'...
0
votes
1answer
56 views

Data during AHB Busy state

I have a question regarding the data during the BUSY state in a AHB bus. Consider the following example of an AHB master writing data onto an AHB slave: ...
0
votes
2answers
102 views

ARM chips that lack boot ROMs [closed]

This isn't anywhere near as true as it used to be, but I consider one difference between x86 platforms and ARM platforms to be whether or not booting involves the use of a mask ROM at reset to ...
0
votes
2answers
159 views

Multiplex usage of I/O pins: PWM pulse output + UART

I have the problem, that I have a device with limited output pins and want to know if it is possible to implement a multiple pin usage with additional HW/SW (time multiplexed mode). In my case my ...