Hello,
I need to use a device that has a maximum i2c clock frequency of 100kHz, and I saw that the default SCL frequency of the redpitaya is 400kHz.
I tried changing the frequency using the information given in this topic :
https://forum.redpitaya.com/viewtopic.p ... rate#p6715
but i can't get it to work.
Has anyone a solution for this issue ?
Thanks,
Lucien
Change i2c clock frequency
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: Change i2c clock frequency
Hello Lucien,
It would be helpful to have more information about your setup and about the commands that do not work for you. I would say that the method I posted in the other thread should still work.
Best regards,
Pavel
It would be helpful to have more information about your setup and about the commands that do not work for you. I would say that the method I posted in the other thread should still work.
Best regards,
Pavel
-
- Posts: 11
- Joined: Thu Oct 28, 2021 1:35 pm
Re: Change i2c clock frequency
Hello,
Thank you for your quick answer.
I'm working on a STEMlab 125-14 with the latest stable image from the redpitaya website.
When I try converting devicetree.dtb to devicetree.dts using the command you gave, i get the following error :
I looked up the error and tried remounting the filesystem in read-write using but it still does not work.
I'm fairly new to Red Pitaya and Linux, so I guess I have done something wrong, but I can't see what.
Thank you for your help,
Lucien
Thank you for your quick answer.
I'm working on a STEMlab 125-14 with the latest stable image from the redpitaya website.
When I try converting devicetree.dtb to devicetree.dts using the command you gave, i get the following error :
Code: Select all
FATAL ERROR: Couldn't open output file devicetree.dts: Read-only file system
Code: Select all
mount -o remount,rw /
I'm fairly new to Red Pitaya and Linux, so I guess I have done something wrong, but I can't see what.
Thank you for your help,
Lucien
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: Change i2c clock frequency
Thank you for the details. If you try to run the commands directly on the Red Pitaya board, then the mount command is probably not correct. I think it would be easier to run these commands on a computer with Linux. Otherwise, I think the correct mount command is
Code: Select all
mount -o remount,rw /boot
-
- Posts: 11
- Joined: Thu Oct 28, 2021 1:35 pm
Re: Change i2c clock frequency
Hi,
Thank you for your answer, it worked !
Kind regards,
Lucien
Thank you for your answer, it worked !
Kind regards,
Lucien
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 6 guests