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.

119 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
423 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 ...
3
votes
1answer
922 views

Interfacing SIM900A GSM Modem with TM4C123G TI microcontroller

I was hoping you guys could help me on connecting SIM900A GSM Modem with this TM4C123 micro controller. I connected the RS232 ports of TX, RX, GND and power ports to GND and +12V. should I connect ...
3
votes
0answers
647 views

GPIO in device tree

My board has 3 GPIOs, namely gpio0, gpio1 and gpio2. Each of them have 32 pins. They were ...
2
votes
0answers
29 views

How to safely set/clear only some bits of SCB->SHCSR on ARM Cortex-M processors?

On p. 265 of the third edition of Joseph Yiu's The Definitive Guide to Arm Cortex-M3 and Cortex-M4 Processors, there is some discussion about the "system handler control and state register" (...
2
votes
0answers
139 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 ...
2
votes
0answers
105 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 ...
2
votes
0answers
448 views

SAM-D21 Clock On Demand does not wake up the MCU from Standby

I am using SAMD21 with FreeRTOS. I am putting the system on sleep level Standby and relying on a TC that works as a systick for the tickless FreeRtos to wake up the MCU however, when the debugger isn'...
2
votes
3answers
1k views

Driving Nokia TFT LCD with STM32

How do I increase the refresh rate of a Nokia LCD that I'm driving using the STM32F103 microcontroller? The LCD is 132*162 and takes a 9-bit instruction/DATA with RGB for each pixel in 565 format. ...
2
votes
0answers
168 views

Best device to read/write memory on multiple architectures?

tl;dr: I want to read/write memory from a PIC MCU and an EEPROM, both of which are soldered to an experiment board. I would like to explore programming and debugging ARM in the near future. Which ...
2
votes
0answers
1k views

How can I use mbed TLS library in my ARM project in Keil IDE?

I want to do an RSA encryption/decryption using my AT91SAM7S256 ARM MCU. After googling I found mbed TLS library. I download it on my Windows and extracted it in the directory of my project. I was ...
2
votes
0answers
844 views

LIS302DL Accelerometer WHO_AM_I command

I've setup the behaviour of LIS302DL accelerometer IC using following code: ...
1
vote
0answers
34 views

ARM Cortex-M Floating Point Multiply-Accumulate Cycle Time

According to the ARM Cortex M4 technical manual, a floating point multiply accumulate instruction (VMLA.F32) takes 3 cycles. However the separate multiply (VMUL.F32) and add (VADD.F32) instructions ...
1
vote
0answers
60 views

Relative FPGA Footprint of ARM Cortex M3 vs. MicroBlaze

I may have missed it, but does anyone have experience with the relative resource consumption of a MicroBlaze versus the core for an ARM Cortex M3 IP? It seems like there should be a ballpark ...
1
vote
0answers
154 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 ...
1
vote
0answers
66 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 ...
1
vote
0answers
105 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
0answers
39 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 ...
1
vote
0answers
565 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
97 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
458 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 ...
1
vote
0answers
59 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 ...
1
vote
0answers
578 views

Wrong FFT result when using rfft function on STM32F4

I'm trying to use rfft function in STM32F407G and I am getting wrong results when I compare it with an online fft calculator . I give a sample input as {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,...
1
vote
0answers
207 views

SOC vs ARM Core

I am trying to understand the difference between SoC ( System on Chip ) and ARM Core. In the following post, I have read "The typical ARM processor in use today is integrated with peripherals on a ...
1
vote
1answer
538 views

Stm32 C - Stepper motor start after 1 minute

I wrote a stepper motor driver with the use of DMA and TIM1. I accelerate the signal using the so-called Ramps. I calculate the times and load them into the DMA table and pass them to the TIM PERIOD ...
1
vote
0answers
193 views

Interrupt priority in STM32F103RB

I got a doubt about an interrupt grouping in stm32f103. In programming manual of microcontroller I found 5 ways to configure it. But, while debugging, I found 8 ways. How is it possible to get ...
1
vote
0answers
413 views

ADC Channel Selection on STM32L476RGT6

I am writing CMSIS based code for STM32L476RGT6(on a Nucleo board) to use the ADC. I have gone through the datasheet but I couldn't find a register to specify the channel for the ADC conversion. How ...
1
vote
0answers
201 views

Is there any major difference between using STM32F103C8T6 + ST LINK V2 and using Tiva c concerning debugging?

I have started learning ARM microprocessors and I just wanted some real board to get more comfortable with what i'm learning and I have two options : Getting tiva c launch board or using STM32F103C8T6 ...
1
vote
0answers
208 views

Can Hardfault Exception be triggered by hardware?

I have an Cortex-M7 project that sometimes goes in the Hardfault exception interrupt, sometimes not. With the same code. When it happens it append all the time. My system is made of two board ...
1
vote
0answers
612 views

J-Link device selection error in Keil

I try to load a program into STM32L011K4 using J-Link. The mistakes I get and the steps I follow are as follows: PROBLEM-1. J-link could not find STM32L011K4 My Steps: Click options for Target → ...
1
vote
0answers
145 views

Is it legal to design an open source AHB master?

