]> granicus.if.org Git - esp-idf/commitdiff
component/esp32 : update phy & rtc
authorTian Hao <tianhao@espressif.com>
Tue, 17 Oct 2017 03:22:46 +0000 (11:22 +0800)
committerTian Hao <tianhao@espressif.com>
Tue, 17 Oct 2017 10:02:42 +0000 (18:02 +0800)
RTC V230
add BT AGC saturation protection, replace RTC V229.

PHY V362
Power up print: "phy_version: 362.0, 61e8d92, Sep 8 2017, 18:48:13"
1. esp_init_data_v3.bin
modify TX target power
modify WIFI & BT RX gain table
2. modify phy_close_rf()
3. add phy_set_most_tpw()
4. 26M crystal work OK
5. noise_check_loop ok

components/esp32/lib
components/esp32/phy_init_data.h

index 3bf26ecbb28ca22fbfb205f45c1920ef3876b5d5..d7c77c5ae8206c5a2395a39c6f47c0da6637fc8a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 3bf26ecbb28ca22fbfb205f45c1920ef3876b5d5
+Subproject commit d7c77c5ae8206c5a2395a39c6f47c0da6637fc8a
index bd63026fe36587b543217755b14e0bce75272bbb..d09bbdd9c62d2edd92c310eaae56107ef63e3e10 100644 (file)
@@ -27,13 +27,13 @@ static const char phy_init_magic_pre[] = PHY_INIT_MAGIC;
  * @brief Structure containing default recommended PHY initialization parameters.
  */
 static const esp_phy_init_data_t phy_init_data= { {
-        1,
+        3,
         3,
         0x05,
-        0x04,
+        0x09,
         0x06,
         0x05,
-        0x01,
+        0x03,
         0x06,
         0x05,
         0x04,
@@ -45,10 +45,10 @@ static const esp_phy_init_data_t phy_init_data= { {
         0x00,
         0x00,
         0x05,
-        0x04,
+        0x09,
         0x06,
         0x05,
-        0x01,
+        0x03,
         0x06,
         0x05,
         0x00,
@@ -59,9 +59,9 @@ static const esp_phy_init_data_t phy_init_data= { {
         0x00,
         0x00,
         0x00,
-        0x0a,
-        0x0a,
-        0x0c,
+        0xfc,
+        0xfc,
+        0xfe,
         0xf0,
         0xf0,
         0xf0,
@@ -72,16 +72,16 @@ static const esp_phy_init_data_t phy_init_data= { {
         0x18,
         0x18,
         LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 78),
-        LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 76),
-        LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 74),
-        LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 68),
+        LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 72),
+        LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 66),
         LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 60),
+        LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 56),
         LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52),
         0,
-        0,
         1,
         1,
         2,
+        2,
         3,
         4,
         5,
@@ -132,6 +132,8 @@ static const esp_phy_init_data_t phy_init_data= { {
         0,
         0,
         0,
+        0,
+        0,
 } };
 
 static const char phy_init_magic_post[] = PHY_INIT_MAGIC;