A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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.

Filter by
Sorted by
Tagged with
0
votes
2answers
60 views

Multiple devices on a singe SPI on LPC1768

I am in the middle of a custom PCB design using LPC1768. In fact that, this is an upgrade project from Atmega2560. I am using ...
0
votes
0answers
42 views

System on Chip (SoC) ARM + FPGA (ZynQ-7xxx) - code design methodology

So far I've only been working with either ARM processor or FPGA/CPLD device separately. I.e. either I used a dedicated toolchain to generate binaries for a processor system from a C code, or I used a ...
1
vote
0answers
54 views

STM32 standard method for remote firmware update

My question is about a special case for Bootloader sequence for The Discovery kit for STM32F0 series with STM32F072RBT6 MCU that we currently have implemented in some of our products in the field. I ...
1
vote
1answer
35 views

Migrating from PIC32MX to ATSAM MCU - SWD interface doubt

Currently I use PIC32MX MCUs in my projects, but my new projects are going to have ATSAME5 MCUs onboard. On the PIC32MX I use a 5-pin interface to program and debug using a PICkit4 tool. The signals ...
0
votes
0answers
27 views

Keil: cannot read RTE data from project file: RTE is not enabled

Whenever, I am trying to open a project. It's Showing :- "cannot read RTE data from project file: RTE is not enabled"
1
vote
1answer
51 views

Cortex-M3, Code region vs SRAM/RAM

In the ARM Cortex-M3 processor core, the memory map contains: a Code region, SRAM and a RAM. What makes the use of the code region different than the other memories? In addition, what is the nature of ...
0
votes
1answer
69 views

How is possible reading analog input and logging the data to SD card for this STM32 board?

I'm very beginner in STM32. I have STM32F746G discovery board. This board has microSD slot. I want to read three analog channels and log these voltage data into the SD card. I'm not able to find any ...
0
votes
1answer
29 views

Flash programming for a custom design with SAME70

How can I add flash programming capabilities to a custom-design board witg the SAME70 or SAMV71? For example, with the UC3-A3 (AVR32), I just expose TDI, TDO, TCK, TMS, RESET, GND/VDD, and voila: I ...
0
votes
0answers
16 views

Can low-cost JTAG debuggers work with ARM DS-5 instead of a DSTREAM?

At work we use ARM's DSTREAM debuggers with the DS-5 environment to debug our Cortex-M based embedded systems on development boards. Currently a DSTREAM box costs $3,500 at Digikey. I searched for ...
0
votes
0answers
22 views

What does A/V or B suffix mean on Mediatek SoCs?

The Tab E8 lenovo android tablet lists its procesors as: MT8163B, but MediaTek only have an MT8163A/V. It sounds like a minor variation... but varied in what way? Worse, lenovo says it has an A35, ...
0
votes
0answers
40 views

Modbus RTU over RS232 link

I am designing a convertor board that will interface three device with Modbus RTU RS232 port to a Modbus RTU RS485 network. Slaves supports Modbus RTU, but their ports is different from master port. ...
0
votes
2answers
183 views

DAPLink firmware doesn't operate with OpenOCD

  Why this is not a duplicate Some people seem to think this question is a duplicate, but there is an important difference: The How to update the SWDAP firmware? question is all about how to ...
1
vote
1answer
76 views

EEPROM Read Operation Always Returns 0xFF

I'm working with a AT24C04 EEPROM which communicates with a LPC1768 MCU on a I2C bus. I try to write a 8 bit data (0xF0) on the 0x00 Address of the memory but when I want to read the content of this ...
0
votes
1answer
149 views

How to update the SWDAP firmware?

