Releases: teddokano/mikan
v1.16.1
v1.16.0
v1.15.1
v1.15.0
Release v1.15.0
Fixes
- No fixes
New supported devices
I2C bus multiplexer/switch
PCA9846
I²C bus repeater (buffer)
- PCA9617A :No class driver available since this device doesn't need software control. Evaluation board demo code only
Level shifter (voltage translator)
- NTS0304E :No class driver available since this device doesn't need software control. Evaluation board demo code only
Usability improvements
2 additional device clas drivers added
- 2 device clas drivers added in
ard_brd_dev.pyto support PCA9846PW-ARD, PCA9617ADP-ARD and NTS0304EUK-ARD evaluation boards.M24C02is an EEPROM to perform I²C communication on PCA9846PW-ARD, PCA9617ADP-ARD boards.AD5161is a digital potentiometer to perform I²C and SPI communication on NTS0304EUK-ARD board.
BusInOut class added
BusInOutclass is added inMikanUtil.py. It's a mbed style GPIO pins control class.
v1.14.1
Release v1.14.1
Fixes
PCF85053A class register names are corrected
Usability improvements
remote_demo device default settings are changed for PCA9957 and PCAL6416.
- PCA9957
MODE2register bit 3 is set to disabling channel-OFF feature when the output got error. The error condition happens on the ARD board while PWM and IREF are set to intermediate (non 0x00/0xFF) values - PCAL6416
Configuration port 0register is set to 0x00 andPull-up/pull-down enable register 1is set to 0xFF. With these settings, user can demo the PCAL6416 feature without doing it manually.- "
Configuration port 0= 0x00" makes the LED connected pins are set to output. User can change the LED lighting pattern by writingOutput Port 0register. - "
Pull-up/pull-down enable register 1= 0xFF" enables the device internal pull-up registers for pins connected to switches. Check AutoReload checkbox on the PCAL6416 server page and push buttons on ARD board. The button state will appear on the page.
- "
Release v1.14.0
Release 1.14.0 have several usability improvements new device supports.
1. Fixes / Changes
1.1 Fix
- P3T1755 read value was in 11 bits. Corrected to read 12 bits.
1.2 Changes
- Class name changed from
PCF85063toPCF85063A("PCF85063" followed by "A"). This is to avoid confusion with PCF85063TP which is newly supported device from this release. example/folder contents are sorted out. Some sample code are moved betweenexample/general/andexample/ARD_boards/folders.example/ARD_boards/folder contains sample code with can run on Arduino shield board type evaluation boards instantly.example/general/folder is for sample code which can be applied to some devices with small modifications.
2. New supported devices
2.1 Temp sensors
P3T1035andP3T2030
2.2 RTC
PCF85063TP,PCF85263AandPCF85053A.
3. Usability improvements
3.1 Improving MicroPython revision compatibility.
For i.MX RT MCUs, machine.Timer usage was changed on MicroPython from its release 1.20.
In MicroPython release 1.19 or earlier, the timer ID need to be given 0 or positive integer for specifying hardware. In MicroPython release 1.20 or later, it's been chanded. The timer ID can be always -1.
The release of mikan 1.11.x and earlier was compatible to MicroPython 1.19 and mikan 1.12.x and 1.13.x was compatible to MicroPython 1.20.
From this (1.14.0) release, mikan can run on any MocroPython release on i.MX RT boards.
| mikan release | MicroPython release | Compatibility |
|---|---|---|
| 1.11.x or earlier | 1.19.x or earlier | yes |
| 1.11.x or earlier | 1.20.x or later | no |
| 1.12.x and 1.13.x | 1.19.x or earlier | no |
| 1.12.x and 1.13.x | 1.20.x or later | yes |
| 1.14.x or later | 1.19.x or earlier | yes |
| 1.11.x or later | 1.20.x or later | yes |
This feature has been made by adding new module nxp_periph/MikanUtil.py. A class method of MikanUtil.get_timer_id( n ) return required number after checking the MCU and MicroPython release.
It can be seen in code which uses machine.Timer.
from machine import Timer
from nxp_periph import MikanUtil
tim0 = Timer( 0 ) # in mikan 1.11.x or earlier
tim0 = Timer( -1 ) # in mikan 1.12.x and 1.13.x
tim0 = Timer( MikanUtil.get_timer_id( 0 ) ) # in mikan 1.14.x or later3.2 New feature in remote_demo
3.2.1 User message in shell pane
Notice has been added on remote_demo start message on the shell. It tells the I2C errors can be ignored.
3.2.2 Server response time display
Server response time is shown at bottom of the device demo server.
Information like following can be found under I²C scan result table.
http sever response time: (samples = 10)
min = 3 ms
max = 9 ms
median = 4 ms
average = 4.300 ms
3.2.3 Switching demo to AFE
AFE demo configuration is integrated in remote_demo/demo_lib/DEMO.py
AFE demo can be run with remote_demo/demo_lib/DEMO.py without changing its contents or replacing the file with pre-configured settings.
The AFE demo is in demo() function and it can be started with an optional argument of congig = "AFE". The parameter can be any string including "AFE".
v1.14.0
Release 1.14.0 have several usability improvements new device supports.
1. Fixes / Changes
1.1 Fix
- P3T1755 read value was in 11 bits. Corrected to read 12 bits.
1.2 Changes
- Class name changed from
PCF85063toPCF85063A("PCF85063" followed by "A"). This is to avoid confusion with PCF85063TP which is newly supported device from this release. example/folder contents are sorted out. Some sample code are moved betweenexample/general/andexample/ARD_boards/folders.example/ARD_boards/folder contains sample code with can run on Arduino shield board type evaluation boards instantly.example/general/folder is for sample code which can be applied to some devices with small modifications.
2. New supported devices
2.1 Temp sensors
P3T1035andP3T2030
2.2 RTC
PCF85063TP,PCF85263AandPCF85053A.
3. Usability improvements
3.1 Improving MicroPython revision compatibility.
For i.MX RT MCUs, machine.Timer usage was changed on MicroPython from its release 1.20.
In MicroPython release 1.19 or earlier, the timer ID need to be given 0 or positive integer for specifying hardware. In MicroPython release 1.20 or later, it's been chanded. The timer ID can be always -1.
The release of mikan 1.11.x and earlier was compatible to MicroPython 1.19 and mikan 1.12.x and 1.13.x was compatible to MicroPython 1.20.
From this (1.14.0) release, mikan can run on any MocroPython release on i.MX RT boards.
| mikan release | MicroPython release | Compatibility |
|---|---|---|
| 1.11.x or earlier | 1.19.x or earlier | yes |
| 1.11.x or earlier | 1.20.x or later | no |
| 1.12.x and 1.13.x | 1.19.x or earlier | no |
| 1.12.x and 1.13.x | 1.20.x or later | yes |
| 1.14.x or later | 1.19.x or earlier | yes |
| 1.11.x or later | 1.20.x or later | yes |
This feature has been made by adding new module nxp_periph/MikanUtil.py. A class method of MikanUtil.get_timer_id( n ) return required number after checking the MCU and MicroPython release.
It can be seen in code which uses machine.Timer.
from machine import Timer
from nxp_periph import MikanUtil
tim0 = Timer( 0 ) # in mikan 1.11.x or earlier
tim0 = Timer( -1 ) # in mikan 1.12.x and 1.13.x
tim0 = Timer( MikanUtil.get_timer_id( 0 ) ) # in mikan 1.14.x or later3.2 New feature in remote_demo
3.2.1 User message in shell pane
Notice has been added on remote_demo start message on the shell. It tells the I2C errors can be ignored.
3.2.2 Server response time display
Server response time is shown at bottom of the device demo server.
Information like following can be found under I²C scan result table.
http sever response time: (samples = 10)
min = 3 ms
max = 9 ms
median = 4 ms
average = 4.300 ms
3.2.3 Switching demo to AFE
AFE demo configuration is integrated in remote_demo/demo_lib/DEMO.py
AFE demo can be run with remote_demo/demo_lib/DEMO.py without changing its contents or replacing the file with pre-configured settings.
The AFE demo is in demo() function and it can be started with an optional argument of congig = "AFE". The parameter can be any string including "AFE".