Skip to main content

Questions tagged [peripheral]

an additional integrated circuit of a microcontroller or processor like a UART, SPI, RTC or any other block which can do something without always requiring the processing core to be active

0 votes
1 answer
126 views

STM32 Can bus random data

I am using an STM32 to transmit data over CAN using CAN2. Currently, my code is only setting up the can peripheral and sending periodic messages. My messages usually look like this on the receiving ...
Daniel D.'s user avatar
1 vote
2 answers
60 views

How to consistently read two counter registers across PDEC and TCC on SAMD51

I am using the PDEC on a SAMD51 to read a quadrature encoder from a closed loop stepper motor which has 4000 encoder increments per rotation. The PDEC counter is only 16 bits wide, which would ...
Scott Duckworth's user avatar
0 votes
0 answers
39 views

How far down the OSI model does one have to go to reduce latency in wireless protocols

I'm curious about protocols used for low latency peripheral devices. The famous examples would be Logitech's lightspeed, Razer's hyperspeed and Corsair's Slipstream. The main selling point of which is ...
Materia Gravis's user avatar
0 votes
1 answer
132 views

How does data reach peripherals in STM32H7xx?

I'm trying to understand bus interconnection matrix in stm32h7xx. Here is a capture of the H753's one: In particular, I'm wondering how a data buffer located in DTCM would reach the SPI1's tx ...
Martel's user avatar
  • 1,259
2 votes
1 answer
92 views

How are register detail figures made for IP/peripheral documentation?

How are the register detail figures made for documentation of things like Xilinx/Vivado IP or in documentation for memory-mapped peripherals in microcontrollers like the examples below? Xilinx IP ...
Christopher Moore's user avatar
0 votes
1 answer
148 views

On Chip Peripheral Emulation - How to accomplish communication with an emulated peripheral that relies on bidirectional signals in between?

I recently asked some questions for an application in hope to gain more clarity on how to accomplish an emulation of an input device peripheral (in my case an input mouse) in simulation. Following ...
Vahe's user avatar
  • 171
0 votes
1 answer
100 views

How to find and enable fault input pins on AVR Timer/Counter-D (TCD)?

My application requires that my PWM outputs have an asynchronous and fast acting "fault" input that pulls the outputs low as soon as a fault is detected. AVR's "TCD" timer has ...
Anas Malas's user avatar
1 vote
3 answers
90 views

How to approach finding which micro controller include a specific sub-peripheral

Broadly: An application I am working on requires a specific function of a common peripheral. I know that this function is optional in a big family, but short of visiting every single SKU's datasheet, ...
Anas Malas's user avatar
0 votes
2 answers
621 views

Emulating microcontroller peripherals

When doing embedded MCU development, it's very helpful to emulate the MCU on a full PC, either via something like QEMU, or just directly targetting the PC in the compiler. What about the peripherals, ...
SRobertJames's user avatar
  • 1,135
0 votes
1 answer
82 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 ...
jmadsenee's user avatar
3 votes
1 answer
147 views

Replacing a keypad on DYMO LetraTag

I'm rebuilding my label printer to become an Internet service using an ESP8266. It's a fun project, never mind the usefulness. The keypad will be removed and instead my MCU emulates keypresses. The ...
mikabytes's user avatar
  • 181
1 vote
2 answers
126 views

Are peripherals in microcontrollers purely hardware or do they run code?

Specifically in Cortex-M4 (if that matters), when doing GPIO you need to write and/or read from GPIO's memory-mapped registers. Before diving deeper into library code that handled this for me, I ...
zombiesauce's user avatar
0 votes
0 answers
107 views

What mechanism prevents me from initializing multiple peripherals on the same GPIO pin?

Can I initialize multiple peripherals on the same GPIO pin? For example, if I bind a GPIO with a peripheral, can I still manipulate this pin with the GPIO interface? With pseudo-code: ...
gbt's user avatar
  • 713
1 vote
1 answer
340 views

Is the following 8085-based design I/O mapped or memory mapped?

The above picture is an 8085-based system schematic used for undergrad courses at the laboratory. Now at first sight it seems that the 8085 in the circuit is isolated mapped IO since it uses the IO/M' ...
Amir Soleimani's user avatar
0 votes
4 answers
204 views

How to determine which connectivity and peripherals are needed in a microcontroller?

This post goes a step beyond my previous question about microcontroller selection here. In short, I am a moving away from AVR for product development and I want to stick with popular manufacturer uC ...
Bryan A.'s user avatar

15 30 50 per page