Go to advanced search

by PonomarevP
Wed Jun 11, 2014 11:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C: no devices found
Replies: 8
Views: 3447

Re: I2C: no devices found

Just down to this then? as far as I can see. Whilst the MCP23017 can be used as a "level-shifter" (such as in the "Slice of PI/O board**) it's been noted in other threads that some LCD "controllers" do not accept the Pi's 3.3V as a logic high level and/or include on-board pull-up resistors incompat...
by PonomarevP
Wed Jun 11, 2014 9:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C: no devices found
Replies: 8
Views: 3447

Re: I2C: no devices found

Ok. Thanks for the idea of checking voltage on chip. I had a bad pin connector on ground, so devices were simply turned off. Now I can see 0x20 via "i2cdetect -y 1", but I still cannot see 0x3F, so first of all I will answer your questions: From your first post it looks like you are trying to use an...
by PonomarevP
Tue Jun 10, 2014 1:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C: no devices found
Replies: 8
Views: 3447

Re: I2C: no devices found

Yes, I've seen this manual and the connection of MCP23017 is exactly the same. Strange thing is that I do everything as written in manuals, but in the end in manuals it works, but now for me

Regards,
Paul
by PonomarevP
Tue Jun 10, 2014 1:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C: no devices found
Replies: 8
Views: 3447

I2C: no devices found

Hi everyone I followed the manual and successfully activated I2C on my Raspberry Pi: root@raspberrypi:~# ls /dev | grep i2c i2c-0 i2c-1 root@raspberrypi:~# lsmod | grep i2c i2c_dev 5277 0 i2c_bcm2708 4719 0 regmap_i2c 1657 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core Then I installed i2c-tools to t...
by PonomarevP
Fri Feb 07, 2014 7:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

sjoes, thanks for the link to canberry. Strange I haven't met it before. I've been looking for something like this So I installed canberry to my SD card and launched it on RPi. Result was same as before, so I decided to change some values. After changing SPI speed (10 times lower) on my oscilloscope...
by PonomarevP
Thu Feb 06, 2014 7:28 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Which frequency was the SPI signal on the raspi ? 20 MHz, but the problem not only in frequency, but in signal length too. Here you can see it(open in new tab) http://s17.postimg.org/bpuf49bbj/SPI.jpg Sorry for signal labels, they don't match. First is SCK, then MISO, MOSI and CS There are two para...
by PonomarevP
Wed Feb 05, 2014 8:21 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Returning to my problem. I have compared SPI signal from RPi and from Arduino(both with CAN-shields). It appears so, that raspberry SPI signal runs 10 times faster than arduino spi signal on same CAN bitrate. Probably mcp2515 with its 10 MHz SPI just can't catch the signal Is there possibility to ma...
by PonomarevP
Wed Feb 05, 2014 7:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Hello, sjoes I tried again to download and install the patch. http://pastebin.com/dRE7z01C Now I get ugly depmod messages This problem can be solved by installing update to fresh Raspbian, but if you have CAN interface in your network list it is not necessary But after a reboot I got an can0 interfa...
by PonomarevP
Tue Jan 28, 2014 3:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Thanks for the link, it helped to make a next step to CAN controller :) I rebuilt schematic as it is on http://skpang.co.uk/catalog/images/rasp ... _rev_B.pdf and finally I have some signal on CAN bus. Unfortunately my receiver and oscilloscope could not recognize it. The schematic works fine with A...
by PonomarevP
Tue Jan 28, 2014 8:15 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Hello, Senthilkumar R I do have second device on the bus(Arduino with SPI to CAN board). And also I have oscilloscope. When I execute command "cansend can0 123#R" I have nothing on the CAN bus and nothing on the Arduino listener program. When I set Arduino to send CAN signal I see it on oscilloscope...
by PonomarevP
Mon Jan 27, 2014 10:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Thank you for your reply Tried to install the update you advised, rebooted raspberry and still nothing. Then I reinstalled whole Raspbian 2013-12-20 and repeated all previous procedure and just changed the update version. Rebooted again and still got only eth0 and lo in my network list Problem was s...
by PonomarevP
Fri Jan 24, 2014 11:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

This post was a copy of previous. Sorry
by PonomarevP
Fri Jan 24, 2014 11:27 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 816
Views: 381593

Re: CAN controller

Hello I have RPi with Raspbian 2013-12-20. I did everything cadsenthilkumar wrote in post above(twice), but I still don't have can0 protocol when I type "ifconfig". The only warnings I had were executing command "depmod -a" root@raspberrypi:/# depmod -a WARNING: could not open /lib/modules/3.6.11+/m...

Go to advanced search