Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
43 views

Hey I need help with "my" code. I generated it with chat GPT based on the data for the arduino pro micro I have and data on the sensors/switches i use. I want my simulator peripheral to ...
hetot he's user avatar
0 votes
0 answers
49 views

Continuously send data 1000 times using the notify method, with an MTU of 512 and each packet being 244 bytes. The onNotificationSent callback is only received after all data has been sent, and there ...
Eason Hu's user avatar
0 votes
0 answers
938 views

import RPi.GPIO as GPIO import time PWM_GPIO = 27 SPEED_GPIO = 22 # GPIO setup GPIO.setmode(GPIO.BCM) GPIO.setup(PWM_GPIO, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) GPIO.setup(SPEED_GPIO, GPIO.IN, ...
rahul Rajan's user avatar
3 votes
6 answers
327 views

I am defining some registers (they're all 32-bits wide) to interface with a hardware peripheral using bitfields. At first I defined everything by mixing uint8_t, uint16_t, and uint32_t types. For ...
lrdewaal's user avatar
  • 359
0 votes
1 answer
68 views

In Demystifying .. Split.. and .. using the ADC blog: // Promote ADC peripheral to HAL-level Struct let analog = peripherals.APB_SARADC.split(); But I cannot figure out what the return type is of ....
Jason Kleban's user avatar
0 votes
1 answer
427 views

Good morning, everyone, I am a firmware developer and am currently using the GD32F303R8T6 microcontroller to control a brushless motor. To control such a motor, I plan to use the timer peripheral ...
Aristide's user avatar
0 votes
0 answers
154 views

How can I get timestamps on previously connected External devices for a specific port? (Usage Start Time and Usage End time) I have tried this but, i am only getting USB list, I need all the external ...
bharath k's user avatar
0 votes
1 answer
415 views

I want to detect with a bash script when a joypad is plugged in and retrive the ID_MODEL of the controller in a variable. So the script should remain silently listening as long as it is plugged in a ...
Isabelle's user avatar
-1 votes
1 answer
188 views

I am trying to make myself Digital audio to Analog audio converter I have STM32F769i Discovery0: https://www.st.com/en/evaluation-tools/32f769idiscovery.html Which has SPDIFRX and SPDIFTX ports I ...
LimetaPeta's user avatar
-1 votes
1 answer
163 views

I'm trying to look into smart card reading and I've immediately encountered an issue that I'm struggling with. I've called the SCardEstablishContext and I'm now trying to list the cards readers. I'm ...
eternalNoob's user avatar
0 votes
1 answer
1k views

Is there any Flutter library to simulate BLE device on iOS? Referred below link. But not working... https://github.com/juliansteenbakker/flutter_ble_peripheral https://github.com/dotintent/...
vignesh s's user avatar
0 votes
2 answers
141 views

I'm studying computer architecture and I don't understand what really makes a software for one machine "compatible" with another machine. Let's take for example two machine like Mac Os and ...
user avatar
1 vote
0 answers
1k views

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 ...
Balaji S's user avatar
  • 176
1 vote
0 answers
863 views

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 ...
Thai Duong's user avatar
2 votes
1 answer
601 views

I'm scratching my head because I can't write and read some/most peripheral registers. I'm using Rust here and the setup code from the rp2040-hal. The following code tries to write 0x42 to the DMA's ...
Jounathaen's user avatar
1 vote
0 answers
144 views

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 ...
ChaosCantrip's user avatar
2 votes
2 answers
1k views

On 32 bit microcontrollers such as the ST STM32F103 (ARM core) or the GigaDevices GD32VF103 (RISC-V core) there are many registers for dealing with peripherals. What surprises me is that peripheral ...
maxschlepzig's user avatar
  • 40.2k
2 votes
2 answers
3k views

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. ...
Uladzislau Simanau's user avatar
0 votes
1 answer
649 views

Testing out an STM32 with an FDCAN module (updated from the older BxCAN peripheral). CAN Classic at 500kbps. I am running into an issue that when using the default pair of pins (D0/D1 in my case) I ...
mint branch conditioner's user avatar
0 votes
0 answers
129 views

I have two computers, they're not both on at the same time. I don't want to be switching the cable from one computer to the other all the time. Is there a way I can connect both computers to one ...
Jordan's user avatar
  • 55
0 votes
1 answer
880 views

I want to remove device specific device attached to my computer when i run a script in python but am not able to do this. Have searched on the web with no solution. link 1 and link 2 I learnt i can ...
O JOE's user avatar
  • 597
0 votes
1 answer
323 views

As the title suggests I have a problem with using SpaceMouse in Chrome on Ubuntu. On Windows 10 it works fine. I've tried installing 3DxWare 10 and spacenavd but it still does not work. It is worth ...
Mateusz Goik's user avatar
1 vote
1 answer
653 views

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's user avatar
  • 179
0 votes
1 answer
140 views

I've realized that the 3 ways to make an I/O connection : 1- Programmed I/O (polling) 2- Interrupt-Driven I/O 3- Direct Memory Access (DMA) now, I need to relate this with the reality of how accessing ...
Ali K.'s user avatar
  • 17
0 votes
0 answers
39 views

What are the possible schemes for sharing the bandwidth of the link between the Platform Controller Hub and the CPU? How could concurrent transfers work say for two I/O devices attempting to use DMA ...
Olusegun Ode's user avatar
0 votes
0 answers
305 views

Currently, I'm working on iMX7D board (from Toradex) with Android Nougat 7.1.2. I'm writing a connection to peripherals via I2C, GPIO, UART protocol (I'm using a JNI binding that interacts with lower ...
tuanphan's user avatar
2 votes
1 answer
16k views

The conditions to reproduce: Here is my real life example that I would like to solve:I am developing an application on an stm32f411RET which needs to dynamically change the period of two PWM's.The two ...
Spyros Mourelatos's user avatar
1 vote
1 answer
658 views

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 ...
Docom's user avatar
  • 25
1 vote
0 answers
875 views

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 ...
Chintan Prajapati's user avatar
0 votes
1 answer
421 views

I am trying to write C test code for SPI peripheral module for Pulpissimo.I have gone through the test case mentioned in pulp-rt examples. [https://github.com/pulp-platform/pulp-rt-examples/tree/...
RISCV's user avatar
  • 15
0 votes
1 answer
29 views

I'm developing a web application and I need to consume a service from the client side. I will deploy the service on the client and consume it from the web browser with Angular. Is this good practice? ...
luis alberto juarez's user avatar
1 vote
1 answer
861 views

I gather that the main ways of the CPU addressing devices are "port" and "memory" mapped. In both of these: How are devices dynamically assigned an address - who assigns it and ...
MysteriousWaffle's user avatar
2 votes
1 answer
1k views

I am new to Android development and working on a requirement to get the list of peripherals connected to an android device. Example list of devices: external speaker, display monitors connected. Is ...
DS009's user avatar
  • 179
0 votes
1 answer
165 views

For USB Host Controllers there are the UHCI/OHCI/EHCI/XHCI specification that define how to program a driver. Is there an equivalent specification for USB Device Controllers?
elFreak's user avatar
  • 133
0 votes
1 answer
67 views

I am trying to create a separate file/module that has functions that can deal with the LEDs or gyro for the stm32f3discovery. I am trying to pass the stm32f3 API that holds all of the registers into a ...
Jack F's user avatar
  • 31
21 votes
7 answers
9k views

I want to automate a personal workflow that is based on camera usage on my MBP. Basically I want to know if any of the cameras (built-in or USB) has been turned on or off, so I can run a program or ...
sergiopereira's user avatar
0 votes
0 answers
127 views

I am using OpenSTM Workbench to try and program an STM32F0 MCU. I am using Eclipse (with OpenSTM extension) on Windows 10. I keep getting the following error when I try to install the peripheral ...
user avatar
0 votes
0 answers
34 views

I am writing a WCF service hosted by a Windows service that is responsible for detecting USB devices being connected/disconnected. Now, in order for this to work I need to understand the Windows boot ...
toughQuestions's user avatar
0 votes
1 answer
2k views

I have a FullSpeed USB Device that sends a Report Descriptor, whose relevant Endpoint Descriptor declares a bInterval of 8, meaning 8ms. The following report extract is obtained from a USB Descriptor ...
Julien BERNARD's user avatar
1 vote
0 answers
820 views

I am working on a Bluetooth Low Energy (BLE) project which needs iPhone to act as a peripheral device. I am using BLEManager to deal with CoreBluetooth related jobs, which includes good ...
Hassan Shahbazi's user avatar
0 votes
1 answer
341 views

I am trying to send data to a device which is connected to SPI of hikey960 platform. Hikey is running on normal mobile Android. Is it possible to run androidthings api on development platform like ...
Rilwan's user avatar
  • 2,311
0 votes
0 answers
236 views

I have two android devices: Device A and Device B. I am running a BLE Peripheral Simulator on device A. I am running the Device B in BLE Central mode. I also have a BLE Beacon. With Device B I can ...
Rakshit Tanti's user avatar
2 votes
1 answer
2k views

I am working on one android app where I am trying to establish a communication between android device and machine which runs on windows OS. I want to transfer some bytes from android device to that ...
N Sharma's user avatar
  • 34.6k
1 vote
1 answer
90 views

I recently downloaded the v3 of the FourQlib [1], build the FourQlib and wanted to test if everything went well. First of all, my system: Windows 10 (host) with MinGW, ARM Toolchain, MSYS, ... ...
Shalec's user avatar
  • 172
0 votes
1 answer
515 views

I am attempting to disconnect from a peripheral when ever a user leaves the current view controller. This would normally be easy by using prepare for segue in the following fashion: override func ...
lawndogg's user avatar
  • 127
5 votes
1 answer
2k views

I'm currently doing some research about ARM's TrustZone, e.g. here: ARM information center. As far as I understand, with TrustZone a secure environment based on the AMBA AXI bus can be created. On ...
BenObi's user avatar
  • 51
2 votes
0 answers
865 views

I am unable to read from or write to the AD7928 analog to digital converter (ADC) on the DE1-SoC (Rev. F) development board. I have the datasheets for the board and the ADC. I am using a mix of ...
Gordon's user avatar
  • 317
1 vote
1 answer
967 views

I want to use the overflow, compare match and capture functionality of a general purpose timer on a ST2M32F103REY Cortex M3 at the same time. CC1 is configured as compare match and CC3 is configured ...
koalo's user avatar
  • 2,323
-2 votes
1 answer
181 views

I know there is something for WiFi and Bluetooth by using intent filter -> ACTION_ACL_CONNECTED, ACTION_ACL_DISCONNECT_REQUESTED, and ACTION_ACL_DISCONNECTED...But is there something in general to ...
BigPun86's user avatar
  • 2,694
0 votes
1 answer
498 views

I'm trying to understand someones code and they are reading a memory space in the GPIO region (0x4002 0000 - 0x4002 03FF), but it's a higher address than the GPIO registers (they only go to 0x24). ...
eibwen's user avatar
  • 195