Click here to return to the IO page
The Interface Write module writes the value of the parameter setting to the EEPROM when required, so that the parameter setting can be used after the power down(via selfboot).The module can write the value to EEPROM when the parameter value is changed or periodically or an external trigger(rising edge). The module supports writes through SPI or I2C protocols.
The Interface Write module has the following properties which can be set by the user in the form to configure the I2C or SPI modes
Name | ADSP-214xx | ADSP-215xx/ADSP-SC5xx | ADAU145x/146x |
---|---|---|---|
—————————————- | —————————————— | ————————————————-- | ——————————————- |
Master Control Port Write IO | Not Supported | Not Supported | Sample |
Name | Type | Description |
---|---|---|
———————— | ———————————— | ————————————-- |
InterfaceWrite | Logic | Input |
GUI Parameter Name | Default Value | Range | Function Description |
---|---|---|---|
—————————————- | ———————- | ———————————- | ——————————————- |
SelectedIWChannel | 20 | 0 to 0.5* sample rate | Sets the initial frequency for sinetone sweep |
Protocol | 1 | 0-1 | The Protocol selected - I2C(0) or SPI(1) |
Bitrate | 100kHz | 400/800/1000 kHz(I2C), 100-100000KHz (SPI) | I2C/ SPI Speed |
Sub Address Bytes | 3 | 1-3 | Length of the address for SPI/I2C |
Device Address | 0 | I2C: Slave address 0-127 SPI: Slave select 0-6 | Slave Adddress |
SPI Mode | 1 | 0-1 | SPI Modes 0 or 3 |
Command Length | 1 | 0-255 | This is the SPI R/W instruction bytes |
Write Instruction (SPI) | 2 | 0-255 | SPI write command bytes |
Read Instruction(SPI) | 3 | 0-255 | SPI read command bytes |
Write-Enable instruction (SPI) | 6 | 0-255 | Write enable for SPI |
Write mode | 1 | 0-2 | The triggering modes for Interface write module, 0- write on Value change, 1-write Periodically with set write interval, 2- write on GPIO trigger |
Write Interval | 50ms | 50-5000ms | Write interval for periodic mode |
Not applicable
Not applicable