Go to advanced search

by Wholetthesmokeout
Sun Apr 14, 2013 12:01 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI ADC was working fine last week and now it's not
Replies: 27
Views: 6543

Re: SPI ADC was working fine last week and now it's not

I don't know if this will help, but I was having issues with the I2C bus (http://www.raspberrypi.org/phpBB3/viewt ... 44&t=39925) and I think what solved the issue was setting the I2C speed to a whopping 1 Hz and then back to 32KHz. It's just a suggestion akin to 'turn it off and back on again'.
by Wholetthesmokeout
Sat Apr 13, 2013 9:28 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART RXD buffer size
Replies: 0
Views: 569

UART RXD buffer size

I wanted to know what the size of this buffer was and after some googling I found nothing. I then ran a simple test to 'overflow' the buffer by increasing the amount of bytes I send until it plateaued out. I found this value to be 4095 bytes (not 4096, not sure why...). Can anyone confirm that the b...
by Wholetthesmokeout
Wed Apr 10, 2013 5:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C worked but not working anymore.
Replies: 5
Views: 2413

Re: I2C worked but not working anymore.

So I guess the 'turn it off and back on' methodology worked here :P. Also, I realized that there needs to be some sort of wait function (time.sleep() in python) after you write I2C because the processor speed is way faster than the I2C speed.

Anyways, thanks for your help!
by Wholetthesmokeout
Tue Apr 09, 2013 10:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C worked but not working anymore.
Replies: 5
Views: 2413

Re: I2C worked but not working anymore.

Ok. So I have absolutely no idea what happened. It worked. I was doing what you told me to do and I just ran a simple LED blinker program using the GPIO interrupts and the pins for the I2C and that worked. I just wanted to familiarize myself with using the treaded callback function. And then I ran t...
by Wholetthesmokeout
Tue Apr 09, 2013 9:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C worked but not working anymore.
Replies: 5
Views: 2413

Re: I2C worked but not working anymore.

No the device isn't detected using i2cdetect -y 1 and i2cdetect -y 0 and using sudo. I will give your method a shot, it sounds like a neat debug experiment. I will also try probing the I2C lines (should idle high) and report back.
by Wholetthesmokeout
Tue Apr 09, 2013 12:59 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C worked but not working anymore.
Replies: 5
Views: 2413

I2C worked but not working anymore.

I bought the MPL115A2 from Adafruit, and I hooked it up to the pi, ran i2cdetect, and found found the slave address of 0x60 just fine. OK. Fast forward to today and nothing is working. Here is the backstory: Initially wanted to just blink some LEDs to get basic GPIO working. Messed up the pin connec...

Go to advanced search