Questions tagged [peripherals]
99 questions
2
votes
1 answer
Reading peripheral register of Cortex M0 MCU using JLink and GDB
I'm trying to read the MCUs ADC register using GDB but I can't seem to find how it's done.
Using x\10x 0x40012708 in gdb just returns zeroes, as do any memory mapped peripheral register I try to read.
It this possible to do? If so, how is it…

evading
- 3,032
- 6
- 37
- 57
2
votes
2 answers
Is the communication between a CPU and peripherals middleman'd by an MMU
I'm aware that in most modern architectures the CPU sends read and write requests, to a memory management unit rather than directly to the RAM controller.
If other peripherals are also addressed, that is to say, read from and written to using an…

Dziugas
- 1,500
- 1
- 12
- 28
2
votes
0 answers
How to set scanResponse in startAdvertising() in Android L for advertising data as a peripheral
As described in the API reference in Android L which is available here: https://developer.android.com/preview/reference.html
There are two ways to start advertising data in Android L using Bluetooth Low Energy:
public void startAdvertising…

Torrence
- 448
- 3
- 20
2
votes
1 answer
Casting the results of a volatile expression to void
Note:
This is Not the same thing that has been asked many times. Yes I have read the many many posts about casting to void. None of those questions resulted in the answer I suspect is true here.
Background info:
Embedded C. This is specifically…

user1160866
- 157
- 2
- 10
2
votes
3 answers
With MVC, do interactions with autonomous peripherals belong in the Model or the Controller?
Using MVC with an observer pattern, if a user action requires polling a device (such as a camera) for data, should the polling be done in the Controller and the result passed off the Model or should a request be sent to the Model and the Model…

bouvard
- 3,864
- 25
- 29
2
votes
2 answers
Infinite timeouts or "fail fast" in custom network protocol?
Consider custom network protocol. This custom protocol could be used to control robotic peripherals over LAN from central .NET based workstation. (If it is important, the robot is busy moving fabs in chip production environment).
there are only 2…
user215054
2
votes
1 answer
CoreBluetooth: Running as Central and Peripheral at the same time
In GameKit I'm able to set up peer-to-peer connections. I'm wondering whether in iOS 6 I'll be able to achieve something similar with bluetooth low energy, i.e. having a Peripheral Manager advertising and a Central Manager scanning for peers at the…

saeppi
- 259
- 4
- 16
1
vote
0 answers
How to programmatically wake an external screen attached to an iPad
I'm developing a standalone kiosk that is composed of an iPad 2, and an external screen. I have the two connected by cable, and the iPad is locked in a special case to prevent it from disappearing. This case makes the access to the connector…

velocipedist
- 349
- 3
- 11
1
vote
0 answers
Connecting 3 uart peripherals with esp32
I have 3 devices(GPS-Rx only, tft display-TxRx and a motor driver-Rx only) that connect only using uart. 2 of which only Tx, while one another has both Tx and Rx. I am using uart 0, for tx-rx peripheral. Flash mode and peripheral usage with device…

Balaji S
- 148
- 10
1
vote
0 answers
Peripheral devices connection (COM connection) problem with Win 11
After upgrading to Windows 11 I realize that there is no COM-Port to connect to, as it has become legacy software. And now I cannot find my device connecting through a USB port anymore
As I try to install the driver again, there was errors. Seems…

Thai Duong
- 31
- 3
1
vote
0 answers
Razer Chroma POST Request hangs Python Script indefinitely
I've been trying to use the Razer Chroma REST API to alter the lighting on my peripherals, but I've been stopped at the first hurdle.
According to the Documentation, to initialise a connection, you need to send a POST request to…

ChaosCantrip
- 41
- 1
- 4
1
vote
2 answers
Core Bluetooth. How can I check does peripheral already connect?
During development I got a problem witch related to the connection central and peripheral. When one of the central already connected with perepheral I have to don't allow to connect other central. Maybe someone nows how can I check does the…

Uladzislau Simanau
- 11
- 2
1
vote
1 answer
Is there a way in Android to programmatically get the default speaker or microphone or any peripheral
Let's say I have connected multiple external speakers and also if the device has inbuilt speakers.
How do I get the information on which speaker is the default one. Any help is appreciated.

DS009
- 169
- 3
- 5
- 14
1
vote
1 answer
Polling vs handshaking in hardware
Brookshear & Brylow's Computer Science: An Overview (12th ed.) states the following:
a process such as printing a document involves a constant two-way dialogue, known as handshaking, in which the computer and the peripheral device exchange…

Docom
- 11
- 1
1
vote
0 answers
Android BLE Peripheral (GATT Server) with PIN Authentication
I want to develop an Android BLE Peripheral (GATT Server) which works as a virtual Heart Rate Monitor. My major requirement is, Any Android/iOS Central application connecting with this Android BLE Peripheral, should perform secure PIN based bonding…

Chintan Prajapati
- 659
- 7
- 16