Changes between Version 36 and Version 37 of expansion/gw16130


Ignore:
Timestamp:
07/06/2020 06:18:04 PM (4 years ago)
Author:
Tim Harvey
Comment:

additional comments about gpio configuration

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16130

    v36 v37  
    6262[[Image(16130-block-diagram.png)]]
    6363
    64 
    6564The FTDI GPIO pins control the modem:
    6665 * CBUS0: SAT_ON (input to modem; 10k pull-down)
     
    6867 * CBUS2: SAT_SUPPLY_OUT (output from modem)
    6968 * CBUS3: not connected
     69
     70By default the FTDI EEPROM is configured by gateworks such that all 4 of the CBUS pins are configured for IOMODE/GPIO mode which means that you need to enable CBUS0 gpio to enable the modem.
    7071
    7172'''Important''' Run the following to configure GPIO & enable the modem (requires a 4.20 kernel or newer) :
     
    8182echo in > /sys/class/gpio/gpio$((base+2))/direction
    8283}}}
     84
     85Note that exporting the gpio's above will fail if you have used something like {{{ftx_prog}}} (below) to re-configure the CBUS pins to a mode other than IOMODE/GPIO.
    8386
    8487=== Procedure for kernels prior to Linux 4.20