Component: Serial EEPROM (24C32) (Storage)

From Flowcode Help
Revision as of 20:58, 16 November 2021 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Matrix TSL
Version 2.2
Category Storage


Serial EEPROM (24C32) component

Serial (I2C) EEPROM component for 24C32 Can be added to a MIAC project to give read and write access to the internal non-volatile memory device (if fitted, depending upon model).

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png Read
Read and return the value of the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png Write
Write the given data value to the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png WritePage
Write the given data value to the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE data
 
Fc9-u8-icon.png - BYTE count
Range: 1-128 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetDate
Collects the day of the month as a numeric value in the range of 1 - 31. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png SetTimeServer
Overwrites the default time server setting allowing for multiple time servers to be queried. 
Fc9-string-icon.png - STRING TimeServer
e.g. "pool.ntp.org" 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetMonth
Collects the month as a numeric value in the range of 1 - 12. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png Initialise
Configures the timeserver variable as well as sets the timezone offset in seconds. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetUTCOffset
Allows the UTC Offset to be defined in seconds. e.g. for BST use 3600 or for UTC+2 use 7200 or for UTC-2 use -7200 
[[File:]] - UTCOffset
Time offset in seconds 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Initialise
Configures each matching sensor on the bus with the specified conversion bits. 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-16-icon.png Device Address
Device address bits, these must match the address pins on the EEPROM IC. 
Fc9-type-16-icon.png Channel
Channel selection 
Fc9-type-16-icon.png Baud Select
Baud rate option selector 
Fc9-type-14-icon.png Baud Rate
Baud rate to be used 
Fc9-type-7-icon.png Stop Delay
On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications.  
Fc9-type-5-icon.png SDA
Pin used for SDA (data signal) 
Fc9-type-5-icon.png SCL
Pin used for SCL (clock signal) 
Fc9-conn-icon.png Simulations
Fc9-type-7-icon.png Scope Traces
Selects if the component pin connections are automatically generated on the data recorder window or not. Yes: Automatically add the component pins to a group on the data recorder which will reflect the sim data during simultion. No: Do not show the pin signals on the data recorder window. 
Fc9-type-7-icon.png Console Data
Selects if the console data is automatically generated or not 
Fc9-type-16-icon.png API