BASIL_NETWORKS


Banner_Txt_I2C_Protocol

 

HomeABOUTPRODUCTSSERVICESSUPPORTCONTACTARTICLESBLOG
SystemsPeripheralsInstrumentsResearchNetworksSoftwareProgrammersOEM
IBPD-I2C CtrlrIBPD-I2C SlaveIBPD-SPI CtrlrIBPD-SPI-SlaveMore Protocols
 
I2C Main MenuI2C ProgrammersI2C Device DatabaseI2C Device DebugI2C GPIO DebugI2C Hex Block DebugI2C Program DeviceI2C Cmd File ConfigureI2C  Directories

I2C_Protocol_Database

The Database Dialog allows the user to catalog and organize devices by the interface protocol.  Since each BUS protocol has its own set of rules there exists a database for each protocol.  Devices are then categorized by protocol.  Many devices are offered in multiple protocols, like EEPROMS for instance, they are offered in I콯, SPI etc. and becomes a management issue when designing into a product.  All Database dialogs use the same format with varying forms of functionality depending on the protocol.

The Database Dialog is grouped into separate sections: Database Maintenance, Device Maintenance, Default User Text File Maintenance for clarity and ease of editing.

Device_Database_Dialog

 

MAIN_Menu

1Device Database - Add / Edit / Update

The Main Menu is separated into three groups, organized by function of the database.

Database Maintenance - This section of the database covers device information and incorporates the following edit fields, section [7].

      Manufacturer Part Number - The full manufacturers part number.
      Revision - The revision of the part
      Model Number - The manufacturers model number or series if available
      Device Description - A brief description of the part, etc Clock chip, Memory chip etc.
      Datasheet files location - The device datasheet filename and location.
      Command List Filename - This is a where used list and datafiles used to program the device.

Device Maintenance - This section of the database covers the device programming requirements and the associated fields and checkboxes in section [9].

      Update Current Device  - The update button only updated this section of the database the Update Device DB button in the Database Maintenance will update and save the updated database.
      Copy to New Device PN - This allows the user to create a part number from a copy of the current displayed device part number.

Default Text Maintenance - This is for the users information about the device. It is a starting point for editing device characteristics highlights. Section [4].

      Edit Default User Info - This will invoke the RTF Editor dialog with the Text in "Selected Device User Information" field [11] for editing.

      Edit Cmd & Ctrl Desc - This will invoke the RTF Editor dialog with the Text in "Command & Control Byte Descriptions" field [12] for editing.

Top

2Database Maintenance

Database maintenance for the IBPD-SYS is fast and easy.  There is no limit of database file for the IBPD-SYS.  Each database is limited to 128 devices for easy maintenance and organization.  The database maintenance incorporates several functions that allow device Identification and general information editing as follows.

Update Device D - Update the database will process the editing session for the selected parts and allow the user to select a file to save the updated database in or use the current file listed in the Active Database Field.

Copy Device DB - This will copy the current database to a user selected file and location.

Create New Device DB - This will create a User specified empty database file with a default record for editing.

Set Current DB Default - This will set the Active Database as a default when the user opens the Device database dialog.

Save Device DB - This function is for saving the database in its present form edited but not updated.  This function is for those databases that are being created and requires editing over a period of time.  The database may be recalled exactly as it was prior to saving the database.

Load Device Database - This allows the user to select and load a device database from anywhere the system has access. It will always start in the default directory setup by the user.

Select Device Drop men - This allows the user to edit a specific device in the database.

Delete Current Device - This allows the user to delete the current selected device.  the device is only marked for deletion and may be un-marked.  The deletion happens when the user presses the Update Device DB button.  When the device is selected for deletion the CheckBox checkbox next to the Delete Current Device is checked.

Open the Datasheet File - This will open the file shown in the Data Sheet File field.

Open Command List File - This will open the Command List File shown in the Command List Field.

 

3Device Maintenance

This section applies to the BUS protocol of the selected device.  Only that part of the database will be updated when using the Device  Maintenance section of the Main Menu.

Update Current Device - This will update the three areas; Cmd/CtrlAssignments, Command / Control Byte, BUS COMMANDS.  This section allows the user to setup the BUS protocol requirements for a Click and Play sequence.  All byte data is hex unless otherwise specified, all timing data is decimal as specified.

Copy to New Device PN - This function will allow the user to copy the current device parameters to a new part number.

