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.

0
votes
1answer
17 views

Clock gating on Tiva Launchpad

I am working on a Tiva launchpad board and want to use the GPIO. I have successfully enabled the clock on PORTF using this line of code: SYSCTL_RCGCGPIO_R = 0x20U; ...
-3
votes
0answers
40 views

Running LINUX/ANDROID on an Apple designed CPU [on hold]

I have been reading about apples modified ARM 64-bit architectures they use in their mobile devices. It seems Apple adds and/or subtracts hardware features that eventually lead to the CPU and OS ...
-4
votes
2answers
89 views

ARM microcontrollers: naming and popularity

I am interested in learning ARM micro controllers. I did some internet search and this has raised a few questions in my mind. I was told that a majority of the modern day embedded system work in the ...
0
votes
1answer
24 views

PWM Modes: Center Aligned and Left Aligned (current consumption)

I have a question about PWM in STM32F051xxx Microcontrollers. I want to know if there is a difference regarding the current consumption of the microcontroller between the center aligned mode and edge ...
0
votes
1answer
57 views

[Updated]How to select the values to move in assembler?

I'm trying to make the led blinks on the tm4c1294ncpdt, so the basic idea its to make 2 routines , one to select the GPIO port (in this case the F) and other to keep up on and off. the setup routine ...
0
votes
0answers
42 views

Branch offset out of range ARM assembly

So I tried compiling this code below but keep getting the 1176E error message of "Branch offset out of range 0xFFFFFFE8 out of range permitted values are up to 0x00007E on the 5th code line. I read ...
-1
votes
0answers
52 views

Nested Loops in the ARM instruction assembly language

So in this program I was asked to calculate and print all the armstrong numbers under 10000 just for some background. I can can do this easily in C++ but it has nested loops or uses an array. Can you ...
1
vote
1answer
51 views

How does ARM CMSIS functions access Core registers in unprivileged mode?

As per my understanding the ARM M4 core registers such as NVIC registers can be accessed only when the software is in privileged mode, that means it should be running in handler mode if I am correct. ...
0
votes
2answers
88 views

How to correctly use a address in assembler?

Im trying to use several registers on the M4/tm4c1294 in a way to avoid write every time the same register number. The question is how to make the number of the register and if the reference is ...
0
votes
1answer
47 views

Can Cortex-A series ARM processors remap the physical address of DRAM via the Memory Controller?

Many ARM SoCs have memory as MMIO. However, I have seen other ARM processors that support (like x86, et. al.) the ability to program the memory controller and move this mapping. Is this a SoC-...
1
vote
0answers
24 views

Is it possible to use EL3 on an AllWinner SoC (R18)?

I have been looking for a cheap development board to play around with ARMv8 EL3 mode in the interest of writing a monitor. I stumbled across the PINE64 recently and it seemed like a great fit. It used ...
2
votes
1answer
56 views

ARM Cortex-M3 Interrupts and Interrupt service routine &interrupt handler

I am trying to understand arm architecture and i got stuck with one concept, i.e, INTERRUPT SERVICE ROUTINE. I had gone NVIC structure for HARDWARE & SOFTWARE interrupts. But at some point i got ...
0
votes
1answer
44 views

Interchangeability of SWD programmers

I am a newbie when it comes to Cypress cortex M0 and ARM chips in general. The chip I am using supports SWD. I only know the basic of SWD like IO pins required for it. Does ARM support ...
-1
votes
1answer
39 views

STM32F405 code compatibility with STM32F407

I have to do a project which will be based on STM32F405VG (100 Pin) but I don't have that MCU at the moment. Instead I have STM32F4-Discovery board which has STM32F407VG (100 Pin) on board. All the ...
1
vote
1answer
33 views

What are ADC channel “map,” “max,” and “amount” used for on a Microchip ATSAML21 ARM MCU?

I'm working with a Microchip ATSAML21J18B ARM microcontroller and learning how to set up an ADC input. Coming from the AVR world, things are rather more complicated. The ADC features (datasheet pg ...
1
vote
2answers
119 views

How to calculate bus load of CAN bus?

I have a few questions regarding CAN bus load Is there any derived equation/formula to calculate the bus load? I need transmit below frames(Assume Standard frame format) at baud rate 500 kbps on the ...
-5
votes
1answer
89 views

Circuit drawing more current on PCB [closed]

I have a circuit that I developed on breadboard. I have then soldered it on a PCB and it is now drawing more current on PCB compared to when it was on breadboard. I only want to discuss possible ...
0
votes
1answer
87 views

STM32CubeMX HAL vs CMSIS

If I generate code using STM32CubeMX then which files are related to CMSIS and which files are related to HAL? My toolchain is Atollic TrueSTUDIO.
1
vote
3answers
70 views

STM32F429 Discovery debug options

I recently acquired an STM32F429 Discovery Kit (pictured below). I'm new to the M4 cortex series microcontrollers and ARM in general having only worked with PICs before. I've seen some really nice ...
1
vote
4answers
96 views

Why is String Conversion Necessary to LCD

So I got this code up and running and it works fine but I don't understand just why and what it is the code concerning the ldc display string is doing. I know it has something to do with different ...
2
votes
2answers
114 views

Multiple slaves with identical address on multi-master I2C bus [duplicate]

I'm planning a hardware design, where I have a main board and multiple peripheral boards. On each of these boards is a microcontroller with I2C, which is the communication bus for the boards. The same ...
0
votes
0answers
24 views

AuCM350 UART interrupt

i am using ADuCM350EBZ evaluation board,i want to enable UART interrupt, like when i enter any button from keyboard then interrupt will occur. i am using one example given in this board here uart is ...
0
votes
1answer
55 views

ARM Debugging - Cortex M0 debugger gpio changing while halted in SysTick_Handler

I've been trying to figure out this one for hours and I can't see what I'm missing. I currently am debugging my program on hardware and I have set a break-point inside of one of the functions called ...
0
votes
2answers
59 views

Designing Board for ARM M0, How to Program

I am attempting to design my own microcontroller board with various sensors and peripherals. I plan on using the board found here (https://www.digikey.com/product-detail/en/stmicroelectronics/...
2
votes
3answers
84 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
212 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
29 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
51 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
22 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
31 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
37 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
601 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
28 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
144 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
83 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
44 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
71 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
100 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
41 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 ...
3
votes
2answers
410 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
129 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
79 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
34 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
180 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
28 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
48 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
128 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
81 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
965 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 ...