Home
        CAN/I2C Activity Board Pro User Manual v1.00
         Contents
1.  Part   National Semiconductor DACO081C085  Datasheet   http   www  national com profile snip cgi openDS DAC081C085    This component is a single channel 8 bit digital to analog converter  It can drive its  output between OV and VDD  with a precision of approximately 12 9 mV  It can  communicate directly over 1  C  or over CAN through the bridge  Please see the  DAC081C085 datasheet for more information     On startup  the DAC s output is set to high impedance  Once a value is set it will be  configured to normal operation  and output the desired voltage     3 1 1 CAN Operation    Get Sensor Data  Not applicable  This device will not respond to Get Sensor Data requests   Set Sensor Data    To set the DAC value  a single byte needs to be transmitted with the requested DAC  setting  See Table 10     Table 10   CAN Set DAC Data Payload    Byte  Data  Notes    0   DAC Setting   0x00   OxFF representing 0 to 3 3 V    Example  Setting the DAC to approximately 1 65 V  See Table 11     Table 11   CAN Set DAC Data Example    Transmiter  CAN 10   ATR  DLC  Data    3 1 2 I C Operation    Please consult the DAC081C085 datasheet for details on 1  C operation     14    Y    TOTAL PHASE CAN I2C Activity Board Pro User Manual       3 2 Motion Sensor  0x1D     Moticn    ava  Ot po       Figure 4   Motion Sensor  Part   STMicroelectronics LIS33DE  Datasheet   www st com stonline products literature ds 15596 lis33de pdf    This component is a 3 axis linear accelerometer  It can communicate dire
2.  Speed    The CAN I C Activity Board Prowill run at 125 kbps by default  If a different bitrate is  desired  set the board to auto baud on the CAN bus through the appropriate selection  pin  see Section 2 4      1 2 2 Known CAN Limitations    CAN Buffer Saturation    The CAN bridge includes multiple receive buffers for CAN packets  If the CAN receive  buffer overflows  then packets will be acknowledged by the node  but not processed     The CAN bridge also includes a small number of transmit buffers for which outgoing  packets can be queued  A packet will not leave this queue until it has been successfully  transmitted  If the queue is full when the bridge attempts to write another CAN packet to  the bus  it will block until there is room in the queue     In order to avoid either buffer saturating  no more than approximately 10 packets per  100 ms should be sent on the CAN bus     1 3 IC Signaling Characteristics  1 3 1 Speed  The IC on the CAN I C Activity Board Pro operates at 100 kHz     1 3 2 Pull up Resistors    The CAN I  C Activity Board Pro includes a 4 7 k pull up resistor to VDD on the SCL and  SDA lines     1 3 3 Known    C Limitations    The CAN I C Activity Board Pro is not designed to work with multi master situations  If  the board is intended to be used with other 1  C masters then the I C master functionality    SY    TOTAL PHASE CAN I2C Activity Board Pro User Manual       of the CAN bridge should be inhibited  See Section 2 4 for more information on how to 
3.  To change the mode  simply place  jumpers on the appropriate selection  and hit the reset button     Table 5   Selection Header J303 Pinout    SELO   Sets the CAN bridge to Autobaud on start up   SEL1   Sets the CAN bridge to broadcast all sensor data every 100 ms        SY     TOTAL PHASE CAN I2C Activity Board Pro User Manual       Disables interrupt handling of devices on the CAN bridge     Notes   e If SELO is selected  the CAN bridge will not process any packets on CAN or I C until a  baudrate has been selected  This can take several seconds     e SEL1 should never be selected if the CAN I C Activity Board Pro is being used in 1  C  mode  as it can cause multi master arbitration errors     e SEL2 should be selected whenever the CAN I  C Activity Board Pro is being used in     C mode  This will prevent multi master arbitration errors when interrupts occur     2 5 Program Header  J304     This header must be jumped to program the AT90CAN32 microcontroller     2 6 Aardvark Connector  J401     This connector is provided to interface with the Aardvark   C SPI Host Adapter  It is  necessary to provide target power  4 5 V to 5 0 V  to the CAN I C Activity Board Pro  through VDD on this connector  or through V  on the Komodo connector     This connector s pinout is listed in Table 6     Table 6   Aardvark Connector J401 Pinout       10    Y    TOTAL PHASE CAN I2C Activity Board Pro User Manual           SPI signals are for internal use only     2 7 ADC Header  J402     This hea
4.  access  as described in Section 2 1   If interrupts are not disabled  changes to the inputs will cause the bridge to broadcast the  data on the CAN bus     3 4 1 CAN Operation    Get Sensor Data    19    SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       The port expander will respond with 1 byte of data describing the current value of each  input pin  See Table 16     Getting the Sensor data is equivalent to reading from the Input Register  as described in  the device datasheet     Table 16   CAN Get GPIO Data Payload     Bvie  Date  Woes   pat Value  Bt mask af each input in    Example  Polling the GPIO port expander  See Table 17     Table 17   CAN Get GPIO Data Example    Transmitter DLC   Data      Komodo 0x039   True N A  Activity Board   0x039 OxAA    Set Sensor Data       The outputs of the port expander can be set by sending 1 byte of data describing the  desired value of each output  See Table 18     Setting the Sensor Data is equivalent to writing to the Output Register  as described in  the device datasheet     Note that the port expander powers up as all inputs  In order to have outputs configured  the Extended Opcodes will have to be used     Table 18   CAN Set GPIO Data Payload    Byte  Data  Notes O  o  Output Value   Bit mask of desired output on each pin    Example  Setting every other output high on the GPIO port expander  See Table 19     Table 19   CAN Set GPIO Data Example    20      TOTAL PHASE CAN I2C Activity Board Pro User Manual       A
5.  do this     1 4 Communication Protocol    It is important to understand the basics of how the CAN I C Activity Board Pro operates  and how the target devices communicate over both CAN and I C  None of the targets  are CAN compatible themselves  but the CAN I C Activity Board Pro features a  microcontroller which serves as a bridge between the CAN bus and the target interfaces   This bridge allows all of the targets to operate as CAN nodes on the CAN bus  Many of  the targets are I C devices  so they can interface directly with the Aardvark I C SPI Host  Adapter  The microcontroller also implements an 1  C slave  0x42   which allows the LCD  display and ADC to communicate over I C     1 4 1 CAN    The CAN bridge simulates a number of CAN nodes by bridging each I C device on the  CAN I C Activity Board Pro to the CAN bus  Each node ID is equivalent to the 1  C ID  which is displayed on the silkscreen of the PCB     The CAN I C Activity Board Pro follows a protocol that is similar to CANOpen  Each 11   bit ID field of the CAN packet is split into a 7 bit node address and a 4 bit opcode  Two  opcodes are defined in Table 2 which can be used for standard communication with the  CAN bridge     Table 2   Standard CAN OpCodes    0000 Request device data  0010   0   Set device data    As an example  if we were to set the programmable LEDs on the board  then we would  send the following information on the bus        CAN ID    OpCode   Node ID     0010   0111010    0x13A  RTR False    
6.  document is subject to change without notice and should not be  construed as a commitment by Total Phase  While the information contained herein is  believed to be accurate  Total Phase assumes no responsibility for any errors and or  omissions that may appear in this document     5 2 Life Support Equipment Policy    Total Phase products are not authorized for use in life support devices or systems  Life  support devices or systems include  but are not limited to  surgical implants  medical  systems  and other safety critical systems in which failure of a Total Phase product could  cause personal injury or loss of life  Should a Total Phase product be used in such an  unauthorized manner  Buyer agrees to indemnify and hold harmless Total Phase  its  officers  employees  affiliates  and distributors from any and all claims arising from such  use  even if such claim alleges that Total Phase was negligent in the design or  manufacture of its product     5 3 Contact Information    Total Phase can be found on the Internet at http   www totalphase com   If you have  support related questions  please email the product engineers at  support totalphase com  For sales inquiries  please contact sales totalphase com     31    SY    TOTAL PHASE CANII2C Activity Board Pro User Manual         2011 2011 Total Phase  Inc   All rights reserved     32    
7.  w  No Stop  1110   o   I2C Write w  No Stop    By following the specific   C communication protocol for a specific sensor  the extended  CAN opcodes can be used to access any feature of the I C device        As an example  if we were to configure the GPIO port expander to have 4 nputs and  4 outputs  we would need to send the following command     CAN ID    OpCode   Node ID     1010   0111010    0x539    Data   0x03  OxOF       Once configured this way  the GPIO input pins could be polled or outputs set through the  standard opcode method described previously     If instead we were to read out the current configuration of the GPIO node  we would  actually need to send two I C commands  The first sets up the register we wish to read  with a No Stop condition  and the second reads the data out     SY    TOTAL PHASE CAN I2C Activity Board Pro User Manual       CAN ID    OpCode   Node ID     1110   0111010    0x739    CAN ID    OpCode   Node ID     1000   0111010    0x439       Please note that once a No Stop condition is issued to the CAN bridge  it will ignore all  standard requests until a Stop condition has been issued  Additionally  if an 1  C  command is lost due to arbitration issues  it will not be retransmitted on the I C bus     1 4 2 IC    The CAN I C Activity Board Pro uses I C to communicate with each of the nodes on the  bus  For specifics on how to communicate with a specific node  please refer to Section 3     1 5 CAN Bridge Interrupts    The CAN bridge is tied t
8.  when using an Extended Opcode     Get Sensor Data    The CAN Bridge will respond with 3 bytes of ADC information when the Get Sensor Data  request is made  See Table 22     The Get Sensor Data will only get data from the ADC  It will not return any LCD  information     Table 22   CAN Get ADC Data Payload     AD Ch   busines    ADC Ch0   8 bit unsigned    Po      Example  Polling the ADC  See Table 23        Table 23   CAN Get ADC Data Example    Transmitter   CAN ID DLC  Data  Komodo 0x042   True    Activity Board   0x042 OxAA  OxBB  OxCC    Set Sensor Data       The Set Sensor Data is used to set the LCD text on the screen  See Table 24     The Set Sensor Data will only set data on the LCD  It will not set any ADC information     24    SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       The LCD screen is broken up into four segments of 4 characters  Each data segment is  written to individually  If not all 4 characters of a segment are included in the CAN  payload  then the remainder are filled with spaces     Table 24   CAN Set LCD Data Payload     Bye Daa  noes    Character 0 ASCIl encoded    Character 1 ASCIl encoded  Character 2 ASCIl encoded  Character 3 ASCIl encoded    Example  Writing Hello World  to the LCD screen  See Table 25        Table 25   CAN Set LCD Data Example    0x142 0x00  0x48  0x65  Ox6c  0x6c    0x142 0x01  Ox6f  0x20  0x57  Ox6f  0x142 0x02  0x72  Ox6c  0x64  0x21    3 6 2 I C Operation       Because both the ADC and LCD share a device ad
9. CAN IC Activity Board Pro ry      Total Phase CAN I2C Activity Board Pro    Supported products     FC SPI        E TOTAL PHASE  woe beta hene som       Summary    The CAN I C Activity Board Pro is a great tool to help with embedded  systems development  This activity board provides working target  devices to aid developers in the debugging of their systems and  interface software  Target devices featured on this activity board can  operate as CAN nodes or I  C slaves  This board is compatible with  the Komodo CAN Duo interrface and the Aardvark I C SPI Host  Adapter     User Manual v1 00  July 15  2011    Y    TOTAL PHASE CANII2C Activity Board Pro User Manual       1 Hardware Specifications    1 1 Signaling Level Voltage Ratings    Table 1   Electrical Characteristics Requirements     Parameter   dn Moe Jumi  OOOO ooo o i es  CAN    Single ended Output  Dominant   em fos  15   v    3    Differential Output  Dominant   Differential Output  Recessive     Supply Input   I C Inputs  Low    12C Inputs  High    2C Outputs  Low    GPIO Port Expander   GPIO Inputs  Low    eric oupas tom        o  v   Po Oupuis ion Je id     ADC    mens    Jo  w   eona of w    C  Sma  Fe reus ton   RC reas            Notes     e The CAN I  C Activity Board Pro will not supply target power on the Komodo or  Aardvark header     SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       e The CAN bus is not electrically isolated from the rest of the board   1 2 CAN Signaling Characteristics    1 2 1
10. DLC    0x80       On the other hand  if we were to poll the Joystick for its current position  we would send  the following information on the bus     CAN ID    OpCode   Node ID     0000   0111010    0x03A  RTR True    SY     TOTAL PHASE CAN I2C Activity Board Pro User Manual       oma a S S   S  The response from the CAN bridge will then be a non RTR packet with the same  CAN ID  and will have the appropriate data payload     Using these Standard Opcodes provides a convenient method for getting and setting  device data  however it does not necessarily provide a means to access the full  functionality of each node  For example  this protocol does not define a method for  configuring specific pins of the GPIO port to be inputs or outputs     In order to complete more advanced tasks on a node  it is important to remember that  each node on the CAN I  C Activity Board Pro is in reality an I C device  and that the  CAN bridge functions as an I C master on this bus  The opcodes provided earlier simply  abstracted one or more I  C calls to the I C slave in order to get or set the device data   The following opcodes provide a mechanism for controlling the 1  C master explicitly  In  each case the opcode determines the type of   C command being sent  the node ID  would represent the I  C slave to be addressed  and the data payload would be the actual  data transmitted on the bus     Table 3   Extended CAN OpCodes    1000   C Read w  Stop    1010   oO   I2C Write w  Stop  1100 IC Read
11. IO Port Expander   Section 3 4   except that the node ID is 0x3A instead of 0x39     3 5 2 I C Operation    Please consult the PCA9554AD datasheet for details on I  C operation  Do not attempt to  configure pins  O0 IO4 as outputs  this can damage the CAN I C Activity Board Pro     22      TOTAL PHASE CAN I2C Activity Board Pro User Manual       3 6 ADC LCD  0x42        Figure 8   ADC and LCD  Part   Internal to CAN Bridge  Datasheet   N A    Unlike all the other devices on the board  the ADC and LCD are not external I C devices   Instead  they are implemented on the MCU  and can be accessed over lC or CAN at the  node address of 0x42     The CAN Bridge MCU has a built in ADC which is exposed on the PCB  The CAN I C  Activity Board Pro allows the user to read 3 of these analog inputs with an 8 bit  resolution  Inputs may range from 0 V to a maximum of 3 3 V     To determine the analog input value from the received ADC data  use the following  equation     23    SY    TOTAL PHASE CAN I2C Activity Board Pro User Manual          The LCD is a 2x8 character display that is connected to the CAN bridge over a parallel  bus  The characters on the display are ASCIl encoded     3 6 1 CAN Operation    Because the ADC and LCD slaves are internal to the CAN bridge  CAN communication  will not actually cause any I C traffic to be transmitted on the bus  Whereas requests to  other nodes would cause an appropriate 1  C write read  these nodes are simply handled  internally  This is true even
12. TR  LC  Data      3 4 2 I C Operation    Please consult the PCA9554AD datasheet for details on 1  C operation     3 5 Joystick LEDs  0x3A     Joystick    AUD  OZI    war       Figure 7   Joystick  LEDs  and Port Expander  2  Parts   NXP Semiconductors PCA9554AD  Datasheet     http   ics nxp com products pca datasheet pca9554 pca9554a  pdf    21    SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       The joystick and LEDs are connected to an NXP PCA9554AD port expander  The  microcontroller communicates with the joystick and LEDs through this port expander   The joystick and LED connections to the port expander pinout are listed in Table 20     This two axis joystick is a very simple device  It has five output pins  up  down  left  right   and select  which are asserted high when the joystick is moved to that position  These  outputs are then connected to an NXP I O port expander which can communicate the  status over CAN and I C     There are three active high LEDs controlled by the port expander  D201  D202  and  D303  The color of these LEDs are specified in Table 20     On startup the port expander is configured to have all joystick connections as inputs  and  all LED connections as outputs     Table 20   Connections to Joystick  LED  and Port Expander  2 Pinout     Pont Expander Pin   Direction  Connection _   F100   n   _doysiek UP _     os   opu Green LED 0202         3 5 1 CAN Operation    The operation of the Joystick and LEDs is equivalent to that of the GP
13. ctly over 12C or  over CAN through the bridge  See the PCB silkscreen for the orientation of X  Y  and Z   Please see the devices datasheet to correlate the digital reading with the physical value     3 2 1 CAN Operation    Get Sensor Data    The motion sensor will respond with 3 bytes of accelerometer data when a Get Sensor  Data request is made  See Table 12     15    Y    TOTAL PHASE CANII2C Activity Board Pro User Manual       Getting Sensor Data is equivalent to doing a multi byte read from the OUT_X register  as  described in the device datasheet     Table 12   CAN Get Motion Data Payload    Bye  Data    2 s complement value    Y acceleration   2 s complement value  Z acceleration   2 s complement value    Example  Polling the Motion sensor  See Table 13        Table 13   CAN Get Motion Data Example    Transmitter   CAN ID   RTR DLC   Data         OxAA  OxBB  0xCC    Activity Board   0x01D    Set Sensor Data    Not applicable  This device will not respond to Set Sensor Data requests   3 2 2 I C Operation    Please consult the LIS33DE datasheet for details on 1  C operation     16    Y    TOTAL PHASE CAN I2C Activity Board Pro User Manual       3 3 Light Sensor  0x29        Figure 5   Light Sensor  Part   Avago Technologies ADPS 9300  Datasheet   http  www avagotech com docs AV02 1077EN    This light sensor converts light intensity  irradiance  into a 16 bit digital signal  It can  communicate directly over 1  C  or over CAN through the bridge  Please see the devices  da
14. der includes power  ground  and three analog input pins to the ADC  This  connector s pinout is listed in Table 7     See Section 3 6 for more details about the ADC     Table 7   ADC Header J402 Pinout     Pin    Signal   Function    ADCO   Input to ADC    Ts  eno   croa    2 8 DAC Header  J403        This header includes power  ground  and the DAC s analog output  This connector s  pinout is listed in Table 8     See Section 3 1 for more details about the DAC     Table 8   DAC Header J403 Pinout     Ping   Signal   Funeton         2 9 Reset Button  SW301     This button resets the CAN I C Activity Board Pro microcontroller and restores the  default configuration of all the peripherals     11    SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       2 10 Power LED  D304     This green LED illuminates when the CAN I C Activity Board Pro is powered     2 11 Activity LED  D305     This amber LED blinks whenever the CAN I  C Activity Board Pro is processing a CAN or  I C packet     12    EY    TOTAL PHASE CAN I2C Activity Board Pro User Manual       3 Targets    Table 9 summarizes all the target devices and their CAN IDs I C addresses  Each node  can be accessed by I C or CAN  In situations where the Extended CAN Opcodes are  used  see Table 3    follow the notes on I C operation for that device     Table 9   Summary of CAN I  C Activity Board Pro Target Devices    3 1 DAC  0x09           13    SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       Figure 3   DAC 
15. do CAN Interfaces  and the Aardvark  2C SPI  Host Adapter can be found on the Total Phase website  http     www totalphase com     30    SY    TOTAL PHASE CAN I2C Activity Board Pro User Manual       5 Legal   Contact    5 1 Disclaimer    All of the software and documentation provided in this datasheet  is copyright Total  Phase  Inc    Total Phase    License is granted to the user to freely use and distribute  the software and documentation in complete and unaltered form  provided that the  purpose is to use or evaluate Total Phase products  Distribution rights do not include  public posting or mirroring on Internet websites  Only a link to the Total Phase download  area can be provided on such public websites     Total Phase shall in no event be liable to any party for direct  indirect  special  general   incidental  or consequential damages arising from the use of its site  the software or  documentation downloaded from its site  or any derivative works thereof  even if Total  Phase or distributors have been advised of the possibility of such damage  The software   its documentation  and any derivative works is provided on an  as is  basis  and thus  comes with absolutely no warranty  either expressed or implied  This disclaimer includes   but is not limited to  implied warranties of merchantability  fitness for any particular  purpose  and non infringement  Total Phase and distributors have no obligation to  provide maintenance  support  or updates     Information in this
16. dress of 0x42  they are individually  referenced by a register address  The ADC is at register address 0x01  and the LCD is  at register address 0x02     Setting the ADC Value  This is not applicable  Attempting to set the ADC value will do nothing   Getting the ADC Value    Getting the ADC Value is a two step process  It requires setting up the proper register  address  and then reading back the 3 ADC values  Reading more than 3 bytes will return  OxFF for any additional bytes     The ADC will respond with 3 bytes of data  See Table 26     Table 26     C Get ADC Data Payload    25    Y    TOTAL PHASE CAN I2C Activity Board Pro User Manual       Bye  Daa  Nos     a0 cro      0   ADC Ch0   8 bit unsigned  ADC Ch1   8 bit unsigned  ADC Ch2   8 bit unsigned    Example  Polling ADC sensor  See Table 27        Table 27   I C Get ADC Data Example     Direction  Stop  Device  oaa    Setting the LCD Display       The LCD screen is broken up into four segments of 4 characters  Each data segment  can be written to individually     The LCD segment will also auto increment and wrap when operated in 1  C mode   Therefore if segment 0x00 is selected  and 8 bytes are written  then the entire first line  will be configured  No more than 16 character bytes can be written to in a single 1  C  operation     See Table 28 for a description of the data payload     Table 28     C Set LCD Data Payload    Bye  Data  nos    o0  Register Address   0x02 for LCD    Character 0 ASCIl encoded    Example  W
17. o the interrupt pins of the two port expander targets  See Section  3    Thus when one of these pins asserts  the appropriate 1  C target will be polled  and  the data will be broadcast on the CAN bus     1 6 Application Notes    1 6 1 CAN Node Errors    The CAN packet transmitted to the CAN I C Activity Board Pro must match one of the  defined Opcode and RTR schemes defined in Section 1 4 1  If not  then the packet will  be ignored by the CAN bridge     Additionally  the Standard Opcodes will only be recognized for node IDs that are defined  in Table 9  The Extended Opcodes can be used with any node ID  and can thus be used  to extend to other I  C slaves that are not included on the CAN I C Activity Board Pro     If there is ever an I C error when the CAN bridge is attempting to process an RTR  packet  a response will still be sent by the bridge  However  the DLC will be 0 and the  payload will be empty     SY    TOTAL PHASE CANII2C Activity Board Pro User Manual       1 6 2 I C Board Configuration    The CAN bridge implements an I C master in order to talk with the devices on the board   However  the CAN bridge is not designed to work in multi master situations  In order to  successfully use the CAN I  C Activity Board Pro with an external master  such as the  Aardvark   C SPI Host Adapter   it is important to configure the board correctly     To use the board with an 1  C master  please configure the board in the following manner        Disconnect the board from any CAN b
18. rame with an ID  of 0x4E  A CAN data frame will then be broadcast with one byte of temperature data  On  start up this device is configured for 9 bit temperature readings     Get Sensor Data    The temperature sensor will respond with 2 bytes of temperature data when a Get  Sensor Data request is made  See Table 32     Getting Sensor Data is equivalent to reading from the Temperature Register as  described in the device datasheet     Table 32   CAN Get Temperature Data Payload    Byte  Data  Notes O    o  MS byte   See datasheet for more information  LS byte   See datasheet for more information    Example  Polling the temperature sensor  See Table 33        Table 33   CAN Get Temperature Data Example       Transmitter _   Activity Board   0x04E OxAA  0xBO    Set Sensor Data    Not applicable  This device will not respond to Set Sensor Data requests   3 7 2 I 7C Operation    Please consult the DS75 datasheet for details on 1  C operation     29    SY    TOTAL PHASE CAN I2C Activity Board Pro User Manual       4 References    4 1 Examples    Example scripts which communicate with the target devices on the CAN I  C Activity  Board Pro are available for download on the Total Phase website  http     www totalphase com support product     4 2 Technical Specifications    The CAN I C Activity Board Pro draws approximately 50 mA of current from the power  source  either the Komodo Interface or the Aardvark adapter     Detailed information about the Technical Specifications of the Komo
19. riting Hello World to the LCD screen  See Table 29        Table 29     C Set LCD Data Example     Direction  Stop  DeviceiD  oaa      26    SY     TOTAL PHASE CAN I2C Activity Board Pro User Manual       Write Stop 0x42 0x02  0x00   0x48  0x65  0x6c  Ox6c     Ox6f  0x20  0x57  Ox6f   0x72  Ox6c  0x64  0x21   0x20       Getting the LCD Display    Over IC it is also possible to read out the current LCD setting  Like the ADC this  requires two steps  The first step sets up the register we wish to read from as well as the  segment to start reading from  Bytes are then read consecutively out     See Table 30 for a description of the data payload   Table 30     C Get LCD Data Payload     Byte  Date  roes    0   Character o   ASCIvencoded    Character 1   ASCll encoded    Example  Reading data out of LCD screen  See Table 31        Table 31     C Get LCD Data Example    27    Ay    TOTAL PHASE CANII2C Activity Board Pro User Manual        Direcion  Stop  Device moa      3 7 Temperature Sensor  0x4E        Tempersture    SUH  Ihet       Figure 9   Temperature Sensor  Part   Maxim Integrated Products DS75  Datasheet   http   datasheets maxim ic com en ds DS75 pdf    This temperature sensor provides temperature readings over a range of  55  C to  125    C  It can communicate directly over I C or over CAN through the bridge     28    SY    TOTAL PHASE CAN I2C Activity Board Pro User Manual       3 7 1 CAN Operation    To request data from the temperature sensor over CAN  send a remote f
20. tasheet to correlate the digital reading with the irradiance value     3 3 1 CAN Operation    Get Sensor Data    The light sensor will respond with 2 bytes of irradiance value within the visible spectrum  when the Get Sensor Data request is made  See Table 14     17    Y    TOTAL PHASE CANII2C Activity Board Pro User Manual       Getting Sensor Data is equivalent to reading from the ChO light sensor  as described in  the device datasheet     Table 14   CAN Get Light Data Payload     Byte  Data  Notes        0   Datad   low byte of irradiance value  high byte of irradiance value    Example  Polling the light sensor  See Table 15        Table 15   CAN Get Light Data Example    Transmiter  CANID  ATA  DLC  Date    Set Sensor Data       Not applicable  This device will not respond to Set Sensor Data requests   3 3 2 I C Operation    Please consult the ADPS 9300 datasheet for details on 1  C operation     18      TOTAL PHASE CAN I2C Activity Board Pro User Manual       3 4 GPIO Port Expander  0x39     Port Expander    PUL axi       Figure 6   GPIO Port Expander  Part   NXP Semiconductors PCA9554AD  Datasheet   http   ics nxp com products pca datasheet pca9554 pca9554a  pdf    This is an 8 pin port expander which can be accessed through CAN or I  C  On start up   all pins are configured as inputs  and can be read over CAN  By communicating directly  with the device over I C  it is possible to configure the pins as outputs  The port  expanders pins are connected to a header for easy
21. us     e SELO should be left open     SEL1 should be left open   e SEL2 should be jumped     For more information on the selection pins  please refer to Section 2 4       TOTAL PHASE CAN I2C Activity Board Pro User Manual       2 Connectors  Headers  Buttons  and LEDs          LAX TTR    Aardvark    ree E     www abalphana som ooooo  eh TUTE Total Pleas  Ire   1 30 o o o o o  amp     Figure 1   CAN FC Activity Board Pro Connectors  2 1 Port Expander Header  J201     This header allows the port expander to interface with external circuitry  See Section 3 4  for more information     2 2 Komodo Connector  J301     This connector is provided to interface with the Komodo CAN Interfaces  It is a male    DE 9 connector compatible with the SAE J1939 CAN CIA standard  The pinout of this  connector is shown in Figure 2 and Table 4     It is necessary to provide target power  4 5V 5 0V  to the CAN IPC Activity Board Pro  through V  on the Komodo connector  or through VDD on the Aardvark connector     SY    TOTAL PHASE CANII2C Activity Board Pro User Manual          Figure 2   DE 9 Connector Pin Numbers    Table 4   Komodo Connector J301 Pinout    Pme  Signal    6  Ne Connect  e Ne Cornear  Pel ve    2 3 CAN Termination Header  J302        This header can be jumped to connect a 120 Ohm parallel termination resistor to the  CAN bus     2 4 Select Header  J303     The Selection Header provides a mechanism for changing the behavior of the CAN  bridge  These pins are sampled once upon reset 
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Minka Lavery 1816-84 Instructions / Assembly  FuturaGen - Schütz Dental  本を語ろう 私の一冊  VD710 : Manuel d`installation et de référence    Allgemeine sicherheitshinweise consignes générales de  Canon PowerShot A470  SWIFT K7 - Ilsintech Co. Ltd.    Copyright © All rights reserved. 
   Failed to retrieve file