Questions tagged [linux]

Linux is an UNIX like open source operating system written by Linus Torvalds. There is a spin-off of Linux OS for EE called "Fedora Electronics Lab". If your Linux question isn't electronics-related, ask on one of the other Stack Exchange sites. Stack Overflow, Unix & Linux or Super User are likely what you're looking for.

Filter by
Sorted by
Tagged with
2
votes
0answers
28 views

Configuring UART pins on Beaglebone Black for CAN Interface

I have been using a CAN/RS485 Cape for prototyping CAN control of a motor. I am now in the process of bringing up some custom hardware. I have a CAN Transceiver SN65HVD230D on this custom cape that is ...
2
votes
0answers
36 views

FT232H/FT2232H mount as /dev/i2c-x

SBC like Raspberry have the 40 pin header which contains a I2C master. This is a accessible via /dev/i2c-0. I would like to achieve the same thing on my linux laptop (ubuntu) using the FT232H chip. I ...
0
votes
0answers
6 views

SAMD20/21 development on Ubuntu without IDE

As someone who is trying to break away from high-level APIs for embedded development, I wanted to try out programming Atmel's (or Microchip's) SAMD20 or 21 mcus directly without any IDEs or tools ...
0
votes
3answers
160 views

Electronics before Linux [closed]

I have been learning about the basics of electronics, and reverse engineering hardware using UART connected to my computer. I find it interesting how I can access the busybox which is Linux and then ...
0
votes
1answer
37 views

Can not launch u-boot spl

I bought some SOM modules with AM335x on board (PH8700). The SOM is completely blunk (both eMMC and EEPROM). So I have to build u-boot spl first and load it via XMODEM. The problem is that u-boot spl ...
0
votes
1answer
63 views

How to flash binary code to the NUCLEO-F207ZG device?

When I want to upload a binary file executable.bin to the STM32F407G device, I connect it to the PC using the mini-USB cable and execute the command ...
-1
votes
1answer
43 views

How to flash a large binary file to the 512-Mbit Quad-SPI memory of the STM32F7308-DK board?

I have a STM32F7308-DK board: I want to upload my custom binary code.bin for the board to execute it and display output on the screen. For that, I downloaded and ...
0
votes
1answer
39 views

What does it mean to send CAN messages at 10Hz or 100Hz? Is this configurable on Linux SocketCAN

I understand the meaning of message transfer speed, i.e. a theoretical maximum of 1Mbit/second, and the 8Mbit/second in the CAN FD. That's essentially the rate at which bits are travelling on the ...
0
votes
1answer
80 views

USB2244 enumeration failure

I have a PCB with a USB2244 USB to SDIO bridge IC connected to a Raspberry Pi Compute Module 3+. I (think I) designed based on the schematic circuit for the USB224x evaluation kit EVB-USB2240-IND. ...
3
votes
1answer
127 views

Does Linux regmap handle repeated start/stop i2c transaction?

I'm bringing up ADV7610 on Linux Kernel v4.14 on TI AM5728 platform. The Kernel module for this device is failing to successfully probe the device: ...
1
vote
1answer
43 views

Choosing controller/processor when real time feedback control system is required

Currently, I am planning to work on a system, in which we will be gathering the data from the multiple sensor for more than 15 parameters, based on the sensor value we will be controlling the ...
1
vote
2answers
114 views

i2cget works, but i2cdetect does not show the device

I'm working to bring up ADV7610 (similar to ADV7611) on a Linux based embedded system (TI AM5728 platform). By all account, I think the Chip-Select, Reset and I2C bus are all configured correctly. ...
2
votes
0answers
60 views

CAN bus traffic is destroyed for unknown reason

I am a bit stuck with connecting several STM32F405 with BeagleBone black via CAN bus. Strange things happen when I connect 3 stm32 and 1 BB. I have checked that BB works perfectly with any ...
0
votes
1answer
35 views

USB Hub on Embedded Target disconnects and reinitializes causing a crash on Linux Host

