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
4answers
52 views

Do microprocessor have any special hardware to do division and multiplicaiton?

My old school understanding is that multiplication is nothing but successive addition and division is nothing but successive subtraction. So, my question is there any changes being done like do we ...
0
votes
1answer
32 views

Understanding addressing and size in memory map

TM4C123 has 256 kiBytes of flash ROM as shown in the memory map. The range of memory addresses for the ROM is 0x0000.0000 to 0x0003.FFFF (a 32bit address), totaled to 3x16x16x16x16 = 196,608 number of ...
4
votes
1answer
151 views

Why operations on float variable are performed on a double? STM32F401RE, MDK-ARM v5

I am debugging a simple line of code: float temp_f; ... ... temp_f= temperature[0] +(temperature[1] >> 5)*0.125; that is assembled into ...
2
votes
1answer
53 views

Two different ways to open a project in IDE's for MCUs

I am using following 3 different IDE's for ARM based MCU's. TI's CCS ST's CubeIDE IAR's Workbench I have to move the entire projects which are build on each of these IDE's on different PC's from ...
0
votes
0answers
42 views

SPI Slave sometimes sends incorrect data

I apologize in advance if I should have not created a new thread as I ran through new issues after making updates to my project posted on this previous thread: SPI data arrives at every 2nd send and ...
0
votes
1answer
84 views

What happens when main() returns on ARM-GCC

As I am working myself into the AT91 Bootstrap project, I have found that its main() function apparently returns the address of the next-level software component: <...
0
votes
0answers
13 views

MAX32660 gpio register documentation?

I have created many working GPIO examples based on the MAX32660 SDK, which provides and uses the following definitions in gpio_regs.h: ...
-2
votes
0answers
32 views

How to add external ARM SOC through GPIO raspberry pi 4 as extended card

How to add external ARM SOC through GPIO raspberry pi 4 as extended card? This would be like accelerators for retro computers - for example Amiga. Never build one that ask specific ARM.
0
votes
0answers
9 views

Problem using Keil uvision in Debugging mode

I cant get both of the yellow and the blue arrows to the begging of main() and I cant see the local variables of main like : counter for instance in the call stack + locals section how can I solve ...
2
votes
0answers
56 views

SPI data arrives at every 2nd send and in the wrong sequence

I am simulating a project where two STM32s communicate with each other through SPI (HAL drivers), where the SPI Master is an STM32F4 and the SPI Slave is an STM32F3. Basically, the master will send 5 ...
0
votes
1answer
85 views

Interfacing a RAM chip from a commercial computer with an ARM cpu such as Stm32

I need to interface some sort of RAM with an ARM processor for my embedded project. Around 128 MB to be exact. I found a computer RAM which claims to be DDR and 1 GB. As I only need 128 MB of RAM for ...
0
votes
0answers
20 views

Error: L6218E: Undefined symbol arm_pid_init_f32 (referred from main.o)

sorry for my first post. it was uncorrect post. I currently aim to provide 2 adc readings with stm32f103c8 (cortex m3) and a simple pwm output modulation with pid. I have completed the spelling of the ...
1
vote
1answer
84 views

Gpu to interface with an arm cpu [closed]

I am building an embedded gaming system to... well to play games. I looked up to the gameboy advance cpu manual and saw that it had some sort of gpu. Where can I find a gpu to use with an arm cpu? I ...
0
votes
3answers
68 views

What is the impact of unhandled exception on microcontroller peripherals?

I always assumed that when an unhandled ARM exception occurs (i.e segfault), the microcontroller just stops executing code. This assumption comes from debugging observation: most MCU I worked with ...
1
vote
1answer
44 views

Unbrick MAX32660 that is programmed to drive SWD pin?

I thought I was being clever by remapping my UART output to the SWD output pin. I'm not a fan of debuggers (they don't scale). I assumed I could just reprogram my MAX32660 by holding it in reset, such ...
0
votes
1answer
40 views

How can I flash the STM32F0 flash over SWD?

I am trying to program an STM32F0 from a linux based processor. I have connections to the SWRST, SWDIO and SWCLK pins. I have most of it working well, but when I go to write to the flash memory ...
0
votes
0answers
45 views

AXI4 Pipelining

Given that there is no explicit ordering on AR after R has began transfer, is it possible to initiate a new AR handshake during the transmission of R? Also, does Xilinx IP support this optimization? ...
1
vote
0answers
43 views

