Go to advanced search

by edo1
Mon Dec 23, 2019 12:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI clock frequency
Replies: 4
Views: 421

Re: SPI clock frequency

You can recompile jedec-spi-nor-overlay.dts
You can compile anyspi-overlay.dts from my patch
You can write your own overlay

Easiest way is get precompiled anyspi.dtbo
by edo1
Mon Dec 23, 2019 12:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Writing to SST25VF080B
Replies: 4
Views: 450

Re: Writing to SST25VF080B

How is "Write Protect Pin (WP#)" connected?
by edo1
Sat Dec 21, 2019 11:58 am
Forum: Troubleshooting
Topic: driver for a device that does not have a driver loaded automatically
Replies: 2
Views: 179

Re: driver for a device that does not have a driver loaded automatically

I just want ANY driver.
It is impossible. Driver can work with supported hardware only.

It is possible to go without kernel driver at all (with libusb), but low-level programming skills are necessary.
by edo1
Sat Dec 21, 2019 2:36 am
Forum: Русский
Topic: Rasberry Pi 4 GPU Память
Replies: 6
Views: 2719

Re: Rasberry Pi 4 GPU Память

XJ7aM wrote:
Wed Sep 25, 2019 6:36 pm
Пытаюсь поставить размер GPU память 1024 мб на Расбиан ос,
но зачем?
by edo1
Sat Dec 21, 2019 2:15 am
Forum: Русский
Topic: Disabling IRQ
Replies: 6
Views: 912

Re: Disabling IRQ

BerZerK wrote:
Tue Dec 10, 2019 9:39 am
Нашел один из вариантов решения проблемы прописать в grub.cfg "noirqdebug", но у меня Raspbian и там нет grub. Как осуществить это действие в Raspbian?
опции ядра лежат в /boot/cmdline.txt
by edo1
Sat Dec 21, 2019 2:12 am
Forum: Русский
Topic: Disabling IRQ
Replies: 6
Views: 912

Re: Disabling IRQ

BerZerK wrote:
Wed Dec 11, 2019 5:40 am
Добавил эти строки и ttyS0 перестал работать, пишет ошибка чтения/записи.
вместо ttyS0 используйте ttyAMA0
by edo1
Sat Dec 21, 2019 2:09 am
Forum: Русский
Topic: Питание через GPIO
Replies: 1
Views: 563

Re: Питание через GPIO

Имеется в виду "еслиу вы подключаете RPi к своей плате через 40-контактный разъём, то вы можете запитать малинку через этот разъём"
by edo1
Fri Dec 20, 2019 11:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI clock frequency
Replies: 4
Views: 421

Re: SPI clock frequency

SPI clock frequency is hardcoded in jedec-spi-nor overlay:
https://github.com/raspberrypi/linux/bl ... verlay.dts

I proposed new overlay with tunable frequency, but it isn't approved yet:
https://github.com/raspberrypi/linux/pull/3374
by edo1
Thu Mar 16, 2017 7:38 pm
Forum: General discussion
Topic: Cheapest power solution
Replies: 30
Views: 5800

Re: Cheapest power solution

You could try the charger from aliexpress, but not sure about the quality.

Beware: a broken power supply can damage Pi!
by edo1
Thu Mar 16, 2017 7:31 pm
Forum: General discussion
Topic: One large 5 volt supply?
Replies: 26
Views: 4363

Re: One large 5 volt supply?

It isn't a good idea to deliver 5V via long cables.
by edo1
Mon Mar 13, 2017 6:37 pm
Forum: Advanced users
Topic: Does anyone use the UART pins and the SPI bus at the same ti
Replies: 2
Views: 767

Re: Does anyone use the UART pins and the SPI bus at the sam

I use both SPI and UART without any issue (and I2C as well)
by edo1
Mon Mar 13, 2017 6:33 pm
Forum: Русский
Topic: Одно реле или один датчик и две малины
Replies: 1
Views: 1048

Re: Одно реле или один датчик и две малины

А вот что делать например с реле? Можно ли управлять с двух малин им??? даже если и можно, то не нужно Я понимаю что с датчиком например можно подключить к одной малине, дальше класть данные в базу и отображать от туда на второй. вот и с реле аналогично - на одной малинке управляющая программка, к ...
by edo1
Mon Mar 13, 2017 6:19 pm
Forum: Русский
Topic: При падение напряжения запускать генератор.
Replies: 1
Views: 1095

Re: При падение напряжения запускать генератор.

программы пишутся по-английски, должно быть что-то вроде такого:

Code: Select all

while (infinity_isnt_over) {
    if (voltage_is_falling) {
        start_generator();
    }
}
by edo1
Mon Feb 27, 2017 8:19 am
Forum: Networking and servers
Topic: OpenWRT on Pi3 or Alternative?
Replies: 4
Views: 4265

Re: OpenWRT on Pi3 or Alternative?

