#RPi CM4 Io board i2c issues

1 messages · Page 1 of 1 (latest)

karmic harbor
#

I should clarify:
I have a display via hdmi0, 2 USB devices, a pwm fan and the CAN HAT connected (but not connected to a CAN network)

karmic harbor
#

still need help

snow cypress
#

I'm confused; the MCP2515 is an SPI-controlled CAN device. What I2C device do you have connected

karmic harbor
#

I have this CAN HAT https://www.waveshare.com/w/upload/2/29/RS485-CAN-HAT-user-manuakl-en.pdf
Connected, just mentioned it for completeness.
Via the config file I should have two i2c devices connected (internally?):
PWM fan header
Realtime clock

Both of which don't show up at all.
(PWM should be on i2c-10 f 40
And there should be other internal devices on other adresses.

snow cypress
karmic harbor
#

sadly no - I only have the built-in devices from the CM4 IO board

snow cypress
#

I am unfamiliar with the CM4's configuration, and am only familiar with simple i2c use on an RPi.

#

You may then want to find someone who has used the HAT, in another forum (does waveshare have one), who would be more helpful with debuggging. Sorry not to be of more help.

karmic harbor
#

it also doesnt work without the HAT connected

#

that's the thing

snow cypress
#

have you asked in the raspberrypi forums?

karmic harbor
#

it also seems like I only have this issue on ubuntu server for rPi not ubuntu Desktop

snow cypress
#

ah, sorry, I thought you were using raspberry pi OS

#

this is a rather deep rathole: multiple ubuntu versions on rpi. You'd need to track down the package versions for server vs desktop, etc.

#

i misunderstood and thought you had tested it on ubuntu and then moved to rpi os

karmic harbor
#

currently my ubuntu desktop install seems borked

snow cypress
#

if the hat is supposed to work on rpi os, you might start with that and then move on to ubuntu. but sounds like you need to start fresh

karmic harbor
#

hmm okay thank you!

snow cypress
#

the number of people who are trying i2c on ubuntu on rpi is probably quite small

#

most people stick to rpi os

#

have you looked in syslog to see if there's anything suspicious?

karmic harbor
#

debian based is not an option except ubuntu for me

snow cypress
#

I don't know if there's a rpi-ubuntu-specific forum or discord. This is rather outside our bailiwck

karmic harbor
#

okay thanksd

karmic harbor