123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- [tinyqirx]
- # Manufacturer code, 16-bit integer in hex
- ManufacturerCode = 0x0010
- # Qi receiver device unique identifier, must be a 32-bit integer in hex from
- # 0x00000000 to 0x7FFFFFFF
- DeviceIdentifier = 0x001b2529
- # Preamble length (must be at least 5.5 ms, but not longer than 12.5 ms)
- PreambleLength = 11 [ms]
- # Pause between packets (must be at least 6 ms, but not longer than
- # [22 ms - PreambleLength])
- SilentWindow = 7 [ms]
- # Power measurement window size (must be a multiple of 4 ms and at least 8 ms)
- WindowSize = 8 [ms]
- # Power measurement window offset (must be a multiple of 4 ms and at least as
- # long as the preamble length)
- WindowOffset = 12 [ms]
- # The target voltage on the rectifier
- SetpointVoltage = 7.5 [V]
- # Allowed variation of the target voltage on the rectifier
- SetpointVoltageTolerance = 1.0 [V]
- # Maximum expected voltage on the rectifier output. Exceeding this value will
- # shut down the receiver.
- MaximumExpectedVoltage = 12 [V]
- # Maximum expected current. Exceeding this value will shut down the receiver.
- MaximumExpectedCurrent = 1000 [mA]
- # Portion of current flowing through the current-measuring resistor, per a bit
- # returned by the function which performs the measurement of this current
- CurrentPerBit = 10.7422 [mA]
- # Portion of the voltage on the rectifier, per a bit returned by the function
- # which performs the measurement of this voltage
- VoltagePerBit = 47.266 [mV]
- # Reference power, must be from 0.5 to 5.0 W. This is roughly the maximum
- # expected received power.
- ReferencePower = 5.0 [W]
- # Power overestimation factor
- PowerOverestimationFactor = 1.5
- # Whether cutoff current should be used
- UseCutoffCurrent = no
- # Cutoff current
- CutoffCurrent = 1 [mA]
- # Whether the current setup facilitates battery temperature measurement
- UseTemperatureControl = no
- # Whether precise division should be used in calculation. Most cheap
- # microcontrollers do not implement division in hardware, so enabling this will
- # lead to inclusion of code implementing software division. This may increase
- # the firmware size severely. If left disabled approximate software division by
- # a constant will be used instead, which has a 1% error but takes only a few
- # processor instructions. This approximate division works as follows. First,
- # (2^24 / divisor) is precalculated before compilation. This is multiplied by
- # the dividend in runtime, all in 32-bit values. Finally, the result is
- # right-shifted by 16 bits, resulting in (256 * dividend / divisor) with 1%
- # accuracy.
- # 256 * dividend / divisor =~= [(2^24 / divisor) * dividend] / 2^16.
- UsePreciseDivision = no
|