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.

0
votes
1answer
67 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
23 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
49 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
45 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
1k 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
31 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, ...
0
votes
1answer
255 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
153 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
45 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
74 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
165 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
49 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 ...
4
votes
2answers
695 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
141 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
113 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
37 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
283 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
36 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
52 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
161 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 ...
11
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
86 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
1answer
2k 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 ...
3
votes
2answers
794 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"?
4
votes
2answers
209 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
118 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
62 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
294 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
109 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
45 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
470 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
77 views

STM32F4 executable stack?

Is the stack executable on the STM32F4 MCU? I want to do this: ...
3
votes
2answers
216 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
140 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
3answers
2k 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
678 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
363 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
130 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
543 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
668 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
118 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
119 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
244 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 ...
0
votes
0answers
232 views

Why doesn't my STM32F4 PLL seem to work?

I've spent a few days unsuccessfully trying to get my Nucleo F401RE to use the PLL for its system clock. I've configured it to use the 8MHz HSE and output 84MHz as the system clock. The code stops ...
0
votes
0answers
904 views

IP over LwIP PPPoS with Telit GSM GL865 and STM32F7

I am using Telit GL865 GSM Modem with STM32F7 nucleo development board. I make them communicate via USART1. Firstly, I configure the modem with AT commands as below; after that, modem starts to send ...
2
votes
1answer
169 views

Why am I not able to compile this assembly code?

When assembling the code, I get the error : fpu.s(13): error: A1240E: Immediate value cannot be used with this operation ...
1
vote
0answers
351 views

Wrong FFT result when using rfft function on STM32F4

I'm trying to use rfft function in STM32F407G and I am getting wrong results when I compare it with an online fft calculator . I give a sample input as {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
0
votes
1answer
73 views

stm32f429 flash load address error

I've recently run into this error where openocd wont flash the binary to my discovery board. I'm using the same linker script that i've been using all along. arm-none-eabi-objdump gives the ...
0
votes
1answer
97 views

ARM SoC UART interaction with peripheral UART

I am sorry that I couldn't find this answer in this site or web. I have an ARM SoC(Host) which needs to communicate with the peripheral having ARM Micro controller using UART. Linux runs on top of ARM ...