Configure STM32 to sleep inside an ISR

I am doing a test project to test the STM32's sleep mode feature. The project involves two microcontrollers: STM32F411 with a push button, which when pressed, sends data through SPI to an STM32F303 ...
2
votes
3answers
99 views

Which libs to use with a STM32F103C6 microcontroller? [closed]

I'm very new with ARM microcontrollers and I've been doing a lite lecture of about 4 books to know how to configure this devices to start programming them. First I did a reading an how to use mbed but ...
1
vote
0answers
58 views

DMA SPI performance

I am currently writing an SD card driver for a Microcontroller using SPI and DMA. The SPI has a FIFO that can store 4 data values from the data register which has the capable of storing 32 bit. But it ...
0
votes
1answer
49 views

STM32: Is SWDIO pull-up required on the board?

One section of the STM32L431 manual (46.4 Pinout and debug port pins) says: To avoid any uncontrolled I/O levels, the device embeds internal pull-ups and pull-downs on the JTAG input pins: JTMS/...
1
vote
0answers
59 views

Cortex M0 - ADR “cannot represent THUMB_ADD relocation in this object file format”

When attempting to use the ADR instruction in an assembly program, the assembler chokes with the error "cannot represent THUMB_ADD relocation in this object file format" I'm referring to the ...
1
vote
2answers
60 views

Cortex M0 - Defining an interrupt routine in assembly

For a project I have some code that needs to be written in assembly due to precise timing requirements. I'd ideally like to implement my code in a timer interrupt routine. Right now, in C++ I can ...
5
votes
4answers
518 views

The memory regions I can write and cannot write to, ARM Cortex-M architecture

I hope my title is correct terminologicaly. I am working(learning) with STM32F4 discovery board, which has an STM32F407VGTx microcontroller on it. I really try to find the answers in the reference ...
0
votes
0answers
27 views

MAX32660 code protection

I am developing a commercial design on STM32 and am considering porting it to MAX32660 (another ARM MCU) due to the smaller footprint and lower cost for devices having 64KB+ RAM. However, the MAX32660 ...
0
votes
1answer
39 views

breakpoints in baremetal code for arm stm32

I am writing a simple baremetal code for STM32. I wrote the linker and the startup code similar to this . My understanding is that the .text section will be placed in the flash memory of the ...
0
votes
0answers
30 views

Virtual terminal in proteus outputs garbage values

I am using the LPC2148 MC to interface its UART in proteus, I have tried using the UART window in Keil uVision 4 and got the correct outputs. but in proteus, it spews out garbage values. The clock ...
0
votes
0answers
19 views

Which pins of ATSAMD51 are used for I2C in Adafruit Grand Central?

I am trying to recycle my old Adafruit Grand Central board to use with Atmel Studio.I Adafruit website , I2C pins ( SDA , SCL ) are marked as PB20 and PB21 to be used as SERCOM-3 but in ADSAMD51 ...
0
votes
1answer
22 views

What is the difference between ram and registers in 8051 vs arm v7?

