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
0answers
38 views

Cube IDE : Error: unknown type name 'HAL_StatusTypeDef'

I am taking code from a stm32f0 series and trying to convert it to a stm32l4 series dev kit. I have already changed the necessary addresses and include files that I needed to migrate, but I keep on ...
0
votes
0answers
16 views

Arduino DUE- flash space for user [migrated]

I need for my project to save only 32bit in non-volatile storage. What is the easiest/cheapest way to do that in Arduino DUE? ArduinoDUE is Atmel SAM3X8E so according to the attached table (from ...
1
vote
1answer
31 views

Using the logic analyser in Keil uVision5 with an stm32 nucleo F030R8

as the title says, I'm attempting to use the logic analyser that is built in uVision5 with the above development board. The debugger that I am using is the on-board ST-Link Debugger. I've looked at ...
1
vote
0answers
35 views

STM32L0 GPIO EXTI interrupt not triggering

I'm working with an STM32L073RZ on a custom board. The board is in STOP mode and I have a pin (PB_5) configured as a rising edge interrupt. I'm using ARM Mbed OS 5.12.0 but primarily working with the ...
8
votes
1answer
203 views

SPI on STM32 won't work without pullup resistors and even then performs poorly

I've been trying to get the SPI1 on the STM32F103C8 (Blue Pill board) working correctly for some time now. As I'm just starting to learn ARM, I am simply trying to shift data to a 74HC595 shift ...
0
votes
0answers
35 views

STM32F103 USB-CDC does not work

I am trying to communicate my Maple Mini clone board with PC without using a USART hardware. I've configured MCU with STM32Cube IDE which has STM32CubeMX in it. I've enabled USB hardware, set it to FS,...
12
votes
2answers
2k views

How does an ARM MCU run faster than the external crystal?

So before this I only worked with simple 8 bit Atmel MCUs and I realized on my development board schematics it has only a 12Mhz crystal, yet the MCU operates at up to 100MHz. (I think the default is ...
-1
votes
2answers
38 views

How to sync GPS time and pulses of micro-controller

I have two of the devices (a while loop in the code) that need to start at the same time, within 50ms or less of each other. Each is using the same GPS module, and I am using "ARM® Cortex®-M3 Giant ...
0
votes
1answer
66 views

Storing values in the internal flash memory

I want to reserve a space in the internal flash memory of my microcontroller (STM32L4) to store the latest 100 measured values by a sensor (in a circular FIFO Fashion) and be able to load them again ...
0
votes
1answer
20 views

Atmel debugger: erase bootloader?

I have an ARM-M0+ (SAMD21G18). I have a project that has a bootloader and another with application. When I try to go to debugging I suspect the following: the ROM is erased application flashed ...
0
votes
1answer
37 views

Zynq 7020 subcomponent equivalent parts [closed]

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
68 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 ...
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
68 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
32 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
30 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
86 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
110 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
52 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
47 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
32 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
145 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
33 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
98 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 ...
1
vote
1answer
60 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
93 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
62 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
32 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
146 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
54 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
36 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
761 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
203 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
141 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
99 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
236 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
68 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
62 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
115 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
32 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
65 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
48 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 ...