Vai al contenuto

Documentation about the SlimLine device

Home Forum Obsoleti SlimLine (Linux) Documentation about the SlimLine device

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • #35288
    Anonimo
    Inattivo

    I’m using the SlimLine ARM9 device and it seems to work ok. Can you inform, which Linux distribution it is using, and is there any good source for documentation.

    For example how to manage inputs and outputs in program code.

    #37457
    Sergio Bertana
    Amministratore del forum

    The Linux installed on the SlimLine ARM9 CPU module is a Linux embedded – kernel 2.6.31 karo-axel, more information can be reached from the developer’s site. The BusyBox bash and some other applications are installed. There is no linux graphical manager installed on it. About the code example, we supply a VMware virtual machine with Ubuntu Linux installed and all the tools needed to develop software for the SlimLine CPU. The ElSLLinux library contains the functions to manage all the hardware resources of the system such as serial ports, logical I/Os etc.Unfortunately there isn’t any written documentation about it, but by downloading the PTP127*000 example program from the the FAQ page you can see how it manages the SlimLine hardware.

    #37458
    Sergio Bertana
    Amministratore del forum

    To acquire the logic inputs on the CPU module these two functions can be used:

    bool_t eGetInp00(void);
    bool_t eGetInp01(void);

    To acquire the inputs from an extension module connected to the SlimLine bus use the function:

    bool_t eSLineDInp(uint8_t Module, eSLDIOMODE Mode, bool_t Filter, void* Value);

    To set the logic output on the CPU module these two functions can be used:

    void eSetOut00(bool_t Sts);
    void eSetOut01(bool_t Sts);

    To set the outputs on the extension module connected to the SlimLine bus use the function:

    bool_t eSLineDOut(uint8_t Module, eSLDIOMODE Mode, void* Value);

    The eSLDIOMODE is an enum defined in the ElSLLinux.h file. Refer to the PTP127*000 example to better understand how to manage the I/Os.

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Devi essere connesso per rispondere a questo topic.