Simulated product dispenser
Fork of mbed-cloud-workshop-connect-HTS221 by
wifi-ism43362/README.md@4:e518dde96e59, 2018-10-25 (annotated)
- Committer:
- JimCarver
- Date:
- Thu Oct 25 14:00:12 2018 +0000
- Revision:
- 4:e518dde96e59
- Parent:
- 0:6b753f761943
Simulated dispenser
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JimCarver | 0:6b753f761943 | 1 | # ISM43362 WiFi driver for mbed-os |
JimCarver | 0:6b753f761943 | 2 | |
JimCarver | 0:6b753f761943 | 3 | The mbed OS driver for the ISM43362 WiFi module |
JimCarver | 0:6b753f761943 | 4 | |
JimCarver | 0:6b753f761943 | 5 | https://www.inventeksys.com/products-page/wifi-modules/ism4336-m3g-l44-e-embedded-serial-to-wifi-module/ |
JimCarver | 0:6b753f761943 | 6 | |
JimCarver | 0:6b753f761943 | 7 | |
JimCarver | 0:6b753f761943 | 8 | ## Currently supported platforms |
JimCarver | 0:6b753f761943 | 9 | |
JimCarver | 0:6b753f761943 | 10 | ISM43362 module is soldered on the following platforms from STMicroelectronics |
JimCarver | 0:6b753f761943 | 11 | |
JimCarver | 0:6b753f761943 | 12 | * [DISCO_L475VG_IOT01A](https://os.mbed.com/platforms/ST-Discovery-L475E-IOT01A/) |
JimCarver | 0:6b753f761943 | 13 | * [DISCO_F413ZH](https://os.mbed.com/platforms/ST-Discovery-F413H/) |
JimCarver | 0:6b753f761943 | 14 | |
JimCarver | 0:6b753f761943 | 15 | ## Configuration |
JimCarver | 0:6b753f761943 | 16 | |
JimCarver | 0:6b753f761943 | 17 | Correct pins have already been configured for both supported platforms. |
JimCarver | 0:6b753f761943 | 18 | |
JimCarver | 0:6b753f761943 | 19 | Here is configured pins: |
JimCarver | 0:6b753f761943 | 20 | |
JimCarver | 0:6b753f761943 | 21 | - MBED_CONF_ISM43362_WIFI_MISO : spi-miso pin for the ism43362 connection |
JimCarver | 0:6b753f761943 | 22 | - MBED_CONF_ISM43362_WIFI_MOSI : spi-mosi pin for the ism43362 connection |
JimCarver | 0:6b753f761943 | 23 | - MBED_CONF_ISM43362_WIFI_SPI_SCLK : spi-clock pin for the ism43362 connection |
JimCarver | 0:6b753f761943 | 24 | - MBED_CONF_ISM43362_WIFI_SPI_NSS : spi-nss pin for the ism43362 connection |
JimCarver | 0:6b753f761943 | 25 | - MBED_CONF_ISM43362_WIFI_RESET : Reset pin for the ism43362 wifi module |
JimCarver | 0:6b753f761943 | 26 | - MBED_CONF_ISM43362_WIFI_DATAREADY : Data Ready pin for the ism43362 wifi module |
JimCarver | 0:6b753f761943 | 27 | - MBED_CONF_ISM43362_WIFI_WAKEUP : Wakeup pin for the ism43362 wifi module |
JimCarver | 0:6b753f761943 | 28 | |
JimCarver | 0:6b753f761943 | 29 | ## Debug |
JimCarver | 0:6b753f761943 | 30 | |
JimCarver | 0:6b753f761943 | 31 | Some debug print on console can help to debug if necessary. |
JimCarver | 0:6b753f761943 | 32 | |
JimCarver | 0:6b753f761943 | 33 | - in ISM43362Interface.cpp file, set ism_interface_debug to 1 |
JimCarver | 0:6b753f761943 | 34 | - in ISM43362/ISM43362.cpp file, set ism_debug to 1 |
JimCarver | 0:6b753f761943 | 35 | - in ISM43362/ATParser/ATParser.cpp file, there are 3 different level : dbg_on / AT_DATA_PRINT / AT_COMMAND_PRINT |
JimCarver | 0:6b753f761943 | 36 | |
JimCarver | 0:6b753f761943 | 37 | Another way to enable these prints is overwrite MBED_CONF_ISM43362_WIFI_DEBUG in your json file: |
JimCarver | 0:6b753f761943 | 38 | "ism43362.wifi-debug": true |
JimCarver | 0:6b753f761943 | 39 | |
JimCarver | 0:6b753f761943 | 40 | |
JimCarver | 0:6b753f761943 | 41 | ## Firmware version |
JimCarver | 0:6b753f761943 | 42 | |
JimCarver | 0:6b753f761943 | 43 | This driver has been tested with C3.5.2.2 and C3.5.2.3.BETA9 firmware version |
JimCarver | 0:6b753f761943 | 44 | |
JimCarver | 0:6b753f761943 | 45 | ## wifi module FW update |
JimCarver | 0:6b753f761943 | 46 | |
JimCarver | 0:6b753f761943 | 47 | Only Wifi module from DISCO_L475VG_IOT01A can be updated (HW limitation for DISCO_F413ZH). |
JimCarver | 0:6b753f761943 | 48 | |
JimCarver | 0:6b753f761943 | 49 | For more information about the wifi FW version, refer to the detailed procedure in |
JimCarver | 0:6b753f761943 | 50 | http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software-expansion/x-cube-azure.html |