Recently i am confused between the difference between ram and cpu registers.I have studied 8051 arch. and in that we had addressing for cpu registers in ram level (e.g. the adddress for R0 register in ...
0
votes
2answers
76 views

Peripheral Driver Libraries on TI TM4C123 / Keil uVision

I am trying to use the peripheral driver library for the TIVA TM4C123 development board instead of accessing the registers directly. I have tried to copy the programming example in the GPIO section (...
0
votes
1answer
55 views

JTAG 20-pin only 1 has data

I'm trying to use a Saleaa Logic 8 to find data pins on a 20-pin header from a board with a Intel X Scale (ARMv5) PXA270 processor, but I can only find what looks to be data on pin 9, I've tried (I ...
0
votes
1answer
35 views

Input and output array for CMSIS DSP Real FFT Q15 functions

The first question: in the documentations for CMSIS DSP real FFT functions, it is mentioned : The FFT of a real N-point sequence has even symmetry in the frequency domain. The second half of the ...
0
votes
1answer
50 views

Where does the 0x get stored in memory while storing memory address in a register in a microcontroller

For eg. LDR R0, =#0x20000001 20000001 is now stored in R0 but where is 0x stored?
2
votes
2answers
71 views

SAMD21 SERCOM / UART problem: cannot enable RX and TX

I've been trying to set up a USART on an ATSAMD21E18A-MU and have been running into issues. Currently, I've narrowed the problem down to the fact that ...
0
votes
0answers
50 views

Atmel SAM3X / SAM3A, handle interrupts from Parallel Input/Output Controller (Peripherals)

I want to enable the PA8 pin in a processor (Atmel SAM3X / SAM3A). I have set: PIOA_MDER[7]=0 PIOA_MDDR[7]=0 PIO_OER[7]=0 PIO_ODR[7]=1 so that the tri-state ...
0
votes
0answers
62 views

STM32 - too low sampling time problem

I faced a problem with my ADC in the NUCLEO64 F446 module. I was trying to realise ADC measurements, where the input signal was from potentiometer. STMStudio was my tool to display value of ...
0
votes
1answer
61 views

How does NVIC know what function to call on an interrupt (libopencm3)

I'm trying to learn ARM programming on the blue pill and was looking at libopencm (I've HAL but i want to move to an opensource alternative). In the examples for the RTC, it sets up the rtc_isr() ...
0
votes
1answer
29 views

DMIPs in multi core systems

How does DMIPs apply to clusters or multi core systems. My understanding is that DMIPs is a benchmark w.r.t how long it takes to run the benchmark program on a processor. So it should not matter if ...
0
votes
2answers
75 views

STM32 I2C only sends address

Hello I am trying to communicate with TI BQ28Z610 by using Nucleo-F746ZG. All I do is trying to read data from TI chip. I am sending 0x08 to slave address 0x55.I2C frequency is 80kHz and pull ups are ...
1
vote
0answers
28 views

timestamp generator register location on Cortex-M4 (PSELCTRL CNTCR)

I am trying to find the location of the register where the timestamp generator can be enabled on a Cortex-M4 processor. In the CoreSight SoC Technical Reference Manual on page 3-210 it is mentioned ...
2
votes
1answer
76 views

Stack error when jumping from bootloader to application

I have been trying to jump from my bootloader to an application for a while now but I can not figure out what is going wrong. I am hoping someone here might be able to help me. I am using Texas ...
0
votes
0answers
21 views

ADC / DMA only triggers once before setting OVR high STM32F446

I am trying to poll a block of sensors and load the data into an array via the DMA but the ADC polls only the first pin and then stops polling and sets the overrun flag high. I have implemented all ...
0
votes
1answer
76 views

LCD 4x20 display malfunction after ESD, Recover?

I have a device with 4x20 generic LCD display controlled by arm STR750 processor which is working well. According to IEC EN 61000-6-4 standart criteia B display of device should be recovered in a ...
0
votes
3answers
82 views

Low-power Linux-based ARM system on module for data logger? [closed]

I want to develop a data logger with several hardware characteristics (low-power consumption, SDI-12, I2C, SPI, UART, USB, Ethernet, touchscreen display, SD card, RTC, internal memory at least 128MB......
0
votes
0answers
33 views

ATSAMC21N18A xplained board Boot/App reprogramming issue

I am using ATSAMC21N18A xplained board for a project. I created a bootloader partition. I was able to run and flash it on the target. Then started working on application. It has correct start ...
0
votes
3answers
84 views

STM32L152RE Schematic Verfication & Feedback [closed]

I am making a custom PCB for an academic project. I will be grateful if somebody can verify the schematic I created for STM32L152RE and if I have made any mistakes. I will be using SWD to flash code ...
0
votes
1answer
23 views

ARM SWD Response On SAM D09

I am trying to learn some low level implementation so I have been trying to interface to a SAM D09 micro-controller via the SWD interface. I have the chip on a board and I am driving GPIO. I have ...
0
votes
1answer
21 views

Tools and libraries to use with J-Link OB and CoreSight

I have a system with including a Beagle Bone Green board, a J-Link OB module and a Cortex-M4 microcontroller (see figure). I would like to use the DWT and ITM features but don't quite understand how ...
0
votes
1answer
55 views

Bare metal ARM cortex M programming sequence

I'm beginning ARM projects with bare metal STM32F051R8 development by CMSIS core in KEIL. Used the following sequence to blink LED: Enable Reset and clock register bit (RCC) for the AHB bus ...
0
votes
1answer
24 views

ATSAM4E UART1 interrupt not working

I am working on ATSAM4E8C on custom board. The uart0 and its interrupt is working fine but while on uart1 I faced an strange issue. The uart1 is sending the data but interrupt handler is not calling ...

1
2 3 4 5
19