Component: Device Helper (Matrix Tools)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.1 (Release)
Category Matrix Tools


Image Device Helper component

A purely cosmetic component for viewing the details specific to your current selected target microcontroller. Lists stats like ADC resolution, ADC channels, UARTs, SPI, PWM, RAM, ROM etc

Examples

By simply adding the device helper component to your project and selecting it on the panel you can see all the following statistics regarding your current selected microcontroller in the properties window.


Dev Helper.jpg

Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

This component does not contain any simulation macros


Property reference

Pin Count

This property is of type Unsigned integer and can be referenced with the variable name PinCount.

Number of pins on the target microcontroller device.

Please note that different chip packages may have different number of pins.

Max Clock Speed

This property is of type Unsigned integer and can be referenced with the variable name MaxClock.

Maximum frequency the device can operate.

Master Divider

This property is of type Unsigned integer and can be referenced with the variable name Divider.

Number of clock cycles per single device instruction.

Max MIPs

This property is of type Unsigned integer and can be referenced with the variable name MaxInst.

Million Instructions Per Second (MIPS)

Number of complete instruction cycles per second based on the max clock speed and instructions per clock divided by 1 million.

Note that some instructions such as decisions can take multiple instructions to complete.

ROM Size

This property is of type Unsigned integer and can be referenced with the variable name ROMSize.

Number of bytes available for ROM storage.

ROM - Read Only Memory - Contains the Flowcode program as well as other constants such as strings

RAM Size

This property is of type Unsigned integer and can be referenced with the variable name RAMSize.

Number of bytes available for RAM storage.

RAM - Random Access Memory - Contains the Flowcode variables as well as the operational stack

EEPROM Size

This property is of type Unsigned integer and can be referenced with the variable name EESize.

Number of bytes available for EEPROM storage.

EEPROM - Electrically Erasable Programmable Read Only Memory - Contains user data that can persist when the power is removed

ADC Max Bits

This property is of type Unsigned integer and can be referenced with the variable name ADCBits.

Maximum number of bits used for an ADC conversion which dictates the maximum reading the ADC can generate.

8 bits = 0 - 255

10 bits = 0 - 1023

12 bits = 0 - 4095

ADC Pins

This property is of type Unsigned integer and can be referenced with the variable name ADCPins.

Number of pins capable of reading an analogue input.

DAC Max Bits

This property is of type Unsigned integer and can be referenced with the variable name DACMaxBits.

Maximum number of bits used for an DAC conversion which dictates the output resolution of the DAC.

5 bits = 0 - 31

8 bits = 0 - 255

10 bits = 0 - 1023

DAC Pins

This property is of type Unsigned integer and can be referenced with the variable name DACPins.

Number of pins capable of outputting an analogue voltage.

Digital Pins

This property is of type Unsigned integer and can be referenced with the variable name DigPins.

Number of pins capable of reading a digital input and/or writing a digital output.

CAN Count

This property is of type Unsigned integer and can be referenced with the variable name CANCount.

Controller Area Network (CAN)

Used for fixed system architecture in noisy environments e.g. Cars and Automotive

I2C Count

This property is of type Unsigned integer and can be referenced with the variable name I2CCount.

Inter-Integrated Circuit (I2C)

Used for on board communications e.g. Sensors, Memory

PWM Count

This property is of type Unsigned integer and can be referenced with the variable name PWMCount.

Pulse Width Modulation Output (PWM)

Useful for analogue style outputs.

SPI Count

This property is of type Unsigned integer and can be referenced with the variable name SPICount.

Serial Peripheral Interface (SPI)

Used for high speed on board communications e.g. Sensors, Memory

UART Count

This property is of type Unsigned integer and can be referenced with the variable name UARTCount.

Universal Asynchronous Receiver Transmitter (UART)

Used for on board and off board communications e.g. RS232, Bluetooth, GPS, GSM

USB Count

This property is of type Unsigned integer and can be referenced with the variable name USBCount.

Universal Serial Bus (USB)

Used for interconnective communications with high end equipment such as PCs.