Go to advanced search

by ahmedawad
Thu Feb 01, 2018 5:45 pm
Forum: General discussion
Topic: Topic does not exist anymore
Replies: 4
Views: 588

Re: Topic does not exist anymore

It was probably wrong or out-dated by firmware changes. In https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=198941 I explain how to use the five standard SPI interfaces. The topic was explaining how to use any free GPIO pin on the PI and convert it to SPI chip select and not only the 5 stand...
by ahmedawad
Thu Feb 01, 2018 5:30 pm
Forum: General discussion
Topic: Topic does not exist anymore
Replies: 4
Views: 588

Topic does not exist anymore

Hi,

the topic with this title "Howto: Extending the SPI's chip select pins on RPI 3" is no more accessible. Every time I am trying to open it, I get this

Information
The requested topic does not exist.

Please admins what is the reason ?
by ahmedawad
Fri Oct 20, 2017 1:09 pm
Forum: General discussion
Topic: RPI 3 supports WIFI direct ?
Replies: 4
Views: 7815

RPI 3 supports WIFI direct ?

Hi,

please can someone confirms if the current pi3 supports WIFI direct, I mean the internal built-in wifi chip ?

Thanks.
by ahmedawad
Fri Oct 20, 2017 10:27 am
Forum: General discussion
Topic: Wifi Direct Enabled
Replies: 32
Views: 70581

Re: Wifi Direct Enabled

For those attempting to use WiFi direct with the rpi 3, you will still need an external wireless adapter as the wireless chip used on board does not support the WiFi direct interface. Hopefully that will get updated in the future with a new chips etc that does support it, but until then, please uti...
by ahmedawad
Mon Aug 28, 2017 2:37 pm
Forum: Device Tree
Topic: using mcp23s17 device tree
Replies: 6
Views: 2374

Re: using mcp23s17 device tree

Thank you very much! That will do it.
by ahmedawad
Mon Aug 21, 2017 8:11 am
Forum: Advanced users
Topic: devicetree overlay for MCP23017 GPIO expander
Replies: 66
Views: 17454

Re: devicetree overlay for MCP23017 GPIO expander

@wavelet, I tested the interrupt functionality of mcp23s17 and it is not working. please can you refer to my post https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=191022 I think that the official mcp23s17.dtbo is exactly the same as your .dts which you previously posted, So if you tested the...
by ahmedawad
Thu Aug 17, 2017 5:25 pm
Forum: Device Tree
Topic: using mcp23s17 device tree
Replies: 6
Views: 2374

Re: using mcp23s17 device tree

Thank you so much for your help! I can now read/write to the mcp23s17 port expander using its device tree overlay. However, the interrupt does not work at all. in config.txt I do the following, dtoverlay=mcp23s17,s17-spi1-1-present,s17-spi1-1-int-gpio=12 I understand that this configures the port ex...
by ahmedawad
Thu Aug 17, 2017 12:39 pm
Forum: Device Tree
Topic: using mcp23s17 device tree
Replies: 6
Views: 2374

Re: using mcp23s17 device tree

Thanks for the reply. I removed "1" from the dtoverlay, but still the output from cat /proc/interrupts and cat /sys/class/gpio/gpiochip496/label is the same. How to check the kernel recognize the mcp23s17 ? and please how can i communicate with it in the user space ? when checking gpiochip496, it po...
by ahmedawad
Thu Aug 17, 2017 12:02 pm
Forum: Device Tree
Topic: using mcp23s17 device tree
Replies: 6
Views: 2374

using mcp23s17 device tree

Hi, I want to use the mcp23s17 kernel driver so I connected mcp23s17 (port expander chip ) to RPI3 SPI-1 and loaded the mcp23s17.dtbo in config.txt. Here is what config.txt looks like: dtoverlay=spi1-3cs dtoverlay=mcp23s17,s17-spi1-1-preset=1,s17-spi1-1-int-gpio=12 # This means that the address of t...
by ahmedawad
Tue Aug 08, 2017 6:17 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Interrupt handling system is buggy
Replies: 4
Views: 2215

Re: GPIO Interrupt handling system is buggy

Thanks for the reply. I used PIGpio as you suggested and I run this simple test: One arduino generates clock signal with 20 msec (10 ms ON and 10 ms OFF) and another arduino generates the same signal. The 2 signals are connected to 2 different GPIO pins on RPI. If every thing is ok, then the number ...
by ahmedawad
Fri Aug 04, 2017 2:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Interrupt handling system is buggy
Replies: 4
Views: 2215

GPIO Interrupt handling system is buggy

Hi, When I tested 2 mcp2515 CAN interface chips both are connected on different SPI bus on RPI3, then one of the modules stops working. I connected one MCP2515 on SPI0 and another on SPI1. I used 2 different can busses with different can adapters like http://www.peak-system.com/PCAN-USB.199.0.html?L...
by ahmedawad
Mon Jul 24, 2017 8:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [quick-guide] CAN bus on raspberry pi with MCP2515
Replies: 146
Views: 197962

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

@vnrgoli, check the baud rate on the PiCAN adapter side is the same as the one configured in /etc/network/interfaces on the RPI.
I can well asure that following this post till the end and I had every thing working fine.
by ahmedawad
Thu Jun 01, 2017 7:34 am
Forum: General discussion
Topic: 2 Touch displays connected to the RPI3
Replies: 0
Views: 310

2 Touch displays connected to the RPI3

Hi all,

is it possible to operate 2 touch screens connected to the PI ?
Say waveshare connected to the SPI interface and official 7" RPI connected to the DSI interface on RPI3.