Is it legal for open source cores to be compatible with the AMBA specification?
1
vote
0answers
255 views

How can I use an ARM chip to read & write 4164 DRAM?

I have an idea I'd like to pursue and partly because of their speed and partly because I'd like to begin ARM development I think a Cortex based board might be a good fit. I'm quite a proficient ...
1
vote
0answers
302 views

What do ARM revisions mean? e.g. r2p1

Questions What do the "revisions" mean in the processor documentation at the ARM Information Center? Do they refer to silicon processor core design revisions, documentation revisions, or ...
1
vote
0answers
203 views

Wrong I²C signal for some bytes on Atmel microcontroller

In theory I want to start I2C communication as a master with a slave. Then I need to read 5 bytes of data. In practice when I use the ASF provided by ATMEL what it does is start the communication as ...
1
vote
0answers
107 views

Where to find most of datasheets?

I am trying to find a datasheet for one of the following cores: BCM11311 or bcm21654. Which have an ARMv7-A architecture and ARM cortex 9 processor. However I am completely unable to find any usefull ...
1
vote
0answers
1k views

STM32F107 generate PPM signal

I need generate special signal PPM for my rc toys, for example: I'll use stm32F107 and I would use a timer which will be a resolution of 0.1us. The web is a lot of examples to generate the PWM signal ...
1
vote
0answers
494 views

UART baudrate steps

I'm trying to connect 2 devices to each other based on the UART peripheral. First one support up to 1.875 Mb/s & the other one up to 1228.8 KBd. Both work correctly on the 115200 but I need more ...
1
vote
0answers
476 views

How to get Keil Trace to work on stm32f4 for debugging?

I'm using stmf429-disc board with Keil 5.I've enabled trace check in hardware debug's trace window and have set trace clock to 168MHz which is the core clock freq. Also enabled the port 31 for rtx ...
1
vote
0answers
275 views

Atmel ARM, USB, and an SD Card as a MSD?

I'm currently trying to run the SAM L21 as both a CDC and an MSD over USB. Thankfully there is example code here to get me started. I can move files into the on-board ram just like any other storage ...
1
vote
0answers
517 views

Context Switch without interrupt disabled?

I developing a program on ARM M4 where I don't actually want to disable interrupt even when doing a context switch. If any interrupt occurs during context switch, is it possible to handle it soon ...
1
vote
0answers
88 views

ARM Multi Core SoC's

Is it possible for an additional core to have the same functionality and capability as the main core0 ? So two cores (core0 and core2) performing with the exact same responsibilities and capabilities ...
1
vote
0answers
356 views

STM32F411 - I2C failure during heavy polling load

I have a STM32F411 communicating to 2 peripherals (an IMU - MPU6050 from Invensense, and a LED Driver - CAT3626 from ON Semi) over its 2 I2C buses (one peripheral per bus). I'm running into a strange ...
1
vote
0answers
2k views

Programming the MK20DX256VLH7 with Arduino IDE

I want to start using the MK20DX256VLH7 in my projects. This is going to be my first 32bit microcontroller. I love the simplicity of the Arduino IDE and I would like to keep using it with this ...
1
vote
0answers
264 views

LPC2148 + Eclipse + yagarto + openOCD. Issue with the interrupts

I'm using 'Eclipse-Indigo' + yagarto + 'openocd-0.7.0' setup for a project on LPC2148. I've set up the environment properly. I'm able to compile, link and debug the project. I've configurred Timer0 &...
1
vote
0answers
310 views

Float calculations hangs on Kinetis K20 (arm-m4-no-fpu) when PWM interrupt is on

I will use this ARM to control Induction Motor with three-phase inverter. When the program encounters any float operations, like simple plus operation, the system hangs but the pause of debug works ...
1
vote
0answers
202 views

SDRAM timing requirements

I am interfacing a Micron MT48H16M32LFCM-75 SDRAM with an Atmel AT91SAM9G20 and I need to verify on paper (as far as possible), that the timing specifications between those two devices are compatible. ...
1
vote
0answers
214 views

Can I use android phone for arm development?

Android phones are mostly run over ARM processors. In Pakistan purchasing an ARM development board is very difficult and almost not available. Importing from other country cost it a lot. On the other ...
1
vote
1answer
644 views

GPIO speed in LPC812 Cortex-M0 MCU from NXP

Based on datasheet page 17: GPIO registers are located on the ARM Cortex M0+ IO bus for fastest possible single-cycle I/O timing, allowing GPIO toggling with rates of up to 15 MHz. And I used a ...
1
vote
1answer
1k views

Value for feedback resistor in pierce crystal oscillator configuration

This question is partially an "understanding english" question and partially and "understanding the pierce oscillator configuration" question. Backstory I'm currently looking at using a Freescale ...
0
votes
1answer
59 views

STM32 gets stuck in While loop

I am new enough with STM32 programming. But now I am working with a environmental parameter monitoring module based on STM32F401RE development board. Now I am facing a strange problem. When I try to ...
0
votes
0answers
30 views

mush instead of signal stm32 nucleo-l053r8

Generating a triangular signal. The "printf" line is commented out. If the "printf" line is uncommented, instead of a signal, mush. How to fix it? (stm32 nucleo-l053r8) ...