Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C Settings with F8R, CVM8, Just Friends?
#7
(02-28-2025, 07:00 AM)kriskeyman Wrote: Okay, so finally getting some time to try this out. I made three Y-splitter Dupont cables and connected Multi-IO I2C-B to both F8R & CVM-8. I initially thought it didn't work, but forgot that both F8R & CVM-8 were still set to Leader mode. F8R & CVM-8 work in leader mode if only one is connected, otherwise I receive an error (expected).

So I'm trying to set both F8R & CVM-8 to follower mode.

For F8R, I have set "i2cSlaveAddress": "0x34" in json file, but I do not have the option to specify I2C controller #. It is fixed to transmit on #0-7.

For CVM-8, I have more options in the configurator... I can specify I2C controller #, I2C address for each input, and Address (as I2C follower) in Decimal.

In CVM-8 manual, it states when referring to each input:
  • The I2C section begins with 'Enable', to enable I2C messages from this input. 'Address' sets the I2C address of the follower device. 'Controller' sets the controller number (I have all inputs enabled, and controller # is set to use #16-23)
  • There is also a Settings section for CVM-8 which states the following in the manual: The first setting is the module's I2C address when operating as a follower. The default value for this is 50 (0x32). I have this currently set to 53 (0x35).

In NerdSeq under I2C Settings, I2C B Mode is set to 'NS->2x 16N 1-32'; I2C B In Address Hex: 34 Dec: 52.
Is this correct for the setup I'm trying to achieve?

Mappings does not seem to be registering live input for I2C SCCV #16 as source.

Or do I need a special firmware to get this working as stated in the manual? I'm not sure how to proceed. Any help is appreciated. Thanks!

It should be fine if one is set to 34 and another one to 35. Both should be set to controllers 0-7 because the nerdseq will translate these.
In general, the first 16 ports of 34 are polled first, then the first 16 ports of 35.
There is no extra firmware needed.

I would say, start first trying out if both are doing their work well on 34. (16n ->Nerdseq) If they do, then set the CVM8 to 35.

I never tested with FR8 or CVM8. But I expect for the FR8 to be very much the same as general 16N as they are all only clones of it with slight changes.
The CVM8 might be a bit different but the protocol stays the same. Also it is reported to work generally.

What I don't know is how they react on polling the ports 9-16. I would normally assume they return a zero value but I don't really know.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!  Smile
Reply


Messages In This Thread
RE: I2C Settings with F8R, CVM8, Just Friends? - by XORadmin - 02-28-2025, 03:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)