4Default Text Maintenance

This area is for organizing multiple default text files for Command/Control Bytes Identification and Device characteristics to reduce retyping similar information.

Edit Default User Info - This will invoke the RTF Editor dialog with the Text in "Selected Device User Information" field [11] for editing.

Edit Cmd & Ctrl Desc - This will invoke the RTF Editor dialog with the Text in "Command & Control Byte Descriptions" field [12] for editing.

Top


Active_Database

5Current I콯 Database Active

This section identifies the active Device Database loaded into the active Database Buffer.  It is also the starting point for copying the database to another user defined file.  Databases must end in *.dbx extension.

 


Active_PartNumber

6Selected Active Part Number

This is the selected active device part number.  All information in the dialog pertain to this part.  The user may selected this part for deletion and the ChkBox next to the Delete Current Device button will be active.  The part is not deleted until the user clicks the Update Device DB button in the Database Maintenance section (2) .

 


Add_Edit

7Add/Edit Devices Database Information

This is the top section of the device database. Editing of this section is not active until you click the Update Device DB in the Database Maintenance menu.

    Manufacturer Part Number - The full manufacturers part number or the Company device part number or both.
    Revision - The revision of the part or the companies revision tracking numbers.
    Model Number - The manufacturers model number or series if available or the Companies model numbers for the device.
    Device Description - A brief description of the part, etc Clock chip, Memory chip etc.
    Datasheet files location - The device datasheet filename and location.
    Command List Filename - This is a where used list and datafiles used to program the device.  This is used in the list of user Command Files associated wit this part.  The list is used in the Make/Edit Command File  I콯 CLADS dialog.

 


BUS_Commands

8I콯 BUS Commands

These are BUS associated commands for the I콯 protocol.  Each protocol has a set of BUS commands associated with it.

    Start Command - Executes an I콯 Start command on the BUS then waits for the data or next command.

    Stop Command - Executes an I콯 Stop command on the BUS releasing the devices and goes into an IDLE state.

    (X)FAST Xfer Bits - This function will send the bits at a faster clock rate and allows the user to set the initial Start/Stop times for very fast transfers.  It is only implemented in the IBPD-USB-1xx isolated interfaces.

    (X)Fast Xfer Bytes - This function will send the bytes at a faster clock rate and allows the user to set the initial Start/Stop times for very fast transfers.  It is only implemented in the IBPD-USB-1xx isolated interfaces.

    (X)Rx Break On Ack - This flag will break the receive bytes process if the ACK at the end of the byte is active.

    (X)Tx Break On Ack - This flag will terminate the sending of bytes if the received ACK bit is active.

 

    (X)Sync/Trig 0 Start - This flag will set the Sync/Trig line at the initial Start of the Frame.

    (X)Sync/Trig 0 Stop - This flag will set the Sync/Trig line at the Stop Command of the Frame.

    (X)Pulse - This flag will set the state of the Sync/Trig line to either a pulse if set or a steady state if cleared.

Top


Command_Control_Bytes

Command / Control Bytes

The Command & Control Bytes section consists of three groups, the Timing and buffer size group, the Control bytes group and the Cmd/Ctrl Assignments group.  The bytes group include 4 bytes for write only setup of the device and the extended bytes which are read/write bytes for the selected device or system.  Each of the 4 byte groups have a separate start/stop and sync/Trig functions assigned to it for troubleshooting and data synchronization.  The Cmd/Ctrl Assignments allow the user to create user commands that are specific to the device and the system it is attached to.  Each byte or data field has an associated CkBx Checkbox with it, when checked the field is active and part of the data sequence to be transferred to the device. When cleared the field will be ignored.  The entire group of these bytes and control flags are assigned to the created user Cmd/Ctrl Assignment placed in the listbox.

Write Cycle Microseconds - This is the actual device write time requirements In microseconds.  The standard IBPD-SYS using COTS devices is limited to 1 millisecond resolution.  The IBPD-USB-100 Multi-Protocol Isolated Interface ( MPI ) Series hardware will allow hardware timing control with 1 microsecond resolution.

Memory Buffer Write - This is the size of the devices write buffer for stream writing.  This varies from device to device.

Memory Size Bytes - This is the physical size of the devices memory in bytes.

BUS Width - This is the physical external BUS width - for the I콯, the specification is 8 bits.  For non-standard protocol development the user has a programmable BUS width of 1 to 512 bits.