1. About the SWDAP probe I bought an SWDAP probe some time ago from L-Tek (see https://www.l-tek.com/web-shop/l-tek-swdap-interface/). It took me some time to figure out the terminology, but I ...
0
votes
2answers
128 views

bootloader jump to application address problem

I have written a bootloader for my board, but it generates a hard fault when it jumps to the application code. My error is like this question: Bootloader jump to main application problem using STM32 ...
0
votes
1answer
44 views

How can I wire a microusb to a MIMXRT1062DVL6A?

I've never touched a barebones microcontroller before. I've been toying around with an Arduino and Teensy for a few years now. Recently I've been itching to ditch the comfort of those buttercup ...
0
votes
1answer
359 views

How to create a microseconds delay function in STM32F0

I was using STM32F4 and i had created a microsecond delay function using DWT register. And now, i'm using STM32F030F4P6. And this MCU has not DWT register. So, i tried to create another delay function....
1
vote
1answer
94 views

Cortex M4 memory management suggestions: best data/code placement

I'm trying to implement a rather complex (at least for me!) system on a Cortex M4 mcu: LPC4370. This one has HighSpeed ADC (up to 80Msps), DMA and DSP (Single Instruction Multiple Data) instructions. ...
0
votes
1answer
50 views

Memory Boundaries in SRAM

I am trying to use the GPDMA which is present in LPC43XX parts. The UM10503 data sheet constantly warns about memory boundaries (datasheet section 21): basically it says that you don't want to try a ...
0
votes
1answer
135 views

Role of syscalls.c

What is the role of syscalls.c file in GNU ARM(STM32 for instance) based projects? I found 2 ways of successfully building the project Delete syscalls.c and include -specs=nosys.specs in the linker ...
1
vote
2answers
58 views

Load, then add in assembly

Im trying to load 2 values in assembly under the tm4c1294ntpcd (Cortex M4) then add it with the next code ...
0
votes
0answers
97 views

How to make an interruption?

I used to make interruptions on a STM32 the next way ...
0
votes
0answers
58 views

mpu6050 returns zero, I2C stm32f103

I am working with MPU6050 and STM32f103VE as master. When I wake up the sensor and ask for information it returns 3 bytes of zeroes and the protocol stops working. I only send the communication Part ...
3
votes
2answers
98 views

how to determine architecture core detail of ARM11 processor

I'm cross-compiling for an embedded Linux board, based in BCM5892 ARM11 processor. I need to know about architecture detail of this processor(‘armv6’, ‘armv6j’, ‘armv6k’, ‘armv6kz’, ‘armv6t2’, ‘...
0
votes
1answer
79 views

STM32 trying to communicate with 2 I2C. But second one fails

I am trying to communicate with a battery using SMBUS. Battery has 2 sections so it uses 2 separate SMBUS lines. I am trying to read SOC information from two section by using STM32F103C8. First ...
2
votes
0answers
50 views

Cortex-M DWT cycle counter inconsistent measurement

I recently discovered that it's possible to use a free running counter embedded in most Cortex-M4 cores to measure the performance of a chunk of code. I'm trying it on my LPC4370, where I want to ...
3
votes
5answers
947 views

STM32 cannot reach individual registers and pins as PIC

I used to work with PIC and now I need to use STM32 chip. I was using HAL library but it gave me some problems so now I want to use it without HAL_Library. There are some questions I could not get any ...
0
votes
1answer
59 views

STM32 I2C transmitting no data and cannot change the data that is being transmitted

I am trying to establish a SMBus connection by using STM32 chip. When I try to transmit data to battery (0x0D) I see 0x0B with oscilloscope. When I change the data that is being transmitted to 0x00 or ...
1
vote
1answer
150 views

Can I add more RAM to the stm32f103c8t6? [closed]

I am currently working on my project using the "super blue pill" which uses the stm32f103c8t6. This board has about 20kb of RAM so there is not too much to work with here. So far I have managed to ...
1
vote
1answer
79 views

How fast is L1 cache of ARM Cortex-A9 in Xilinx Zynq-7000 FPGA?

I consider writing a small program for the ARM Cortex-A9 in the Xilinx Zynq-7000 FPGA, so the program will be small enough to fit into the 32 KB L1 instruction cache. The data will also be less than ...
-4
votes
1answer
86 views

Where to study Cortex R architecture? [closed]

I am interested to study Cortex-R architecture but I cannot find its details online. Is it proprietary detail or should I ask for this information from arm.com? Obviously I am not looking for the ...
10
votes
4answers
980 views

Bare-metal start-up code for Cortex M3 .bss region initialization

I have developed inspired from here a bare metal start-up code for arm cortex M3. However, I encounter the following problem: suppose I declare an uninitialized global variable, say of type unsigned ...
2
votes
2answers
134 views

ARM Instruction size vs Instruction encoding

I cannot make sense of the difference between 'Instruction size' and 'Instruction encoding' specially about ARM and Thumb ISA's as explained here: Can we say that Instruction size is 32 bits but its ...
8
votes
4answers
3k views

Embedded C - Most elegant way to insert a delay

I'm working on a project involving a cortex-m4 mcu (LPC4370). And I need to insert a delay while turning on compiler's optimization. So far my workaround was to move up and down a digital output ...
2
votes
1answer
60 views

NVIC memory map ARM cortex M3 STM32f103

I do not understand the following memory map regarding the NVIC registers in Programming Manual for STM32f103 page 129. It says that the offset address for NVIC_IPR0 is 0x300 and that of NVIC_IPR20 is ...
0
votes
0answers
183 views

Embedded C - USB stack, arm-none-eabi-gcc settings and Matlab interface

I am using LPCOpen (latest realese available for LPC4370) and the usb stack provided within it. I need to build a simple FSM to control the mcu with Matlab and send data from Matlab to the mcu and ...
1
vote
1answer
49 views

What is the difference between Periodic and Non-Periodic Tx/Rx FIFO in USB?

I am trying to understand how the USB module works in the very low level on STM32F4 MCUs (ARM Cortex-M4 core). In the reference manual I read often the terms Periodic and Non-Periodic Rx/Tx FIFO (I am ...
2
votes
1answer
121 views

Why different SOCs have different CPU power voltages for given frequency?

Recently, I studied dvfs tables for 3 SOCs: exynos8890(LITTLE cluster), exynos7880, snapdragon 625. Here is the result: octave source code The point is, that different SOCs with pretty same ...
0
votes
0answers
87 views

Error executing Application from BootLoader in STM32L475 (IoT Board)

The bootloader should jump to the Application after some verification. For now lets assume it straightaway jumps there. I am working on B-L475E-IOT01A2 device, which uses ARM M4 Cortex. I am using ...
4
votes
1answer
100 views

How can I make it so that customers who buy my arm based product can easily update the firmware?

I'm building an arm-based (stm32F7) hardware device which will have a USB port. I would like to be able to update the firmware and distribute it such that customers with my device can easily install ...
-3
votes
1answer
153 views

why ARM architecture necessarily dominates the IOT market? [closed]

I would like to understand why do we use ARM for routers, cell phones, cameras, refrigerators, smart tv, and everything. instead of using any other architecture like x86. What are the advantages of ...
0
votes
2answers
74 views

Building NXP QN9020 firmware on GNU/Linux?

I just inherited a project that is based on the NXP SDK samples, (not quite sure which one). It is currently being built with µVision 4; but I would like to convert the build system to use ...
0
votes
0answers
26 views

SD card command reference, command for streaming data to SD

I am currently working on a device with ATSAME70Q21 what measures 144 channels of ADC values on an SD card (MCI interface). Each measurement takes up a 512Byte block data on the SD. I do not use a ...
3
votes
2answers
68 views

Problem in Clock Gating Control with ARM Tiva C

When I access a peripheral register (such as a GPIO port) just after enabling the clock gating of the peripheral, a hard fault happens. For example: This code doesn't work (generates a hard fault): <...
0
votes
0answers
481 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 ...
1
vote
1answer
53 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
141 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
419 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
226 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 ...