PoE

Programming - C on mCAT realtime core

mCAT
  • What services does mCAT realtime kernel offer?
    • Download receiver for your programs, flash programming and deleting of single pages
    • Monitor program for debugging
    • “Ticker”-program for range control of tasks
    • Realtime clock management for time control
    • Message transport between two tasks or interrupt driver
    • EEPROM management for configuration parameters
    • SerDrv for commination via serial interface (with program start and end signal, message length and many more)
    • BITBUS driver for slave and master function at the fieldbus
    • Express-I/O for easy use of digital and analog I/O. Express background functions e.g. for:
    • Event counters, frequency counters, impulse catchers
    • Time delayed outputs (monoflop, ...)
    • Impulse generation, PWM
    • Sensor linearizing
    • BgMem file system for storage of data in preset structures such as ring buffers, FIFO, LIFO or index based

 

 

Any application with higher complexity has to do several independent tasks at the same time.

 

mCAT´s “Express-I/O” counts at all inputs - it checks the input condition every 10ms, if it has changed the counter will be increased. Your PC communication task for example uses the serial driver SerDrv: if it is programmed to CR as message end, SerDrv sends a message to your task if a complete command line has been received from your PC. Your task will be woken up by the message and processed depending on the priority of other tasks and its own and then can reply status information for example. While the reply is being sent by a background interrupt from SerDrv, another task of your application will already be processed.

mCAT is available for TLCS900 and ARM processor.