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.

3
votes
0answers
111 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 ...
2
votes
0answers
349 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
0answers
150 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
609 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
303 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 ...
2
votes
0answers
792 views

LIS302DL Accelerometer WHO_AM_I command

I've setup the behaviour of LIS302DL accelerometer IC using following code: ...
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 ...
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 ...
1
vote
0answers
344 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
116 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
0answers
122 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
354 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
123 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
166 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
130 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
220 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
251 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 something ...
1
vote
0answers
163 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
85 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
779 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
389 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
433 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
226 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
393 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
466 views

Retargeting printf in Keil on STM32F4-Discovery

I've found lots of ways on the internet to retarget printf to SWO (Single Wire Output) but none worked for me. I'm using Keil µVision 5 which contains a "software component" to retarget printf but ...
1
vote
0answers
83 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
285 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
1k 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
252 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
183 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
199 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 ...
0
votes
0answers
46 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
37 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,...
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) ...
0
votes
0answers
33 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 ...
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 ...
0
votes
0answers
100 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 ...
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
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
49 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 ...
0
votes
0answers
31 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
0answers
74 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" ...
0
votes
0answers
44 views

SoftConsole VS Keil for Smatfusion2 or any other development environment?

In order to program the ARM Cortex-M3 processor which is embedded in the Microsemi FPGA board SmartFusion2, I think there is two possibilities (correct me if wrong): Keil MDK (Microcontroller ...
0
votes
0answers
668 views

Visual Studio Code for ARM

I use Atmel ARM chips and I'm used to use Atmel Studio 7 for developing. I want to try a more elegant editor for developing and I like the Visual Studio Code (VSCode). It's very nice editor. But I don'...
0
votes
0answers
232 views

Why doesn't my STM32F4 PLL seem to work?

I've spent a few days unsuccessfully trying to get my Nucleo F401RE to use the PLL for its system clock. I've configured it to use the 8MHz HSE and output 84MHz as the system clock. The code stops ...
0
votes
0answers
903 views

IP over LwIP PPPoS with Telit GSM GL865 and STM32F7

I am using Telit GL865 GSM Modem with STM32F7 nucleo development board. I make them communicate via USART1. Firstly, I configure the modem with AT commands as below; after that, modem starts to send ...
0
votes
0answers
929 views

STM32L4 bootloader unable to enter application

I've been following bootloader guide here and trying to write a bootloader that simply turns an LED on when entering a pushbutton-induced performFirmwareUpdate(). I'm using the ARM GNU toolchain in ...
0
votes
0answers
191 views

register bit access using structure union combinations

I have a structure something like this in device header file: ...
0
votes
0answers
223 views

SPI flash bit-banging access over memory-mapped IO

I'm faced with a problem where we have an SPI NOR flash attached to an Intel I210 PCIe-ethernet adapter on a custom Cortex A9 based board. The SPI flash is normally used by the ethernet adapter to ...