Go to advanced search

by cyphunk
Thu Mar 14, 2019 10:24 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi as I2C Slave, a summary (2019/03)
Replies: 11
Views: 4917

Re: RPi as I2C Slave, a summary (2019/03)

I've put debug statements everywhere in pigpio.c to try and find where it will read the address off the line: where there is a write to rxBuf, gpios are read, and use of the pin 18. Couldn't find it. I guess I understand now why when getting a i2c request from the master that has no data this does ...
by cyphunk
Wed Mar 13, 2019 5:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi as I2C Slave, a summary (2019/03)
Replies: 11
Views: 4917

Re: RPi as I2C Slave, a summary (2019/03)

joan wrote:
Wed Mar 13, 2019 2:58 pm
I don't know. It's ages since I was looking at this area and haven't got any stuff to hand to check with at the moment.
Okay thanks for the guidance in any case.
by cyphunk
Wed Mar 13, 2019 2:38 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi as I2C Slave, a summary (2019/03)
Replies: 11
Views: 4917

Re: RPi as I2C Slave, a summary (2019/03)

You could set it as slave X, receive a message, set it as slave Y, receive a message, etc. However you would have to ensure the master was somehow in sync as if it tried to send to X when the slave was Y the message would fail (no ack from slave address X). I thought to try this but it appears that...
by cyphunk
Wed Mar 13, 2019 2:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi as I2C Slave, a summary (2019/03)
Replies: 11
Views: 4917

Re: RPi as I2C Slave, a summary (2019/03)

Thank you joan for the clarification. Could you say if it is possible to setup two instances of a slave? I'm trying to emulate a device that appears to have 2 i2C slaves that show up in i2cdetect (on same bus). I've tried to do this in pigpio but it appears only one instance is ever initiated. If no...
by cyphunk
Wed Mar 13, 2019 10:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi as I2C Slave, a summary (2019/03)
Replies: 11
Views: 4917

RPi as I2C Slave, a summary (2019/03)

I found it difficult to understand what is available for using RPi as a I2C slave. The conclusion appears to be to use the work by joan in pigpio for hardware based I2C slave on GPIO19+18. Another option is to bitbang it with software. The Broadcom hardware has extra pins for I2C slave. These are ex...
by cyphunk
Sat May 26, 2018 2:11 pm
Forum: Advanced users
Topic: Polar H7 Bluetooth Heart Rate for raspberry Pi
Replies: 3
Views: 2345

Re: Polar H7 Bluetooth Heart Rate for raspberry Pi

fyi the link is bridge link to a different project that does not use a rapsberry pi and does not use the h7 from polar. It's still a nice project but completely inapplicable for the original posters purpose
by cyphunk
Thu Jan 12, 2017 8:45 pm
Forum: Troubleshooting
Topic: Wifi on RPI3 not showing up
Replies: 2
Views: 1491

Re: Wifi on RPI3 not showing up

You may have missed the notification that the Raspbian distro has disabled SSH by default in the latest version. You need to enable SSH in raspi-config and then change your password from the default "Raspberry" to something else of your choosing. If you are working headless, see the following instr...
by cyphunk
Wed Jan 11, 2017 1:33 am
Forum: Troubleshooting
Topic: Wifi on RPI3 not showing up
Replies: 2
Views: 1491

Wifi on RPI3 not showing up

What should I see in dmesg to indicate that the kernel is seeing the hardware? I suspect it's just not there on this RPI3. It's a fresh install from raspbian ``2016-09-23-raspbian-jessie-lite.zip`` (I tried the latest version from 2016-11-25 but SSH refuses to startup and I didn't have a monitor to ...
by cyphunk
Sun Oct 16, 2016 3:05 pm
Forum: Troubleshooting
Topic: RPi3 Bluetooth woes and script to troubleshoot
Replies: 3
Views: 897

Re: RPi3 Bluetooth woes and script to troubleshoot

Attempting later pulse audio now. wget https://freedesktop.org/software/pulseaudio/releases/pulseaudio-9.0.tar.xz apt-get install intltool libcap-dev libjson-c-dev libsndfile1-dev libspeex-dev libspeexdsp-dev libatomic-ops-dev libbluetooth-dev libsbc-dev tar xf pulseaudio-9.0.tar.xz cd pulseaudio-9....
by cyphunk
Sun Oct 16, 2016 2:24 pm
Forum: Troubleshooting
Topic: RPi3 Bluetooth woes and script to troubleshoot
Replies: 3
Views: 897

Re: RPi3 Bluetooth woes and script to troubleshoot

More funnyness with bluetooth This first minimal script that includes restarting the bluetoothd service, will get the bluetooth speaker reattached to pulseaudio and will set the speaker as the default sync if that was how it was configured before. however the second script, that just removes restart...
by cyphunk
Sun Oct 16, 2016 1:54 pm
Forum: Troubleshooting
Topic: RPi3 Bluetooth woes and script to troubleshoot
Replies: 3
Views: 897

RPi3 Bluetooth woes and script to troubleshoot

After reading through the bluetooth stickey in this forum I'm curious if one users conclusion is accurate: On the Raspberry Pi 3 you can use Bluetooth or Wifi but not both together with any stability? As noted in a previous thread Linux hardware that have Wifi and Bluetooth sharing the same antenna ...
by cyphunk
Sat Oct 15, 2016 9:40 pm
Forum: Raspbian
Topic: Bug: Bluetooth connect causes wifi to drop
Replies: 0
Views: 348

Bug: Bluetooth connect causes wifi to drop

Whenever I execute l2ping to check if a Bluetooth device is up and ready for connect the wifi drops until l2ping is completed. This bug apparently relates to Wifi and Bluetooth hardware that share antenna: https://bugs.maemo.org/show_bug.cgi?id=3238#c34

Does anyone have a work around for this?
by cyphunk
Wed Aug 24, 2016 2:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Dump a SPI NOR ROM chip
Replies: 2
Views: 1177

Re: Dump a SPI NOR ROM chip

DougieLawson wrote:It looks like you're going to need to sharpen your C/C++ coding pencil and read up a copy of the datasheet for that thing.
https://www.flashrom.org/RaspberryPi

Go to advanced search