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 [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

2
votes
3answers
47 views

Does the addresses of an arbitrary peripheral register can be used to store data randomly during code execution?

I need to make sure of the concept of volatile qualifier in C-language. so volatile is used when we don't want the compiler to optimize the variable being identified as a volatile or in other words ...
0
votes
1answer
29 views

Reading MLX90303 over SPI

I am trying to take readings from the Melexis Tri-axis Hall effect sensor MLX90393, but all I seem to get is garbage. I am reading the sensor over SPI, with a 1MHz clock. Here is an example of a ...
0
votes
1answer
41 views

What is the 'H' in 'RWH' for register access type in mcu register map?

In the EFM32 Ref Manual, on pg 256, there are some registers in the timer peripheral's register map that have an access type of 'RWH'. I understand that R and W mean Read and Write, but what does H ...
1
vote
0answers
40 views

Problem with SPI communication with MAX31855K from STM8S103F3

I am trying to read temperature data from MAX31855K over SPI, using STM8S103F3 on a breakout board. Development set up is STVD, STVP and Consmic compiler. And using STM8S Standard Peripheral library. ...
1
vote
3answers
495 views

Which type of capacitor to use for matching the data sheet?

I want to choose decoupling capacitors for some microcontroller peripherals, which in their data sheets only specify some capacitans. Since you have quite a choice of passive components and the data ...
0
votes
0answers
50 views

Storm32 STM32F103RC UART3 no transfer

I'm currently developing software for Storm32 board, I write all code from beginning by myself. The problem is I cannot initialize the connection via UART. I check documentation for the board and TX/...
0
votes
0answers
38 views

Power distribution for low power application in a tight package for wearable

I'm looking for a component that will allow me to switch on/off the supply power to my onboard peripherals. I have a design that requires the peripherals to be powered only when they are in use to ...
2
votes
1answer
608 views

STM32F446 I2C peripheral won't assert repeated start condition

I am writing some register level firmware for my STM32F446 to use the I2C peripheral to talk to an accelerometer. The sequence of events i need to do is as follows ...
1
vote
0answers
88 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 ...
12
votes
4answers
3k views

Why bother with even parity?

I am using an SPI peripheral in my application. The peripheral returns packets containing 15 data bits, plus an Even Parity bit for error detection. Therefore all zeros, and all ones both pass the ...
0
votes
2answers
110 views

Microcontroller with and without debugging features?

Out of curiousity, are there any microcontrollers which are available with and without debugging capabilities? I'm asking because I assume that the debugger is not a simple 'peripheral' in terms of e....
1
vote
1answer
424 views

ADC Interrupt usage

I'm using a dsPIC30F4011 in my project with XC16, and I'm currently programming its ADC. But my question is also general: Do I have to turn off and then back on the peripheral (ADC in this case) in ...
3
votes
1answer
472 views

Unused GPIO pins shall be configured as pull up or pull down [closed]

I have recently started working on Embedded Systems. I am configuring GPIO pins for MCU. But I'm bit confuzed whether I should configure them pull up or pull down. Is there any configuration rule to ...
-1
votes
2answers
809 views

Meaning of USB 2.0 high-speed/full-speed device/host/OTG controller …? [closed]

In the datasheets of many MCUs, following are said about USB. "USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI" I wonder what do the ...
-1
votes
2answers
599 views

UART speed limitation factors? [duplicate]

I want to ask about using UART to send data from uC to PC. So I have some questions. I wonder what is the maximum of the UART bit rate? What factors affect the UART speed? For example does using DMA ...
-2
votes
2answers
1k views

Data transfer from Microcontroller to computer [closed]

I'm looking for a good link to data from Microcontroller to computer. I do not know what kind of communications is suitable for me. I need a link which has a bit rate more than 50 Mbit/sec. and also ...
0
votes
3answers
114 views

Is my illustration of this configuration good enough? [closed]

I do a university project about hardware peripherals. I have little experience with it coming from a computer science background. The project is about connecting a peripheral to the serial UART RS-232 ...
0
votes
1answer
49 views

82c55 as 8 bit latches

I'm trying to make my 82C55 function as three sets of 8-bit latches where I can choose one of them by applying the appropriate logic to A0 and A1 and lowering the WR signal to apply the data from ...
0
votes
1answer
857 views

How to send ethernet frames with RJ45 on STM32F107 board? [closed]

How can I configure and initialize the ethernet connector (RJ45) and send/receive packets with the ethernet connector of the STM32F107 evaluation board (ARM Cortex-M3). I searched for tutorials, but I ...
0
votes
2answers
634 views

Sending a divided clock through a non-dedicated clock pin?

I'm moderately new to FPGA's, and right now I'm working on code to interface with a DAC. I'm using this PMOD DAC , and a Nexys 4 DDR fpga. Right now, I'm connecting them through the JB PMOD header. ...
1
vote
2answers
2k views

USB OTG with occasional charging

I'd like to use a mobile phone together with a barcode scanner as a poor-man's version of a computerised barcode scanner, something like this: http://www.thebarcodewarehouse.co.uk/pdas-and-handheld-...
0
votes
1answer
376 views

manipulating I/O ports of Intel 8255 PPI

Can we use 8255A (programmable peripheral interface) as a 24 bit input or 24 bit output? we know there are 3 ports PORT A,B and C each of 8 bits. How they can be used as 24 bits I/O ports?
0
votes
2answers
3k views

STM32 Built-in LCD Controller Interface?

I have a bit of a specific question here: I am the proud owner of an STM32L476 microcontroller. According to the datasheet (page 41), this specific MCU not only has a built-in LCD controller, but it ...
0
votes
2answers
160 views

Burning a microcontroller's peripheral. is it possible?

Have you came across with a microcontroller by chance which a/two/... peripheral(s) of the microcontroller didn't work? or at first a peripheral of your MCU was working but now it doesn't? I mean ...
3
votes
3answers
217 views

Groovy i2C/SPI peripherals for education?

I'm helping someone teach an embedded programming course at my university, and he's starting to cover i2C in class. SPI is next. We're trying to come up with a groovy, easy-to-interface, low-cost i2C/...
2
votes
1answer
89 views

Question about FTDI USB-to-Serial Evaluation board [closed]

The evaluation board I am talking about the FTDI EVAL232R evaluation board which can be found at the bottom of this page. It employs a FT232RL IC. What I want to do I would like to connect a USB ...
0
votes
1answer
462 views

Can an FPGA connected to a CPU via PCIE access peripheral devices?

Is it possible for an FPGA connected via PCIE to a CPU, to directly access peripherals (USB Ports, data, Ethernet, etc) connected to the same CPU via a chipset? I had an Intel based system in mind, ...
2
votes
1answer
57 views

PIC's serial receive peripheral questions

I have a few questions regarding the PIC16F690's USART when doing asynchronous receives, and the user guide is sending me mixed signals. It has a two character FIFO buffer, and I'd like to know: What ...
3
votes
1answer
2k views

What is the difference between a Controller and Microcontroller?

I read, that I need to use a controller, if I want to communicate with a device over Input/Output Adressessing. It is sad, that I need 3 steps: Put the I/O-adress on the motherboard bus The hardware ...