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
1answer
52 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 ...
0
votes
4answers
81 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 ...
3
votes
2answers
425 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 ...
1
vote
0answers
44 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) ...
3
votes
1answer
148 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 ...
0
votes
0answers
24 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 ...
3
votes
2answers
132 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, ...
0
votes
1answer
43 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 ...
0
votes
2answers
64 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-...
0
votes
1answer
32 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,...
0
votes
0answers
37 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 ...
0
votes
2answers
101 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: ...
2
votes
1answer
156 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 ...
1
vote
0answers
66 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 ...
0
votes
1answer
151 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 ...
2
votes
0answers
158 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 ...
-1
votes
1answer
68 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: ...
1
vote
2answers
57 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 ...
1
vote
2answers
98 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 ...
1
vote
1answer
40 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: ...
1
vote
1answer
80 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 ...
0
votes
2answers
189 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 ...
-1
votes
3answers
321 views

ARM How to invoke branching?

Was looking through a code with regards to loop. ...
6
votes
2answers
1k 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 ...
3
votes
1answer
166 views

ARM Assembly Code

Here's an assembly program given to me, and I'm not sure how the program goes through. ...
1
vote
0answers
46 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 ...
2
votes
1answer
179 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 ...
0
votes
2answers
111 views

How can I run C code in specific hardware setting

i write face detection on matlab and converted to c to use on mcu (STM32F4) now i want to know the code can run on this type of mcu there is tool or something to test this?
1
vote
1answer
58 views

Write EEPROM while flashing firmware in MCU

am using a STM32L0x2 device, Arm Cortex M0 core. My goal it's to flash a default value in a EEPROM page during the firmware's flash. Long story short: I want that when flashing the .elf in the MCU (I ...
1
vote
0answers
72 views

How we can jump to address of function(or specific address)?

I working with ARM CORTEX-M4. I wrote this code for jump to a function. I define this function: ...
2
votes
3answers
444 views

Does a SAMD21 microcontroller have internal current limiting on the GPIO?

I am using the SAMD21 microcontroller which at full drive strength source = 7mA and sinks= 10mA at 3.3v. Im going to drive a mosfet directly Do i need to place a large gate resistor to limit the ...
3
votes
3answers
466 views

How we can share a function between main application and bootloader?

I am using STM32F4(ARM-Cortex M4). I want to share a function between main application and bootloader without redefine that function, for example imagine that i wrote a print function in main ...
0
votes
1answer
72 views

buildroot, building linux kernel

I have a task to build buildroot with a new kernel for arm iMX287, buildroot version is 2018.02.4, used to build with kernel 4.14.67, now I'm trying to build with kernel 5.10.48, the kernel builds ...
0
votes
0answers
62 views

How to program and then flash an ARM SAMD21 baremetal?

I want to make a simple program for a custom board with a SAMD21 core, without using any previously existing framework, like the arduino framework. The code to start with is just a simple main() with ...
0
votes
2answers
275 views

STM32: How do I place a large buffer into a specific memory region?

This is an embedded project using the STM32H7A3ZIT. I'm trying to store a large LCD image buffer in ram, but my program will not compile, even though the buffer should fit. I'm using STM32cubeIDE with ...
1
vote
3answers
144 views

Led not blinking - bare metal STM32F030x4

I've been following a bare metal programming tutorial aimed to STM32 devices. The author uses a shelf development board, however, I have a custom board bought from a friend (image below). Due to this ...
0
votes
0answers
72 views

problem with GML692 load cell and hx711 stm32

I want to measure weight and send it to uart using a GML692 loadcell and hx711 ADC module using stm32f103ret6. I have several problems. 1-firstly, I should put pressure on side 2 in order to increase ...
0
votes
0answers
30 views

lpc2148 IDE support windows

I have been trying to learn ARM development and I saw a recommendation for the lpc2148 as a good learning option, so I bought a development board. The article I read must have been very old though, ...
0
votes
0answers
79 views

Is uCLinux support ARM Cortex M0?

I just do some Google Search about this and it just shows me something like uCLinux on Cortex M3,4. Is it possible to run uCLinux on ARM Cortex M0? (And how? Please give me some reference for that.) ...
1
vote
0answers
79 views

Strange behavior with a Microchip KSZ9031RNX after switching off and on

I use a Microchip KSZ9031RNX as Ethernet phy on a custom board. I have two boards of the same type. The KSZ9031RNX is connected to an TI Sitara AM5728 (ARM Cortex A15) microcontroller that runs ...
0
votes
0answers
12 views

Implementing standby mode in MIC22705 DC-DC

While looking at a previous design of i.MX6 CPU-based mini-PC, I was confused by the implementation of Standby function for MIC22705 DC-DC. PMIC_STBY_REQ is an output that comes from the i.MX6 CPU. ...
0
votes
0answers
54 views

Raspberry Pi Connected to CH340 on STM32F103. Broken Pi and USB interface

I have a 3D printer that's running based on a STM32 chip. Included on the mainboard is a CH340 serial to USB converter. I connected this board with to my Raspberry pi 3 which I powered using the 24v ...
1
vote
1answer
160 views

Help with a simple debounce program on STM32

I'm trying to write a simple debounce program on an STM32F4. Code as follows: Initialization: ...
1
vote
1answer
116 views

EXTI code on STM32F4 doesn't work properly

I've been learning to program in bare-metal and I'm trying to learn how EXTIs work. I wrote a simple program that would turn on an onboard LED on PB7 when triggered by a button on PC13. Code as ...
0
votes
1answer
62 views

Keyboard code won't work as intended

I'm writing a bit of code for a keyboard. I've written this before, but it was inefficient and I figured as I was learning bare metal, I'd rewrite the code again. However, the said code wasn't working,...
0
votes
0answers
69 views

STM32 SSD1306 number display problem

I am currently doing an environment parameter monitoring module, based on STM32F401RE microcontroller. The module measures the environment temperature, relative humidity and dust concentration in the ...
-1
votes
1answer
315 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 ...
1
vote
1answer
87 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) ...
0
votes
0answers
27 views

Issue using TCC3 of microchip SAMD21J in variant file

I am writing variant files for SAMD21J/G/E. I am unable to use TCC3 of SAMD21J/G/E in Variant.cpp for arduino IDE. If it is used Arduino IDE shows error TCC3 undeclared variable whereas, all other ...
1
vote
1answer
107 views

MAX32660 rev A2 subsecond count

How do I access the subsecond counter (1/256 second) on the MAX32660 rev A2? I tried reading MXC_RTC->ssec, when busy=0 and ready=1, as suggested in Chapter 9 of ...

1
2 3 4 5
21