Component: I2C Multiplexer (TCA9548A) (Comms: Interface)

From Flowcode Help
Revision as of 09:31, 19 July 2024 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Comms: Interface


I2C Multiplexer (TCA9548A) component

Allows up to eight I2C busses to be multiplexed from a single I2C bus allowing for multiple devices with the same I2C address to be accessed. Up to 8 devices can be used together allowing for a total of 64 of the same devices to be accessed from a single I2C bus.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

ChangeAddress

Fc9-comp-macro.png ChangeAddress
Allows the component to communicate with multiple TCA9548A devices by switching the address. 
Fc9-u8-icon.png - BYTE Address
Range: 0-7 
Fc9-void-icon.png - VOID Return


DisableAll

Fc9-comp-macro.png DisableAll
Disables all 8 channels on the current TCA9548A device. 
Fc9-void-icon.png - VOID Return


DisableChannel

Fc9-comp-macro.png DisableChannel
Disables a specific channel on the current TCA9548A device. 
Fc9-u8-icon.png - BYTE Channel
 
Fc9-void-icon.png - VOID Return


EnableAll

Fc9-comp-macro.png EnableAll
Enables all 8 channels on the current TCA9548A device. 
Fc9-void-icon.png - VOID Return


EnableChannel

Fc9-comp-macro.png EnableChannel
Enables a specific channel on the current TCA9548A device. 
Fc9-u8-icon.png - BYTE Channel
Range: 0-7 
Fc9-void-icon.png - VOID Return


ExclusiveChannel

Fc9-comp-macro.png ExclusiveChannel
Enables the selected channel and disables all others on the current TCA9548A device. 
Fc9-u8-icon.png - BYTE Channel
Range: 0-7 
Fc9-void-icon.png - VOID Return


Initialise

Fc9-comp-macro.png Initialise
Starts up the I2C bus and closes all channels. 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-16-icon.png Channel
Channel selection 
Fc9-type-16-icon.png Device Address
 
Fc9-type-16-icon.png Baud Select
Baud rate option selector 
Fc9-type-14-icon.png Baud Rate
Baud rate to be used 
Fc9-type-5-icon.png SDA
Pin used for SDA (data signal) 
Fc9-type-16-icon.png SDA Remap Pin
 
Fc9-type-5-icon.png SCL
Pin used for SCL (clock signal) 
Fc9-type-16-icon.png SCL Remap Pin
 
Fc9-conn-icon.png Simulation
Fc9-type-7-icon.png Scope Traces
Selects if the scope traces are automatically generated or not 
Fc9-type-7-icon.png Console Data
Selects if the console data is automatically generated or not 
Fc9-type-16-icon.png API
 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_TCA9548A_I2C_Multiplexer.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_TCA9548A_I2C_Multiplexer.fcfx