This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:sigmastudiov2:modules:inputoutput:interfacewriteio [19 Mar 2021 15:20] – created Prasad Kamath | resources:tools-software:sigmastudiov2:modules:inputoutput:interfacewriteio [12 May 2021 13:13] (current) – [Input] Prasad Kamath | ||
---|---|---|---|
Line 1: | Line 1: | ||
[[resources/ | [[resources/ | ||
====== Master Control Port Write IO ====== | ====== Master Control Port Write IO ====== | ||
+ | \\ | ||
+ | {{: | ||
+ | |||
+ | \\ | ||
+ | ===== Description ===== | ||
+ | \\ | ||
+ | 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. | ||
+ | |||
+ | |||
+ | ===== Usage ===== | ||
+ | \\ | ||
+ | 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 | ||
+ | \\ | ||
+ | {{: | ||
+ | \\ | ||
+ | |||
+ | ===== Targets Supported ===== | ||
+ | ^Name^ADSP-214xx^ADSP-215xx/ | ||
+ | |----------------------------------------|------------------------------------------|--------------------------------------------------|-------------------------------------------| | ||
+ | |Master Control Port Write IO| Not Supported | Not Supported| Sample| | ||
+ | \\ | ||
+ | ===== Pins ===== | ||
+ | ==== Input ==== | ||
+ | ^Name^Type^Description^ | ||
+ | |------------------------|------------------------------------|--------------------------------------| | ||
+ | |InterfaceWrite| Logic| Input | | ||
+ | \\ | ||
+ | ===== Configurable Parameters ===== | ||
+ | ^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/ | ||
+ | |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 | | ||
+ | |||
+ | \\ | ||
+ | ===== DSP Parameters===== | ||
+ | \\ | ||
+ | Not applicable | ||
+ | \\ | ||
+ | ===== DSP Parameter Computation ===== | ||
+ | \\ | ||
+ | Not applicable | ||
+ | \\ |