Go to advanced search

by lukekb
Wed Sep 28, 2016 11:56 am
Forum: General discussion
Topic: GNURadio / Volk benchmark Pi3
Replies: 1
Views: 918

Re: GNURadio / Volk benchmark Pi3

Any chance you could walk through the steps you used to compile it?
Did you just use PyBomb?
Did you upgrade to a newer version of GCC? I saw that the version of GCC that is include by default has flags that don't target the arm7 in the RPi3.

https://brmlab.cz/user/jenda/rpi-gcc
by lukekb
Fri Apr 08, 2016 9:08 pm
Forum: Raspberry Pi OS
Topic: RPI3: Diff between BCM BT UART and CSR BT USB Dongle
Replies: 1
Views: 1256

Re: RPI3: Diff between BCM BT UART and CSR BT USB Dongle

One more weird bit - turns out I have a Broadcomm based BT 4.0 USB Dongle. It works fine with the USB Dongle. So my thought are that the Broadcomm drivers for USB and UART could be different... or some difference between 4.0 and 4.1. Here is info on the BCM USB Dongle: [ 3.300731] Bluetooth: HCI dev...
by lukekb
Fri Apr 08, 2016 8:24 pm
Forum: Raspberry Pi OS
Topic: RPI3: Diff between BCM BT UART and CSR BT USB Dongle
Replies: 1
Views: 1256

RPI3: Diff between BCM BT UART and CSR BT USB Dongle

So I have a weird corner case I am trying to figure out. I have a NodeJS implementation of ANCS, which lets you receive iOS notifications over Bluetooth LE. It is a great way to get a heads up when you get a new message or email. The code is here: https://github.com/robotastic/ble-ancs I have it wor...
by lukekb
Thu Jul 11, 2013 10:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BCM2708_SPI Kernel Crash
Replies: 4
Views: 1371

Re: BCM2708_SPI Kernel Crash

I never did figure out it, but I think it was because I was passing a section freed memory to the driver. After I added a bunch of Print messages to my program so I could debug, the kernel panic went away.

In short, I think the driver is good and my program sucks.
by lukekb
Tue Mar 26, 2013 1:37 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BCM2708_SPI Kernel Crash
Replies: 4
Views: 1371

Re: BCM2708_SPI Kernel Crash

Does anyone have tips on things to try? I have hit a brick wall... I added a cout statement to track memory usage by reading the /proc/process file. While the amount of resident memory seems to go up a little over 24 hours, it doesn't seem to be that much. What other things besides a memory leak cou...
by lukekb
Tue Mar 19, 2013 6:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BCM2708_SPI Kernel Crash
Replies: 4
Views: 1371

BCM2708_SPI Kernel Crash

I keep getting a crash with my program that use the SPI port to write to an LED Message board. The actual communication happens in a C++ program, but it is wrapped up as a NodeJS Module. The code for my program is here: https://github.com/robotastic/pi-led/blob/master/pi-led.cpp I am 90% sure there ...
by lukekb
Fri Feb 15, 2013 12:15 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Use SPI to drive HT1632C LED Matrix
Replies: 8
Views: 8213

Re: Use SPI to drive HT1632C LED Matrix

You are in luck, I just got everything written last night:
http://lukeberndt.com/2013/raspberry-pi ... d-via-spi/
by lukekb
Thu Feb 14, 2013 3:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 2 SPI Chip Enable lines
Replies: 13
Views: 10028

Re: More than 2 SPI Chip Enable lines

I just wanted to thank everyone for the pointers. I got it all working! I put together a quick writeup of what I did here: http://lukeberndt.com/2013/raspberry-pi-to-led-message-board-via-spi/ And code is here: https://github.com/robotastic/SPI-LED-Print I am not sure if I wired things up correctly ...
by lukekb
Fri Dec 14, 2012 4:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Did I fry my SPI?
Replies: 6
Views: 1228

Re: Did I fry my SPI?

Not a problem! And thanks for wiringPi! That is a great question and I wish I knew what I did so I don't do it again. I had the power on both the Pi and the LED Matrix (5v) and was moving the wires around, so there is a good chance some wire may have crossed. However I think it was all on the other ...
by lukekb
Fri Dec 14, 2012 2:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Did I fry my SPI?
Replies: 6
Views: 1228

Re: Did I fry my SPI?

Thanks, I tried to make it rhyme.

I tried to short the input/output pins and didn't get anything back when I ran the test program. Looks like this is a good excuse to upgrade to the 512mb model!

Thanks, I wanted to see if there was anything obvious I was missing.
by lukekb
Fri Dec 14, 2012 1:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Did I fry my SPI?
Replies: 6
Views: 1228

Re: Did I fry my SPI?

I did have the Pi behind a logic level converter. That should have protected the pins, right?
by lukekb
Thu Dec 13, 2012 6:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Did I fry my SPI?
Replies: 6
Views: 1228

Did I fry my SPI?

I am working on hooking an LED Matrix up over SPI. I had it up and mostly working, but the SPI interface has all of a sudden stopped working. I switched some wires around while the PI was on and I am afraid I fried something. The double checked the wiring and the LEDs. What things can I double check...
by lukekb
Wed Dec 05, 2012 7:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 2 SPI Chip Enable lines
Replies: 13
Views: 10028

Re: More than 2 SPI Chip Enable lines

I assume from that you are in USA as I have no other way of knowing Yep... just remembering when Radio Shack used to sell more than cell phones Only useful if SAME data has to be written to two or more devices at once. Like writing 0 to all. Yep, the initialization commands are the same for all the...
by lukekb
Wed Dec 05, 2012 2:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 2 SPI Chip Enable lines
Replies: 13
Views: 10028

Re: More than 2 SPI Chip Enable lines

Wow! Thanks guys, this is great info. I think I am going to keep it simple at first and just order a 74HC139 & 74HC138, since I only have 4 displays to control now and I have lots of extra GPIO lines to use. I remember when Radio Shack used to have ICs in store. With the 74HC595 would it be possible...
by lukekb
Tue Dec 04, 2012 6:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 2 SPI Chip Enable lines
Replies: 13
Views: 10028

More than 2 SPI Chip Enable lines

I am trying to write to 4 LED modules and each one requires a seperate Chip Enable line. I have it working with 2 displays using the 2 built in Chip Enable lines (CE1 & CE2). Is it possible to repurpose some of the GPIO lines as Chip Enable lines? From this thread it seems like it is possible: http:...
by lukekb
Tue Dec 04, 2012 6:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Use SPI to drive HT1632C LED Matrix
Replies: 8
Views: 8213

Re: Use SPI to drive HT1632C LED Matrix

Well, I got it working. It turns out you need to send some initialization commands first. The HT1632 has no problem if you send the 12bits as 16bits with the last 4 bits zeroed.
by lukekb
Mon Dec 03, 2012 9:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Use SPI to drive HT1632C LED Matrix
Replies: 8
Views: 8213

Use SPI to drive HT1632C LED Matrix

Hi, I am interested in trying to control an LED Matrix using the RPI so I can build an Info Board. I have 4 ht1632c based board from Sure Electronics that are 8x32 LEDs. I have unblacklisted the SPI module and downloaded and installed wiringPI. I got a logic level converter to convert from 3.3v to 5...

Go to advanced search