Thanks!
by ahmedawad
Fri May 26, 2017 6:36 pm
Forum: Device Tree
Topic: device tree overlays and U-Boot
Replies: 32
Views: 13158

Re: device tree overlays and U-Boot

Where are you getting your u-boot source (or binary) from? Yes you are right. Now I got the binaries from: git clone git://github.com/swarren/u-boot.git Well, there aren't any binaries in that repository... I assume you meant you got the source from there. Also, that's the wrong repository to use. ...
by ahmedawad
Fri May 26, 2017 9:28 am
Forum: Device Tree
Topic: device tree overlays and U-Boot
Replies: 32
Views: 13158

Re: device tree overlays and U-Boot

Where are you getting your u-boot source (or binary) from? That message does not exist in the source tree link provided by swarren, or even in its history. I did find some repos containing that string, but they appear to be very out of date with some downstream patches. Try: git clone http://git.de...
by ahmedawad
Fri May 26, 2017 8:23 am
Forum: Device Tree
Topic: device tree overlays and U-Boot
Replies: 32
Views: 13158

Re: device tree overlays and U-Boot

Reading the link swarren sent, u-boot sets "fdt_addr" to the DT address passed to the kernel. "fdt_addr_r" is the old constant value of 0x100, which is where the kernel used to put its ATAGs or DTB. Unfortunately the gap from 0x100 to where the kernel starts is only 32KB, and the decompressor seems...
by ahmedawad
Fri May 26, 2017 7:39 am
Forum: Device Tree
Topic: device tree overlays and U-Boot
Replies: 32
Views: 13158

Re: device tree overlays and U-Boot

@ahmedawad, For example, your boot script might be (untested): fatload mmc 0:1 ${kernel_addr_r} kernel7.img setenv bootargs earlyprintk dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait bootz ${kernel_addr_r} - ${fdt_addr} Reference: http://git.denx.de/?p=u-bo...
by ahmedawad
Wed May 24, 2017 2:35 pm
Forum: Device Tree
Topic: device tree overlays and U-Boot
Replies: 32
Views: 13158

Re: device tree overlays and U-Boot

Please can you summarize how to get U-boot to work correctly fine with RPI3, I mean by correctly is " Having the device tree in the config.txt read by U-boot" ? For a noob like me, I did the following steps: 1- I downloaded the last Jessie image. 2- git clone -b v2017.05-rc1 git://git.denx.de/u-boot...
by ahmedawad
Wed May 24, 2017 9:28 am
Forum: Other
Topic: Barebox on the Pi
Replies: 3
Views: 4469

Re: Barebox on the Pi

Please can you show how to configure and compile barebox for RPI 3 ?
Thanks in advance!
by ahmedawad
Tue May 16, 2017 1:20 pm
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 518349

Re: HOWTO: Move the filesystem to a USB stick/Drive [updated

This is really wonderful thank you very much! This can be useful when some one would like to have multiple OSes on the SAME SD CARD.

Many Thanks for the more than excellent work! :D
by ahmedawad
Tue Apr 25, 2017 6:01 am
Forum: Raspbian
Topic: HOW TO - Find a kernel version of Raspbian
Replies: 9
Views: 5704

Re: HOW TO - Find a kernel version of Raspbian

Actually a good solution comes from those who run this page http://downloads.raspberrypi.org/raspbian/images/.
It will be nice if they specify another column with the kernel version number of each image, without having to download each file, open, unzip and save all this story.

Thanks!
by ahmedawad
Fri Feb 17, 2017 7:26 am
Forum: Troubleshooting
Topic: [Solved] USB not working - Raspberry pi 2
Replies: 30
Views: 34460

Re: [Solved] USB not working - Raspberry pi 2

I took out U13 (BK5tE) chip and the Capacitor C97 completely out of my board and shorted pin 1 and pin 6 of the U13. The Pi became stable once again and the power red led stopped blinking. Thanks for @jbeale, his thread and discussion was helpful. I would suggest, first use an Avometer and while the...
by ahmedawad
Tue Jan 24, 2017 3:35 pm
Forum: Graphics, sound and multimedia
Topic: Connecting TFT LCD and buttons, but not enough GPIO
Replies: 3
Views: 1383

Re: Connecting TFT LCD and buttons, but not enough GPIO

you will need a port expander. Attach some thing like this using the I2C and you communicate with your ada fruit board and let the waveshare LCD run on the SPI
http://www.mouser.com/ds/2/100/CY8C95x0 ... -35848.pdf

regards
by ahmedawad
Thu Jan 19, 2017 9:53 am
Forum: General discussion
Topic: TeamViewer
Replies: 8
Views: 1894

Re: TeamViewer

you can open config.txt and uncomment the framebuffer then reboot

Code: Select all

framebuffer_width=1920
framebuffer_height=1080
you will get the whole screen of your Pi.
by ahmedawad
Thu Jan 19, 2017 8:22 am
Forum: General discussion
Topic: mcp2515 overlay support to SPI bus 1 on RPI 3
Replies: 0
Views: 1207

mcp2515 overlay support to SPI bus 1 on RPI 3

Hi every one, I tested the additional spi bus 1 on RPI3 after enabling the overlay in config.txt file dtoverlay=spi1-3cs the 3 chip selects spi1.0 / spi1.1 / spi1.2, all works fine with an mcp3008 ADC chip, so there is no problem at all with this bus and its corresponding chip selects. Now, I wanted...

Go to advanced search