You could use LEDE release:
https://downloads.lede-project.org/rele ... 8/bcm2710/
(LEDE is OpenWRT fork and it looks promising)

Or you could use Raspbian or any other linux distributive for pi3.

P.S. not sure about Alfa Network card support in OpenWRT/LEDE
by edo1
Sun Feb 26, 2017 8:10 pm
Forum: Troubleshooting
Topic: OpenVPN performance degrades over time
Replies: 8
Views: 3918

Re: OpenVPN performance degrades over time

Execute some commands on the "broken" system to check what is happening:

Code: Select all

df -h

Code: Select all

w

Code: Select all

ifconfig; sleep 10; ifconfig

Code: Select all

wget --output-document=/dev/null https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.10.tar.xz

Code: Select all

dmesg | tail -n 30
Publish the output here if you don't know how to interpret it.
by edo1
Tue Aug 02, 2016 11:26 am
Forum: Русский
Topic: Можна ли использовать GPIO когда Raspberry включен
Replies: 5
Views: 2645

Re: Можна ли использовать GPIO когда Raspberry включен

никакой защиты на gpio нет, это выводы процессора, так что пожечь его статикой или неправильным напряжением легко.
by edo1
Mon Aug 01, 2016 9:16 pm
Forum: Beginners
Topic: Air Pressure comtroller
Replies: 5
Views: 2471

Re: Air Pressure comtroller

There is low-cost ABP series from Honeywell, we use ABPLANT005PG2A3 sensor: http://www.tme.eu/en/details/abplant005pg2a3/pressure-sensors/honeywell/ It works great and it is priced reasonably. If you want cheaper solution you can look at Bosch BMP085/180/280. But they are absolute pressure sensors, ...
by edo1
Mon Aug 01, 2016 9:00 pm
Forum: Troubleshooting
Topic: Unable to bring CAN interface up on RPi 3 [solved]
Replies: 7
Views: 11686

Re: Unable to bring CAN interface up on RPi 3

With proper wiring and DT overlay can0 should appear automatically.
IMHO your problem is in wiring.

In kernel version 4.8 mcp251x driver will be more talkative, it should help to debug such cases.
by edo1
Mon Aug 01, 2016 6:58 pm
Forum: Troubleshooting
Topic: Doing CAN using mcp2510
Replies: 11
Views: 2695

Re: Doing CAN using mcp2510

I think there is something wrong with your device tree overlay.
Try to use mcp2515-can0-overlay.dts from current kernel
https://github.com/raspberrypi/linux/bl ... verlay.dts
(you need to replace mcp2515 with mcp2510 on line 58)
by edo1
Mon Aug 01, 2016 6:06 pm
Forum: Русский
Topic: Не работают USB порты
Replies: 2
Views: 3428

Re: Не работают USB порты

тут есть немного про питание USB:
http://hackaday.com/2015/04/06/more-pow ... usb-ports/
эти ap2253 достаточно часто горят, так что ИМХО начать с их проверки.

и не понял, вы lan9514 выпаивали? это usb hub.
by edo1
Mon Aug 01, 2016 5:59 pm
Forum: Русский
Topic: Raspberry pi после грозы
Replies: 2
Views: 1484

Re: Raspberry pi после грозы

2kxe wrote:Пробовал подключать к малинке адаптер от телефона на 2А рабочий, красный индикатор не загорелся и сразу плата начала очень сильно нагреваться.
греется процессор?
труп
by edo1
Wed Jul 20, 2016 2:55 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [quick-guide] CAN bus on raspberry pi with MCP2515
Replies: 153
Views: 251558

Re: [quick-guide] CAN bus on raspberry pi with MCP2515

It seems to be caused by different settings (like bitrate) or some hardware issue.
What does show this command on another side?
by edo1
Tue Jul 19, 2016 9:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [quick-guide] CAN bus on raspberry pi with MCP2515
Replies: 153
Views: 251558

Re: [quick-guide] CAN bus on raspberry pi with MCP2515

what does this command show:

Code: Select all

ip -d -s link  show dev can0
?
by edo1
Sat Jul 09, 2016 4:59 pm
Forum: General discussion
Topic: Raspberry Pi 3 dead ?
Replies: 10
Views: 5624

Re: Raspberry Pi 3 dead ?

Greg Tom wrote:And you're right, the last thing I forgot to mention is that the broadcom processor is very hot when I supply the raspberry pi,
your raspi is dead (((
I have several pi2 with the same symptom, almost all (perhaps all) died due the wrong wiring (5V to GPIO pin or so on)
by edo1
Tue Jul 05, 2016 7:58 pm
Forum: Beginners
Topic: 1-wire with Jessie
Replies: 2
Views: 1304

Re: 1-wire with Jessie

is it possible to search new devices on 1-wire bus with out reboot, kernel does 1-wire bus scan by default every 10 seconds or so on. w1 master sysfs interface ------------------------------------------------------------------ <xx-xxxxxxxxxxxxx> - A directory for a found device. The format is famil...

Go to advanced search