There is a new TinyIOx firmware release. This release ports to the TinyIOx the upgrades from the IOx release v0.1.1:
viewtopic.php?f=9&t=1277. The upgrades are limited by the TinyIOx fewer resources (only 2 generic PWM outputs and 4 programmable on/off outputs) and there is no generic CAN broadcast.
There are also some new features that will be ported to the IOx. It is now possible to have 12-bit ADCs and still have 10-bit ADCs for the MS2 and MS3. When configuring the ADC to be 12-bit values, a 10-bit value is still written to the same variables (ad1 to ad9)) so that the offset used in MS2/Extra and MS3 CAN parameters can remain the same. The new 12-bit values are located in the ad12_x variables and those can be used with the generic PWM outputs and with the programmable on/off outputs.
The generic PWM outputs can now have more precision than before but only when using the curve (2-D) and not the full table (3-D). The duty cycle when using the table is still an 8-bit value (resulting in about a 0.4% resolution). When using the curve, you can either select to have either a 10-bit value (about 0.1% resolution) or a 12-bit value (about 0.025% resolution) for the duty cycle. However, that limits the maximum frequency and the frequency values available. This
spreadsheet gives the frequency values available with the different parameters available.
Also note that when selecting the RC servo clock, that limits the PWM (both for the table and the curve) to an 8-bit value. However, the RC servo can use a 10-bit or 12-bit value for its control when using a curve in the generic PWM outputs.
Finally, the x axis variable for the table for the generic PWM outputs can now be selected from any one available on the TinyIOx or the MS or any other CAN device on the bus in the same way as it is already possible for the load (y axis). This will make the control of the output more flexible when using a table.
The firmware and ini files are available here:
http://jbperf.com/io_extender/firmware/ ... v0_1_0.zipJean