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

Cortex-M33 does not continue after data watchpoint

I'm debugging one (Cortex-M33) core of a multi-core ARM SoC using SWD. (Each CPU core uses a separate "memory access point".) I have the following behavior: Code breakpoints work as expected ...
user avatar
0 votes
0 answers
25 views

What limits the core counts (up to 8) of ARM big.LITTLE/DynamIQ architecture?

The previous ARM big.LITTLE supports four big cores and four little cores while you can only have 2 types of CPUs. The latest DynamIQ can support more types of CPUs (e.g., a Tri-gear SoC from MediaTek ...
user avatar
0 votes
0 answers
18 views

TI Sitara Pass Variables from Application to Bootloader

How can I pass some hardcoded variables from application to bootloader to check whether the firmware is OK or NOK?
user avatar
0 votes
0 answers
41 views

STM32 I2C BNO055 has big spikes in data in fused mode

I am reading euler angles in fused mode from BNO055 device. It gets correct angles, but there are big spikes from time to time, but only when the values are changing. I am sending data over USB to my ...
user avatar
1 vote
0 answers
56 views

GPIO basically not working on STM32401CCU6 Blackpill

As a newbie I switched from Nucleo to Blackpill recently (STM32401CCU6 ) and after an overally good start I faced a wall. It seems like GPIOs are... dead for some reason: HAL_GPIO_WritePin/TogglePin ...
user avatar
  • 115
1 vote
2 answers
84 views

Cannot configure timer to 10µs on STM32F401 device

I'm using an STM32F401CCU6 microcontroller and am trying to generate a timer interrupt of 10 us with TIMER3. The timer is a update event timer. The formula I'm using is: ...
user avatar
2 votes
0 answers
37 views

DebugMon_Handler not triggered even after configuring DWT (Data Watchpoint and Trace) to look for memory writes

Can anyone advise why my actions described below do not work?: I have been trying to run the code snippet from the post Can Cortex M4 data watchpoint trigger an interrupt without a debugger? on(...
user avatar
1 vote
1 answer
80 views

STM32) Why DMA can't approach global variable?

I test memory to memory DMA with my STM32H750VBT. I study with following this link. enter link description here According this link, source is inside flash and destination is inside SRAM. I test ...
user avatar
  • 105
0 votes
2 answers
30 views

ATSAMD11C SERCOM I2C Pin Assignment

I am planning on using the ATSAMD11C14 (SOIC14 package) for a project that requires USB, 2 I2C busses, and some GPIO. The device has two SERCOMs, each has 4 pins assigned to it. When used in 2 wire ...
user avatar
1 vote
1 answer
67 views

Does ARM gdb not have TUI layout support?

If it run arm-none-eabi-gdb -tui myProject.elf This returns TUI mode is not supported If I run it without the -tui flag and ...
user avatar
0 votes
1 answer
70 views

What are the things to keep in mind while replacing the MCU with a pin compatible MCU?

I am swapping a pin-compatible STM32 MCU from STM32F0 to STM32F4 which is a transition from Cortex-M0 to Cortex-M4. I will have to migrate the F0 based STM32 library to STM32F4 one to ensure the ...
user avatar
0 votes
0 answers
26 views

problem with sd card video door phone

I'm working on the code of a video door phone and I'm trying to improve it. with 16 GB SD card the pictures that the camera takes can be seen on the LCD but when I connect the SD card to PC using a SD ...
user avatar
1 vote
1 answer
120 views

What happens in hardware during error handling in for this ARM microcontroller?

There is a function called __disable_irq(); in ARM microcontrollers CMSIS library and does something which I don't understand. It is defined as: ...
user avatar
  • 1,117
0 votes
3 answers
86 views

SAR ADC of Nucleo board changes conversion result to a wrong one randomly

I am using a NUCLEO-L432KC board DATASHEET I am trying to configure the ADC conversion with a 10k potentiometer However the ADC seems to give a wrong results I set the pot to output 5v (asserted with ...
user avatar
1 vote
1 answer
129 views

Nucleo-L432KC USART can only send data but not receive from putty

trying to use virtual com port of the mentioned Nucleo board DATASHEET I can send chars nicely to the putty output but now wants to be able to send commands too from putty the peripheral is ...
user avatar
2 votes
0 answers
145 views

STM32 Software Interrupt Trigger Any

STM32F746-Disco Windows 10 STM32CubeIDE 1.8.0 I've just finished writing my first minimal bare metal UART DMA driver (CMSIS only), and both reception and transmission work ok, but then I thought I ...
user avatar
  • 3,318
1 vote
1 answer
50 views

USART2 of NUCLEO STM32L432KC board isn't going through USB to my serial screen

I tried using the virtual com port by using usart2 of the nucleo mentioned DATASHEET I configured the peripheral as shown but nothing appears on the serial screen. used gdb to assert the register ...
user avatar
4 votes
2 answers
1k views

What is RCC in embedded C using registers? A register, or a pointer to a register, or something else?

Considering the following from here: RCC->AHB1ENR Is RCC above the register itself or pointer to a register. Because the -> operator is used with the ...
user avatar
  • 1,117
0 votes
1 answer
77 views

STM32 Swap Flash Banks. Purpose

I was casually reading STM32 documentation and other materials out of self-education and self-development purposes and ran into bank swapping in system configuration (in referencep and/or programming ...
user avatar
  • 3,318
0 votes
0 answers
23 views

Detailed explanation of the dmesg output when plug in an embedded development board

Pardon me since this should be a basic question. I plugged a embedded development board called "reel board" to my Ubuntu host. The connection is on the DEBUG USB port. Then I use ...
user avatar
0 votes
0 answers
30 views

How to decide if Flyswatter2 can support a particular development board or not?

I am new to JTAG debugging and have already got a Flyswatter 2 unit with me. This is my first experience with any JTAG debugger so I am not really sure what to look for to find if its compatible with ...
user avatar
  • 109
1 vote
2 answers
109 views

STM32 bare-metal programming - Memory addressing in 32-bit system - memory offset

I am coming from a mechanical background and some Atmega experience, now doing some bare-metal programming courses on ARM processors. So far it is looking great, digging into documentation about uC ...
user avatar
2 votes
3 answers
268 views

How to flash a bootloader to an ARM MCU from the factory?

I want to build a custom PCB with an ATSAMD21G18A-AU microcontroller, which has an ARM® Cortex®-M0+ processor. I will get it from LCSC, so it doesn't have any bootloader preinstalled. Right? In the ...
user avatar
  • 83
0 votes
1 answer
60 views

SAM S70 Microcontroller - Need to use 2 functions on one pin

I need to connect a SAM S70 (ARM® Cortex®-M7 based microcontroller) to both a camera and an eMCC FLASH. The problem is that the PA27 pin has both MCDA3 and ISI_D7 as PIO Peripheral functions. How do ...
user avatar
0 votes
4 answers
89 views

Programming ARM in mass production

I am new to embedded development and I am still working my way up from learning Arduino to raw AVR and next to STM32 which uses ARM. I have a question in my mind which involves the commercial mass ...
user avatar
  • 103
3 votes
2 answers
492 views

maximum memory supported by processor - why often stated less than 1TB?

I want to understand technical details of limitations of maximum memory size a system / processor can support. Below what I was able to find via web search to date Wiki: Modern 64-bit processors such ...
user avatar
1 vote
0 answers
74 views

Why is this LSM303d register address being used with an OR and an address operator?

I'm trying to get the data of a LSM303d accelerometer using anSTM32 via the I2C bus. I've found online that to get the data from the OUT_X_L_A register (low byte of x component of the accelerometer) ...
user avatar
  • 11
3 votes
1 answer
724 views

STM32: How do you program it via USB?

Until now I was always using Arduino Nano Boards, which had the proper bootloader installed so that programming via the ArduinoIDE was easy and fast. Just plug it in via USB, wait for Windows to ...
user avatar
  • 365
0 votes
0 answers
28 views

Understanding the SAM ARM static memory controller and mapping

I've been reading the datasheet for the SAM3X chip used on the Arduino DUE to explore and learn more about the static memory controller. The reason I want to learn this is because I'm looking to build ...
user avatar
3 votes
2 answers
185 views

How to program custom made PCBs with ARM-based microcontrollers?

I just wanted to ask, how do you program ARM based microcontrollers (mainly) through a USB-port? Until now, I was constantly working with the Arduino IDE and "arduino-ish" microcontroller, ...
user avatar
  • 365
0 votes
1 answer
51 views

problem with receiving structure with nrf24l01 using stm32

I am sending a structure that contains three float values and a uint64_t using stm32f103RE and nrf24l01 and receiving it via an stm32f103C8. the problem that I have is that the uint64_t is received ...
user avatar
0 votes
2 answers
85 views

The HAL drivers are feature-oriented instead of IP-oriented. What does this mean?

I had bought a STM32F3 Nucleo board sometime back and today I started going through the HAL documentation for that board. It said that the HAL drivers are "Feature-Oriented" and not "IP-...
user avatar
0 votes
1 answer
36 views

What temperature metric does the Tiva C LMF120XL measure?

I'm writing a program based on the udemy course I'm following. The program I'm writing will blink a different color based on what temperature the sensor is reading in from ADCO using SS3. At one point,...
user avatar
0 votes
0 answers
42 views

How to use DFT to find harmonic content of an AC waveform?

I am kind of new to this coding and simulation environment. For my first project I need to take samples of current signals from power line and find out the harmonic contents using DFT. I haven't done ...
user avatar
0 votes
2 answers
136 views

STM32 interrupt triggers by itself

I am using stm32cubeide to program a stm32f030f4p6 MC. I have assigned one pin as an external interrupt and it is connected to the data output of an RF433 receiver. Here is a summary of my code: ...
user avatar
3 votes
1 answer
216 views

Are processor instruction sets royalty free? (e.g. ARM v9, x86)

I asked a general question on Law SE with one example (ARM) and for that example, I was directed to What exactly does ARM sell to vendors?. I've read that QA that ARM sells actual core designs. I've ...
user avatar
1 vote
0 answers
79 views

Using STM32 with ESP8266 to get radio stream and play it

I am using STM32F407 board to communicate with ESP8266 using AT commands. Goal is to have STM32 tell ESP8266 to go to a live radio link then get the stream and put it through a VS1053 and out to a ...
user avatar
0 votes
1 answer
275 views

Why exactly does the x86 (primarily x86-64) instruction set consume more power than reduced instruction sets like arm?

While I'm aware this is somewhat a copy of this question, I've not been more than a browser of any part of stack exchange, and so I couldn't ask this in a comment replying to @supercat 's answer. The ...
user avatar
3 votes
0 answers
208 views

Migrating from STM32

Our company spent couple years streamlining development and porting everything from a mess of different platforms to one unified STM32-based architecture. And now with global chip shortage it came ...
user avatar
  • 10.7k
-1 votes
1 answer
110 views

Error: Definition of nested anonymous union in packed "" must be __packed

I'm using the ARM DS-5 with the ARM 5 Compiler Toolchain. I'm attempting to use the "mavlink_types.h" (link: https://github.com/mavlink/c_library_v1). However, I've got an error said that: ...
user avatar
  • 17
1 vote
2 answers
89 views

An Assembler for STM32 and compatible with Ubuntu [closed]

I'm new to STM32. I want to learn the architecture of STM32 using assembly language. but Keil microVision MDK-ARM is not Linux compatible. What is the alternative of Keil to write an assembly code for ...
user avatar
1 vote
2 answers
270 views

In STM32 the timers are connected to which bus?

I am using STM32H723ZG and in our application, I wanted to know to which bus (APB1 or APB2) the timers are connected. I need these detail, as I have to configure the timer to that particular bus's ...
user avatar
1 vote
1 answer
48 views

How many timers can one utilize from ATSAM4s2A?

I am getting introduced to Atmel ARM MCUs and I have several dilemmas regarding their documentation. According to the official Farnell documentation of ATSAM4S2A. the MCU supports only three timers: ...
user avatar
1 vote
1 answer
89 views

SIM808 freezes after one SMS using STM32

I am trying to design a GPS car tracker with a SIM808 module using a STM32F103RET6 header board. I want to get the location link messaged to my phone by sending an SMS to the module. Right now, my ...
user avatar
0 votes
2 answers
321 views

ARM asssembler: rotation of bits in immediate value

Consider MVN r3,#0xFFFF807F Is this an invalid instruction from ARM? Since MVN is simply the complement, it equates to ...
user avatar
  • 335
-1 votes
3 answers
354 views

ARM How to invoke branching?

Was looking through a code with regards to loop. ...
user avatar
  • 335
6 votes
2 answers
2k views

How to calculate overflow in ARM mathematical operations

Consider: LDR r0,=(1:SHL:31) ; this means r0 contains = 2^31 = 0x80000000 ADDS r0,r0,r0 ; which means r0 = 0x80000000+ 0x80000000. Firstly, I know it is an ...
user avatar
  • 335
3 votes
1 answer
192 views

ARM Assembly Code

Here's an assembly program given to me, and I'm not sure how the program goes through. ...
user avatar
  • 335
1 vote
0 answers
64 views

Stm32f103 adc stable conversion

I am making a ntc thermometer with stm32f103c8 (by writing over registers without using state library). The code works as it is,I did the adc conversion in 7.5 cycles. I used the calibration register ...
user avatar
3 votes
1 answer
216 views

Are ARM instructions directly sent to the decoder or first stored in a register?

As far as I understood, the fetched "data"(not instruction) is first loaded to one of the CPU registers. But in case of a single "instruction"(not data) fetched from the memory, is ...
user avatar
  • 1,303

1
2 3 4 5
22