FreePlay Zero (640x480) with CM4
#2
I wonder if the larger Pi and the Pi Zero have something different going on with the i2c on that CSI port.  This would likely be a config.txt thing.  That's the main thing that's used on the CSI connector (i2c).

Maybe check out the RPi or Waveshare forums to see if anyone else is using the CM4 CSI connector to do i2c. 

If you look at https://github.com/TheFlav/Freeplay_joys...-additions (in the config.txt section), you'll see this part

Code:
#set up /dev/i2c-0
#dtparam=i2c0_baudrate=10000 #low speed mode
#dtparam=i2c0_baudrate=100000 #standard mode
#dtparam=i2c0_baudrate=400000 #fast mode
dtparam=i2c0_baudrate=1000000 #works with Freeplay i2c Joystick
#dtparam=i2c0_baudrate=3400000 #high speed mode (NOT RECOMMENDED)
[pi0]
dtoverlay=i2c0,pins_28_29
[pi0w]
dtoverlay=i2c0,pins_28_29
[pi02]
dtoverlay=i2c0,pins_44_45
[all]


That's what would likely need to change depending on the Pi you're using.  AND, notice that there is only pi0 stuff in there.  You'd need a section for the Pi you're trying to use.

Also see https://www.waveshare.com/w/upload/6/68/...SchDoc.pdf (schematics for the Waveshare board showing CSI connections)
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Messages In This Thread
FreePlay Zero (640x480) with CM4 - by Dani - 03-30-2023, 10:33 PM
RE: FreePlay Zero (640x480) with CM4 - by Flavor - 04-04-2023, 05:03 AM
RE: FreePlay Zero (640x480) with CM4 - by Dani - 04-15-2023, 03:40 AM
RE: FreePlay Zero (640x480) with CM4 - by Flavor - 04-15-2023, 06:52 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)