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
10 views

atmel debugger erase bootloader?

i have ARM-M0+ (samd21g18) i have a project that has bootloader and another with application. when i try to go to debugging i suspect the following: the ROM is erased application flashed only ...
0
votes
1answer
32 views

Zynq 7020 subcomponent equivalent parts [on hold]

The Xiling Zynq 7020 has a dual-core ARM Cortex-A9 and an Artix-7 FPGA in it. What is the equivalent part number of these chips independently? (i.e. what individual part numbers have the same ...
1
vote
2answers
67 views

Is POR Secure Memory/peripherals on ARM common in real hardware just a feature of QEMU?

I've been implementing firmware for an ARMv8 processor recently and have been studying open-source tools along the way. I looked into the ARM virtual model in QEMU and came across something it refers ...
-5
votes
0answers
33 views

What are the charachteristic differences in ARM and PowerPC architectures inside a microcontroller? [duplicate]

I am currently studying the differences in ARM and PowerPC architectures in a microconroller.Can someone please explain me the differences between the two?
0
votes
0answers
30 views

openocd with NUCLEO-F756ZG and linker script for compiler

I am a beginner in arm cortex m7, i bought NUCLEO-F756ZG board and when i was trying to apply this tutorial i faced two difficulties. First: i didn't find linker script for my board (NUCLEO-F756ZG) ...
1
vote
1answer
67 views

SAMD controlling BLDC resets during high current spike; EMI problem?

I have been making a brushless DC motor controller that is controlled through an ATSAMD21E16L and a MIC4609 mosfet driver. At low average currents of 2A or so, I drive the motor just fine, but when I ...
0
votes
1answer
29 views

Using ulink2 with nrf52840 and keil

I am trying to flash the blink example from SDK v15 into my custom nrf52840 board, I am using pc10056 example. I connected my ulink2 to swdio, swclck, gnd and vcc of my custom board and I can see on ...
0
votes
0answers
29 views

Double buffering on LPC1768?

I am trying to build an MP3 Player on a generic lpc1768 development board. I am trying to play 8bit 44.1Khz wav file using internal DAC. I am using elm chan FATfs and double buffering concept. I have ...
1
vote
2answers
84 views

How to choose the correct ARM chip and understanding the pins at a more intuitive level?

I'm just starting out my journey developing my own board and need some advice how to get started and understand a few things in better context. I will ask my first question first and provide the ...
3
votes
0answers
94 views

Weird problem on STM32 ADC with Interleaved Mode

I am sampling a signal on the STM32F3 Discovery board (stm32f303vct6) with two ADCs working in interleaved mode. It works great with a 200kHz 1V sine wave. But when I apply 10kHz 100mV sine wave, I ...
0
votes
2answers
49 views

Does SysTick_Handler() have to be in main file?

Does the CMSIS SysTick_Handler() have to be placed in the main file (i.e. same file where it is configured)? If not, how would I go about placing it elsewhere? Is it just a matter of defining the ...
1
vote
1answer
45 views

ARM Cortex behavior on erased flash

After erasing the flash of a typical microcontroller with an ARM Cortex, I assume the flash contents to be all ff. What is the behavior of the microcontroller ...
0
votes
0answers
29 views

Arm Debug Interface vs CoreSight infrastructure in Cortex-M

Both documents define standards for communicating with DAP. The information seems contradictory. Slide 4 of this presentation says ...
1
vote
2answers
106 views

STM32 Bootloader: How to ensure only uncorrupted firmware boots

I have a custom board with an STM32F407 on it. As SWD is not available, I have to program the microcontroller through the UART bootloader. Imagine that the folllowing sequence of events takes place. ...
0
votes
1answer
20 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; ...
-4
votes
2answers
97 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
31 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
58 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
78 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
vote
1answer
58 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
91 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
57 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
31 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
125 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
53 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
47 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
35 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
543 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
164 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
125 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
98 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
186 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
25 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
63 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
60 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
110 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
214 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
31 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
62 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
38 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
44 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
29 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
215 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
127 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
73 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" ...
3
votes
2answers
144 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 ...