Group Delay Times - These are delay times in milliseconds for each group.  The BUS Commands start and the first delay starts after the device address and the first group of 4 bytes have been sent.  The second delay starts after the second set of 4 bytes have been sent.  If a data file is associated with this from the Command File then the data file will be send after the second delay is completed.  This is to accommodate several devices that require time to setup.

    Delay [1-4] - This is the delay between groups.  Hence:  Start -> AddressControl -> Bytes[1-4] Delay[1-4] sequence.

    Delay [5-8] - This is the delay after the second group of bytes.  Hence:  Start -> AddressControl -> Bytes[1-4] Delay[1-4] -> Bytes[5-8] -> Delay[5-8] sequence.

 

Slave Address - This is the 7 bit assigned Slave Address of the device. The Read/Write bit of this address is masked out and is handled within the selected dialog and Cmd/Ctrl Assignments.

Standard Cmd/Ctrl Bytes - The standard Command Control bytes are used as device write only bytes for initial device and system setup.  The ChkBoxcheckbox under each field allows the user to use the selected field byte or bypass it ion the sequence of the data transfer.  This give total flexibility and control to the user to setup the device.

    Device Write Only - These bytes are write only to the device for system and device initialization.  If the bytes are disabled then this section is bypassed completely.

    Start - This is a start sequence for the I콯 BUS.  It sends a Start sequence to the I콯 bus then sits in a Wait for next byte or command.

    Stop - This is an I콯 Stop sequence to end data transfer and release the device.

    Sync/Trig - This is a Synch or Trigger flag to set a pulse or start frame with the Start sequence.  This is a separate bit assigned to the Programmer device selected. Refer to the introduction to the I2C BUS Timing on the main page.  There is a Sync/Trig flag at the beginning of Bytes[1-4] and at the end of Bytes[5-8].  The Pulse flag is for both groups.

    Pulse - This is the Frame or Pulse select flag.  When set it will give a pulse when each Start/Stop command is issued. The Pulse width is the start sequence time specified in the I콯 Specification of 500ns.

 

Standard Cmd/Ctrl Bytee  - The extended command and control bytes are read/write bytes.  The seven bit control address will be used for these bytes and the read / write bite will be assigned within the dialog and function selected.

    Start - This is a start sequence for the I콯 BUS.  It sends a Start sequence to the I콯 bus then sits in a Wait for next byte or command.

    Stop - This is an I콯 Stop sequence to end data transfer and release the device.

    Sync/Trig - This is a Synch or Trigger flag to set a pulse or start frame with the Start sequence.  This is a separate bit assigned to the Programmer device selected. Refer to the introduction to the I2C BUS Timing on the main page.  There is a Sync/Trig flag at the beginning of Bytes[1-4] and at the end of Bytes[5-8].  The Pulse flag is for both groups.

 

Add/Edit Cmd-Control - This allows the user to add /edit user command & Control assignments.  When a selection in the Cmd/Ctrl Assignment listbox is selected the command is displayed in the New Cmd/Ctrl Assignment field.  The user may change this and then add this new command to the list. The command and all the assigned bytes and BUS commands will be associated with this command.

Update Cmd-Control - This function will replace the current selected Cmd/Ctrl Assignment with the changes made in the dialog.

Delete Selected Control - This function will flag the selected Cmd/Ctrl Assignment in the listbox for deletion.  The user should update the Device by clicking the Update Current Device button in order to save the editing in the editing buffer.  The securing of the database will take place and items marked for deletion will take place when the user Updates the database by clicking the Update Device DB button in the Database Maintenance Menu.

Top


Command_Control_Assignments

10Cmd / Ctrl Assignment

This listbox contains the user created commands for the selected device.  The user has up to 16 different setup command sequences for the device setup.  Each command allows the user to incorporate all the commands bytes available in the dialog.  Each command is a separate entity in itself and are transferred to the remaining I콯 Dialogs.

 


Device_User_Information

11Selected Device User Information

This is a information field only.  It was incorporated to allow the user to review highlight information of the device and application.

 


Command_Control_Description

12Command / Control Byte Description

This field is specifically incorporated in the database for the user to explain the command & control assignments created for the device.


Status_Help

13Help - This Dialog.

14Status - The standard status of the last function executed in the dialog.

 

Top
 
Copyright 1990-2017 BASIL Networks, PLLC. All rights reserved
webmaster