I have an imx6 embedded board which is connected through FTDI/USB to a linux host. The embedded board runs a Yocto linux. I send commands to the embedded board through a serial interface (ie. write to ...
0
votes
3answers
87 views

Low-power Linux-based ARM system on module for data logger? [closed]

I want to develop a data logger with several hardware characteristics (low-power consumption, SDI-12, I2C, SPI, UART, USB, Ethernet, touchscreen display, SD card, RTC, internal memory at least 128MB......
0
votes
1answer
96 views

Slow FIFO read from LSM6DS3

I have been trying to read FIFO buffer from LSM6DS3 inertial sensor via i2c. The processor will read LSM6DS3 buffer every 20s so the FIFO will contain approximately 3120 bytes of accelerometer data. ...
0
votes
1answer
75 views

Avrdude Does not Read What it Wrote Correctly

Question I am getting back into Atmel AVR programming after nearly a decade off. To this end, I am trying to get the usual blinken lights demo working. Unfortunately this does not function, though ...
0
votes
1answer
64 views

Embedded Development Support plugin does not generate CMake files in CLion on Ubuntu 19.10

I can build, run and debug my old projects. But when I try to import new STM32CubeMX project, nothing happens. No CMakeLists.txt file created. Pressing '...
1
vote
0answers
207 views

40 pin signal with 50 pin LCD (AT070TN92)

I have a Lichee Pi Nano board with an Allwinner FC100s SOC. The board has a 40 pin LCD-connector which takes the signals from the SOC and the backlight voltage generated separately. I also have a ...
0
votes
0answers
52 views

zero cross detection using linux GPIO in C

I am trying to make an AC dimmer and need zero cross detection using GPIO in C, I am using beagleboard. I have seen others using python on RPi so it should be doable but, it seems that GPIO reading ...
0
votes
3answers
96 views

Emulation in advance CPU Vs Native CPU

My question is very specific but I might face difficulty framing it well so hope I dont get penalized. Background: Playstation 1, houses 32-bit RISC MIPS R3051 processor, running at 33.8688 MHz with ...
0
votes
0answers
96 views

FT230xs USB basic UART converter dropping frames

I'm working with a custom STM32F429 board, I am using serial-USB port (USART1-PA9,PA10) for debug output and diagnostics. When I connect the board the FTDI chip is recognized and proper kernel modules ...
0
votes
1answer
87 views

How to enter bootloader on a Embedded Linux System with no keyboard? [closed]

I am trying to reflash a microcontroller. An instruction in the manual states that: Power up the owa4x and press the space bar to enter the bootloader prompt Insert the uSD card with the ...
0
votes
3answers
152 views

From microcontrollers to microprocessors [Embedded Devices] [closed]

I was told by some developer that embedded controllers are task specific devices that requires low latency which processor based devices can't offer due to OS overhead. So I would like to first of ...
0
votes
1answer
66 views

Interconnect between different blocks of SoC from different vendors

So I am planning to do a learning project of installing embedded linux into to SoC. One from smartphone vendor Spreadtrum SC7731 and the other from generic smart devices vendor Ingenic JZ4725B. Since ...
0
votes
1answer
327 views

Connect I2C Oled via USB to Linux Box [duplicate]

I connected a 1.3" SH1106 Oled via the I2C pins to a i2c-to-usb adapter (UMFT201XB from FTDI) and on my Linux Box (Z83 mini pc with Ubuntu 18.04) I can see the device under /dev/ttyUSB0. This is the ...
0
votes
2answers
300 views

Errors were encountered loading footprints: kicad_plugin.cpp : FootprintEnumerate() : line 1786

I am newbie in working with KiCad So for first time i tried to generate footprint of one negetive voltage source from here and here: And the Sketch is like this : button and i get this error in my ...
0
votes
1answer
229 views

Safe shutdown Embedded Linux on Power-Down

I am not very experienced with Embedded Linux, just some projects with the Raspberry Pi. I would like to know if there are any recommended ways to shutdown the Embedded Linux if the device's power ...
2
votes
2answers
720 views

What is the role of the ROOT COMPLEX in a microprocessor system (PCI Express)

I have been learning about the Linux kernel and the most common bus type i always encounter is the PCI bus. As an electronics Engineer, i decided to look at how this bus works as it seems to be the ...
0
votes
1answer
574 views

USB 3.0 VS MIPI CSI-2 camera interface on Embedded Linux system. Which one is better from both hardware and software perspective?

I have a Sony FCB series camera (1920x1080) and looking for a better interface protocol to connect it with processors like NXP, TI or any similar embedded processor. The camera has a LVDS out port ...
0
votes
1answer
129 views

How do I connect a bno055 chip to a Linux pc via an FTDI UART breakout sensor?

I want to create a C++ (or C) program that reads in a stream of Quaternion data from the bno055 Adafruit chip. My set-up at the moment has an Ubuntu PC as the controller. Plugged into the PC is a ...
2
votes
3answers
220 views

how to determine architecture core detail of ARM11 processor

I'm cross-compiling for an embedded Linux board, based in BCM5892 ARM11 processor. I need to know about architecture detail of this processor(‘armv6’, ‘armv6j’, ‘armv6k’, ‘armv6kz’, ‘armv6t2’, ‘...
1
vote
1answer
62 views

Why can't the bootloader save and log messages for us to view later [closed]

I have a problem whereby a remote BeagleBone device is taking hours to boot up. When it does, I don't see any problems in the kernel boot logs such as journalctl -b or journalctl -b -1 Without having ...
1
vote
0answers
239 views

How are MBIM transaction ID's supposed to be used?

Situation I am developing a product that will use this Sierra Wireless HL7618RD Cat 1 LTE modem. I am interfacing to the modem over USB using a small SoM running a Debian flavor of Linux. The modem is ...
0
votes
1answer
661 views

ST-LINK Version 2 on Arch Linux not working

IMAGE LINK: https://ibb.co/yfFvwQP I am using Arch Linux as my main os. I have just started embedded dev and am setting up my env. I am having an error connecting to my St Link V2 debugger as shown ...
0
votes
0answers
44 views

Compiling Linux for an H8/532 microcontroller?

Can I compile and run Linux on an H8/532 microcontroller? From what I've read, it is possible for some of the models. Family: H8 Specific Model: HD6475328CP10 Research http://lkml.iu.edu/hypermail/...
0
votes
2answers
90 views

Building NXP QN9020 firmware on GNU/Linux?

I just inherited a project that is based on the NXP SDK samples, (not quite sure which one). It is currently being built with µVision 4; but I would like to convert the build system to use ...
0
votes
1answer
142 views

PCIe - EqualizationPhase

In linux, do lscpi command: we can see LnkSta2: EqualizationComplete-, EqualizationPhase1- Sometimes the EqualizationPhase1 is EqualizationPhase1+. Can you ...
0
votes
1answer
68 views

Set alternative editor for ModelSim

I want to set an alternative editor in ModelSim. I tried How to configure my favorite editor in ModelSim? and after I set the altEditor I get "unknown command external_editor". Unfortunately my ...
-1
votes
1answer
200 views

How to convert a netlist to circuit diagram? [closed]

I was working on both verilog and ngspice. I found out a verilog can be converted into VLSI CSD design with microwind or qflow. My question is, Is it possible to convert an ngspice netlist to ...
2
votes
3answers
118 views

Why system energy is equal to 1/f?

I am studying Intel speed shift. I see a slide: Reference I don't understand, why the green line 1/f means system energy, I think more performance should need more energy as the red line (compute ...
1
vote
2answers
172 views

Linux (OS) on Custom Hardware (Custom Motherboard) [closed]

We are designing and producing our custom high-speed boards consisting of FPGA and gigabit ethernet signals. Hence, we are not professional for high-speed motherboard design but know some issues like ...
0
votes
1answer
42 views

Changing the Linux SDK in the embedded platform [closed]

I am using an embedded platform that has Linux SDK version 2. It supports only gcc 4.9.2. Is it possible to configure the system to run gcc 8?
3
votes
1answer
190 views

How to use the BeagleBone's PRU with a modern kernel?

I am trying to implement a basic LED blinking program on the PRU. Up till now what I found are guidelines for old kernel versions (old in the sense 3.8 to 4.4 kernel version). Details of my ...
2
votes
1answer
111 views

[Last Update]Simulating an RLC circuit with the 1N3880 in ngpice did not show any results or graph

Im trying to do a transient response analysis with ngspice/gnucap and gspice UI of the next RLC circuit (corrected the source polarity), to find the damping effect in the system. That with the next ...
1
vote
1answer
154 views

How to send multiple command without using delay to serial port?

I am writing a serial communication program on LINUX to send command to PIC32 MCU. When I am sending two command one after another as given in program MCU will perform action on first one only and if ...
3
votes
1answer
190 views

Debugging dual LVDS display panel color issue

I'm on TI's AM5708 platform (custom board) trying to drive this Full HD panel via TI's DS90C387 Dual-Pixel Display Interface. The SoC outputs 24bit RGB into ...
0
votes
1answer
193 views

USB Power Only - Detect Device Plugged In [closed]

I have a project that I need to complete for work. We have been working on this project for a while, however I have come to a bit of a road block. I'll first lay out the important points. We have a ...
0
votes
2answers
331 views

Software needed for ATMEL ATMEGA8A-PU microcontroller in Ubuntu 18.04? [duplicate]

A few days ago I discovered a ATMEL ATMEGA8A-PU microcontroller and I wanted to write code on it . But I don't know what software to use in Ubuntu 18.04 for the microcontroller. Can I use the Arduino ...
0
votes
1answer
288 views

What does it mean when i2c_smbus_read_byte() returns 0

i2c_smbus_read_byte() returns a negative value when there is an error in reading data. But what if it returns 0? Following is the code from adt7316-i2c driver ...

1
2 3 4 5 6