Go to advanced search

by sandy56
Fri Jan 26, 2018 4:22 pm
Forum: Device Tree
Topic: setting mac address through device tree
Replies: 1
Views: 1606

setting mac address through device tree

I am trying to set the ethernet mac address through the device tree. I tried adding local-mac-address = [01 02 03 04 05 06]; to the [email protected] node in the .dts file and compiled it. But on rebooting I find that the mac-address is still in its default address. Does anyone know how to set the mac-addr...
by sandy56
Fri Jan 12, 2018 2:23 pm
Forum: Python
Topic: pigpio syntax for using the hc command
Replies: 6
Views: 953

Re: pigpio syntax for using the hc command

Thanks! The clock has come up now.
by sandy56
Thu Jan 11, 2018 10:28 am
Forum: Python
Topic: pigpio syntax for using the hc command
Replies: 6
Views: 953

Re: pigpio syntax for using the hc command

I used the pigpio library to generate clock signals. On the raspberry pi on pin 6 I was able to generate the clock signal. When I used the same command on compute module gpio 43, I get an error "-41 ERROR: no permission to update GPIO". Please help me find a solution.
by sandy56
Thu Jan 04, 2018 12:30 am
Forum: Python
Topic: pigpio syntax for using the hc command
Replies: 6
Views: 953

Re: pigpio syntax for using the hc command

Thanks! I certainly do not want to crash my pi. I am looking to generate 16MHz clock from one of my GPIO pins. Can you please guide me what would be the best way to do it?
by sandy56
Tue Jan 02, 2018 4:40 pm
Forum: Python
Topic: pigpio syntax for using the hc command
Replies: 6
Views: 953

pigpio syntax for using the hc command

I am trying to set the hardware clock frequency using the hc command (http://abyz.me.uk/rpi/pigpio/pigs.html#HC) It says "Access to clock 1 is protected by a password as its use will likely crash the Pi. The password is given by or'ing 0x5A000000 with the GPIO number." Can I know what is the correct...

Go to advanced search