HOPERF-logo

HOPERF AN244 Ngalih Cepet saka Konfigurasi sing Disimpen

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- product

Ringkesan
Artikel iki ngenalake fungsi utama CMT2312A kanthi cepet ngalih ing antarane konfigurasi sing wis disimpen.
Model produk sing ana ing dokumen iki ditampilake ing tabel ing ngisor iki.

Tabel 1. Model produk dijamin ing dokumen iki

Model produk Frekuensi operasi Mode modulasi Fungsi utama Konfigurasi Paket
CMT2312A 113-960 MHz (4) (G) FSK/OOK transceiver ndhaftar QFN24

Sadurunge maca dokumen iki, dianjurake kanggo ngerti CMT2310A lan dokumen AN sing gegandhengan, utamane Siklus Tugas lan fungsi SLP saka CMT2310A (sampeyan bisa maca AN239 "CMT2310A Automatic Transmit and Receive Function User Guide"). CMT2312A versi nganyari saka CMT2310A, kang utamané nambah fitur saka "cepet ngoper konfigurasi wis disimpen". Fungsi lan cara panggunaan dhasar liyane padha karo CMT2310A.

Introduction to Quickly Switch Pre-Stored Configuration Functions

Ngalih cepet fungsi konfigurasi sing wis disimpen sing didhukung dening CMT2312A tegese pengontrol RF internal CMT2312A kanthi cepet nransfer konfigurasi sing wis disimpen ing OTP internal chip menyang ndhaptar chip ing tingkat DMA, sing bisa nylametake pangguna saka konfigurasi alamat register siji-siji liwat SPI saka MCU eksternal. Diagram skematik kerangka fungsionale kaya ing ngisor iki.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (2)

Gambar 1. CMT2312A Ngalih Cepet Diagram Blok Konfigurasi sing wis disimpen

Tabel 1. Parameter sing gegandhengan karo FIFO

Ndaftar jeneng bit

nomer

R/W Jeneng bit Katrangan fungsi
  

Page0 CTL_REG_8 (0x08)

  

6:0

 

  

W

  

API _ CMD < 6: 0 >

0x01: Initialization calibration 0x02: Initialization calibration 0x07: Quickly import Group1 configuration

0x08: Quickly import Group2 configuration

0x09: Quickly import Group3 configuration

0x0A: Quickly import Group4 configuration

Ndaftar jeneng bit

nomer

R/W Jeneng bit Katrangan fungsi
0x0B: Quickly import Group5 configuration

0x0C: Quickly import Group6 configuration

0x0D: Quickly import Group7 configuration

 Page0 CTL_REG_9 (0x14)  

7

 

R

 

API _ CMD _ FLAG

API command flags

0:API commands in execution

1: eksekusi printah API rampung

6:0 R API _ RESP < 6: 0 > API command execution value, i.e.

API _ CMD < 6: 0 >

Proses operasi kanggo ngganti konfigurasi sing wis disimpen kanthi cepet:

  • Setel CMT2312A ing mode Siap;
  • Set the Group N configuration that needs to be switched through the API _ CMD command;
  • Enteni printah API _ CMD kanggo ngrampungake eksekusi;
  • Operate dening fungsi pangguna, kayata ngoper Rx utawa Tx negara.

Example code for the procedure: 

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- 17

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- 18

Pre-stored Configuration for Burning Operation

The pre-stored configuration of CMT2312A is stored in the OTP inside the chip. Burning requires the use of offline burner (CMOSTEK Off-line Writer) and Writer Configer user interface software.
Connect the user’s computer to the offline burner through a USB cable, then open the Writer Configer interface, as shown in the figure below, and select CMT2312A.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (3)

Sawise ngeklik tombol "OK", antarmuka ngalih kaya ing ngisor iki. Ing wektu iki, ing kothak "Config Param", 7 jalur impor saka konfigurasi sing wis disimpen kasedhiya, lan sampeyan bisa ngatur lan ngimpor siji-siji kanthi ngeklik "Tambah ...".

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (4)

Tokoh ing ngisor iki nuduhake 7 set konfigurasi sing diimpor.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (5)

Cathetan:

  1. The import configuration doesn’t have to be sequential, nor does it have to be filled, it can be selected arbitrarily. For example: Ninggalake Group1 kosong banjur pilih Group2 ~ Group7; Sampeyan uga bisa milih mung Group2 lan ninggalake liyane kosong. Nanging, kudu dicathet yen nomer grup (GroupN) konfigurasi sing diimpor cocog karo parameter input API _ CMD. Pangguna kudu mesthekake yen grup konfigurasi ngoper cocog karo isi sing bener disimpen, digunakake bakal mimpin kanggo kasalahan konfigurasi lan operasi chip bakal ora normal.
  2. The Clear All button clears all imported configurations.
  3. The “Compare” button is used for the user to Compare the imported contents of the burned target chip, and can be used to confirm whether the burned contents are correct.
  4. The “Read” button provides the user with the purpose of reading and saving the pre-stored configuration of the target chip.

Sawise ngemot konfigurasi kobong sing dibutuhake, klik "Download to Writer" ing pojok tengen ngisor antarmuka, lan piranti lunak antarmuka Writer Config bakal ngemas lan ngundhuh konfigurasi sing diimpor iki menyang burner offline. Sawise iku, burner offline bisa nyedhiyakake chip target pembakaran mandiri offline.

Cathetan: OTP is burned to the inside of the chip, so the interval of the target chip that has been burned cannot be burned repeatedly!

Application Scenario Examples

Syarat Aplikasi
Assuming sing skenario pangguna mbutuhake iki, nggunakake CMT2312A minangka mburi panrima, target panampa kudu adaptively nampa mburi ngirim 3 protokol beda. 3 protokol sing beda-beda yaiku:

  • Protokol A, frekuensi kerja 433MHz, mode modulasi FSK, rate 50kbps, frekuensi offset 25kHz, format pesen kaya ing ngisor iki.
  • Protokol B, frekuensi operasi yaiku 433.92 MHz, mode modulasi FSK, tingkat 38.4 kbps, frekuensi offset 20kHz, format pesen kaya ing ngisor iki.
  • Protokol C, frekuensi kerja 438.5 MHz, mode modulasi FSK, tingkat 10kbps, frekuensi offset 5kHz, format pesen kaya ing ngisor iki.

Pungkasan panampa dibutuhake kanggo ngrancang fungsi panampa adaptif kanggo telung set protokol ing ndhuwur, lan kudu nyukupi syarat konsumsi daya sing sithik.

persetujuan Wake Up +

Pambuka

Tembung Sinkronisasi Muatan CRC
Protokol A 0xAA * 250Bytes 6Bytes 0xB24D2BD51234 Variabel dawa Length siji byte With CRC32,Polynomial: 0x04C11DB7 Seed = 0, the result is not inverted
Protokol B 0xAA * 200Bytes 4Bit 0x904E6715 dawa tetep 64Bytes With CRC16, IBM (0x8005),Seed = 0xFFFF, the result is not inverted
Protokol C 0x55 * 50Bit 3Bytes 0x2D4BD3 dawa tetep 20Bytes Using CRC16, CCITT (0x1021),Seed = 0x1D0F, the result is inverted

Analisis Kebutuhan

In view saka syarat ing ndhuwur, syarat inti ana 2 poin:

  1. It is necessary to meet the protocol that the receiver can adapt to three different settings, so the receiver must switch and listen back and forth between the three different settings. All three protocols have long enough pilot transmissions in common, so the locking condition of the monitoring window is to detect the pilot conformity as the basis for locking a certain set of settings.
  2. Finally, it is mentioned that the requirement of low power consumption is met. Therefore, on the basis of the above three sets of back-and-forth switching monitoring mechanisms, it is also necessary to introduce the time for CMT2312A to go to sleep to achieve a certain degree of low power consumption through duty cycle. The CMT2312A has the same features as the CMT2310A”DutyCycle + SLP” ultra-low power combination operation mode, the same can be implemented in this scheme.

Adhedhasar syarat lan analisis inti ing ndhuwur, urutan kerja CMT2312A saka skema implementasine ditampilake ing gambar ing ngisor iki.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (6)

Miturut urutan kerja ing ndhuwur, digabungake karo mode kerja kombinasi daya ultra-kurang "DutyCycle + SLP" sing diwenehake dening CMT2312A / CMT2310A, alur kerja solusi iki ditapis kaya ing ngisor iki:

  1. Flash into CMT2312A by Protocol A configuration, where configured:
    • Enable the Rx Timer timing function of CMT2312A (enable RxTime1 and RxTime2), combined with the SLP function (SLP modes 11 ~ 13 can be considered, and mode 13 is selected in this example).
    • According to the protocol A rate of 50kbps, each symbol is 20us, considering that the RxTime1 window monitoring satisfies 20 ~ 30 symbols, set RxTime1 = 600us; The condition is met to extend the execution of RxTime2, and the time is met to override Sync Word, so it is set to 50ms.
      Setelan RFPDK ditampilake ing gambar ing ngisor iki (sebagian).
  2. HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (7)Protocol A listening is executed until the listening timed out or valid data is triggered.
  3. Flash into CMT2312A according to Protocol B configuration, where configuration:
    • Enable the Rx Timer timing function of CMT2312A (enable RxTime1 and RxTime2), combined with the SLP function (SLP modes 11 ~ 13 can be considered, and mode 13 is selected in this example).
    • According to the protocol B rate of 38.4 kbps, each symbol is 26us, considering that the RxTime1 window monitoring satisfies 20 ~ 30 symbols, set RxTime1 = 800us; The condition is met to extend the execution of RxTime2, and the time is met to override Sync Word, so it is set to 50ms.
      Setelan RFPDK ditampilake ing gambar ing ngisor iki (sebagian). HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (8)
  4. Protocol B listening is executed until the listening timed out or valid data is triggered.
  5. Flash into CMT2312A according to Protocol C configuration, where configuration:
    • Enable the Rx Timer timing function of CMT2312A (enable RxTime1 and RxTime2), combined with the SLP function (you can consider SLP modes 11 to 13, this example milih mode 11).
    • According to the protocol C rate of 10kbps, each symbol is 100us, considering that the RxTime1 window monitoring satisfies 20 ~ 30 symbols, set RxTime1 = 2ms; The condition is met to extend the execution of RxTime2, and the time is met to override Sync Word, so it is set to 50ms.
    • After listening to Protocol C, the CMT2312A needs to go to sleep in order to achieve the goal of low power consumption. Therefore, it is necessary to enable Sleep Timer, and the pilot time of the three sets of protocols is about 40ms, so first set Sleep Time = 35ms to implement the functional flow, and then further optimize the specific setting value of this value according to the actual effect.
      Setelan RFPDK ditampilake ing gambar ing ngisor iki (sebagian). HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (9)
  6. Protocol C listening is performed until the listening time-out or valid data is triggered.
  7.  Set CMT2312A to sleep and wait for the sleep timer to wake up.
  8. Return to step 1 and cycle through this.

Model Building and Comparison
Model of CMT2312A SPI Configuration
According to the CMT2312A SPI configuration and switching the model established by each group of parameters, the screenshots of timing and measurement time of each stage minangka nderek:

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (10)

ing ngendi:

  1. Time scales A1-A2 are the time consumed to flash protocol A configuration, about 1ms (hardware SPI running speed 8MHz);
  2. Time scales B1-B2 are the RxTime1 duration of listening protocol A, which is basically the same as the setting 600us;
  3. Time scales C1-C2 are the time consumed to brush protocol B configuration, about 1ms (963us);
  4. Time scales D1-D2 are the RxTime1 duration of listening protocol B, which is basically the same as the setting 800us (774us);
  5. Time scales E1-E2 are the time consumed to brush protocol C configuration, about 1ms (962us);
  6. The time scale F1-F2 is the RxTime1 duration of the monitoring protocol C, which is basically the same as the setting of 2ms (1.97 ms);
  7. Time scales G1-G2 are sleep time-consuming, which is basically the same as the setting of 35ms;

Kanthi cara iki, siklus ngawasi njupuk udakara 41.5 ms. Temenan ora bisa dipercaya kanggo adaptasi karo telung set pilot protokol ing 40ms. Supaya kanggo mesthekake yen saben pesawat saka pilot protokol bisa nutupi loro kesempatan ngawasi ing 40ms, Mulane, iku perlu kanggo ngowahi wektu turu ing konfigurasi ngawasi protokol C saka 35ms kanggo 27ms, minangka ditampilake ing tokoh ngisor.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (11)

Priksa manawa efek saka pemicu laporan kasebut cocog karo pangarepan, kaya sing ditampilake ing gambar ing ngisor iki (saben protokol ngirim 2 paket lan nampa kaping 6):

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (12)

Konsumsi daya ing mode iki dites dadi 1.83 mA, kaya sing dituduhake ing gambar ing ngisor iki:

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (13)

Review kinerja konsumsi daya, kaya sing diterangake ing lembar data CMT2312A,

  • Nilai saiki sing khas ing negara Siap yaiku 2.1mA, lan ing negara RFS yaiku 7.8mA. Durasi total konfigurasi lan switching negara kira-kira 1ms, kanthi 70% kanggo konfigurasi lan ing negara Siap, lan 30% ing negara RFS (kira-kira diukur dening penganalisa logika).
  • Nilai saiki sing khas ing negara Rx yaiku 13.6 mA, lan jumlah wektu ing Rx yaiku: 0.6 ms + 0.8 ms + 2ms = 3.4 ms
  • Ing negara Turu, saiki kurang saka 1uA, sing bisa diabaikan. Wektu turu kira-kira 27ms, lan durasi siji siklus yaiku 33.6 ms (gumantung karo pangukuran penganalisa logika)

Dadi konsumsi daya rata-rata kira-kira diitung minangka: 

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- 19

Iku rada luwih murah tinimbang nilai sing diukur, nanging pangarepan dhasar selaras karo kahanan sing diukur. Nanging kita bisa ngurangi konsumsi daya ing basis saka 1.71 mA? ya wis! Fungsi DC - DC saka CMT2312A bisa diaktifake (mesthi, hardware uga kudu dileksanakake miturut kondisi DC - DC ngaktifake). Ing mode DC - DC aktif, saiki Siap bisa suda saka 2.1mA kanggo 1.9mA, saiki RFS bisa suda saka 7.8mA kanggo 5.6mA, lan saiki nampa bisa suda saka 13.6mA kanggo 9.4mA. Dadi, pitungan kasar kaya ing ngisor iki:

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- 20

Pangukuran sing nyata yaiku 1.27 mA, kaya sing dituduhake ing gambar ing ngisor iki.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (14)

Saka 1.83 mA kanggo 1.27 mA, ndhukung tangi saka 3 set protokol, lan efek isih ketok. Banjur sampeyan bisa nimbang solidifying paramèter kanggo OTP nang CMT2312A, lan cepet ngalih konfigurasi wis disimpen kanggo ndeleng carane efektif iku.

  • Model CMT2312A kanggo ngoper kanthi cepet konfigurasi sing wis disimpen

Before solidifying the parameters according to the above configuration, it is necessary to fine – tune the sleep duration. Because quickly switching the pre – stored configuration can save the time for configuring software parameters. Based on the above implementation, the total monitoring duration of the 3 sets of protocols is 3.4ms (0.6 + 0.8+2), which satisfies the requirement of monitoring 2 times within the pilot duration, that is, 6.8ms is required. Therefore, based on the 40ms duration, 33.2 ms remain. Considering the time margin for state switching, the sleep duration can be adjusted to 31ms. The implementation effect is shown in the following figure:

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (15)

Thanks kanggo CMT2312A internal DMA tingkat ngoper konfigurasi wis disimpen, ngirit wektu external MCU konfigurasi kumpulan ndhaftar. Wektu kanggo ngalih konfigurasi internal njupuk bab 150us, minangka ditampilake ing tokoh ngisor.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (16)

Dadi rata-rata saiki kira-kira diitung kaya ing ngisor iki:

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- 21

Pangukuran sing nyata yaiku 1.12 mA, kaya sing dituduhake ing gambar ing ngisor iki.

HOPERF-AN244-Quick-Switching-of-Pre-Stored-Configuration- (1)

Ringkesan konsumsi daya saka rencana

Skema Measured Power Consumption
External MCU switching configuration

(DC-DC OFF)

1.83 mA
External MCU switching configuration

(DC-DC ON)

1.27 mA
Internal pre-stored configuration switching

(DC-DC ON)

1.12 mA

Cathetan

  1. This document assumes that all three sets of configurations in the application are in the same frequency band, which can avoid re-calibrating the chip. Because during the initialization process of CMT2312A (or CMT2310A), the frequency band used in the application needs to be calibrated, and the calibration varies for different frequency bands. For example, miturut telung set konfigurasi ing Ex ikiample, yen titik frekuensi saka salah siji konfigurasi punika 868MHz, mung ngoper konfigurasi ora cukup, lan kalibrasi maneh uga dibutuhake. Mesthi, iki minangka asumsi sing ekstrem. Miturut skenario aplikasi nyata, cocog hardware frekuensi radio tetep kudu ing sawetara band frekuensi padha.
  2. From the analysis of the final results of this exampl, kanggo konfigurasi sing wis disimpen kanthi ngoper cepet, arus operasi rata-rata sing diukur kira-kira 1.12 mA; nalika kanggo metode konfigurasi MCU eksternal, nilai sing diukur mung 1.27 mA, kanthi rasio optimalisasi kira-kira 12%. Alesan kanggo ngoper cepet konfigurasi sing wis disimpen utamane yaiku ngilangi konsumsi konfigurasi MCU eksternal. Ing mantan ikiample, MCU external nyetel SPI hardware kanggo kacepetan 8 MHz, kang cukup cepet (wates ndhuwur CMT2312A punika 10 MHz), supaya proporsi bagean konsumsi ora dhuwur. Kapindho, ing mantan ikiample, salah siji saka konfigurasi wis tingkat 10 kbps lan wektu desain ngrungokake 2 ms, kang akun kanggo bagean utama saka konsumsi daya. Mulane, yen skenario aplikasi nyata kanggo aplikasi tingkat kacepetan dhuwur, wektu ngrungokake nyata cendhak banget, lan proporsi konsumsi kanggo ngonfigurasi pranala penengah iki dhuwur. Banjur, advantage nggunakake konfigurasi wis disimpen kanggo ngoper cepet malah luwih gedhe.

Documentation Revise Record

Tabel 34. Rekam Ganti Dokumen

Versi Ora. Bab Ganti Katrangan Tanggal
1.0 kabeh Rilis versi wiwitan 2025-07-31

Informasi Kontak

Shenzhen Hope Microelectronics Co., Ltd.

  • Alamat: Lantai 30 Gedung 8, Zona C, Vanke Cloud City, Distrik Xili, Nanshan, Shenzhen, GD, PR China
  • Tel: +86-755-82973805 / 4001-189-180
  • Fax: +86-755-82973550
  • Kode Pos: 518052
  • Sales: sales@hoperf.com
  • Websitus: www.hoperf.com

Hak cipta. Shenzhen Hope Microelectronics Co., Ltd. Kabeh hak dilindhungi undhang-undhang.
Informasi sing diwenehake dening HOPERF dipercaya akurat lan dipercaya. Nanging, ora ana tanggung jawab kanggo ora akurat lan spesifikasi ing dokumen iki bisa diganti tanpa kabar. Materi sing ana ing kene minangka properti eksklusif HOPERF lan ora bakal disebarake, direproduksi, utawa dibeberke kabeh utawa sebagean tanpa ijin tertulis saka HOPERF. Produk HOPERF ora sah digunakake minangka komponen kritis ing piranti utawa sistem dhukungan urip tanpa persetujuan tertulis saka HOPERF. Logo HOPERF minangka merek dagang kadhaptar saka Shenzhen Hope Microelectronics Co., Ltd. Kabeh jeneng liyane minangka properti sing nduweni.
www.hoperf.com

Pitakonan sing Sering Ditakoni

What are the main functions of CMT2312A?

The main function of CMT2312A is a transceiver that supports quick switching between pre-stored configurations.

What is the operating frequency range of CMT2312A?

The operating frequency range of CMT2312A is 113-960 MHz.

How can I quickly switch pre-stored configurations using CMT2312A?

To quickly switch pre-stored configurations using CMT2312A, follow the operation process outlined in the user manual, which involves setting the device in Ready mode, selecting the desired configuration group, waiting for command execution, and performing user-specific operations.

Dokumen / Sumber Daya

HOPERF AN244 Ngalih Cepet saka Konfigurasi sing Disimpen [pdf] Pandhuan pangguna
AN244 Ngalih Cepet Konfigurasi Pra-Simpen, AN244, Ngalih Cepet Konfigurasi Pra-Simpen, Ngalih Konfigurasi Pra-Simpen, Konfigurasi Pra-Simpen, Konfigurasi sing Disimpen

Referensi

Ninggalake komentar

Alamat email sampeyan ora bakal diterbitake. Kolom sing dibutuhake ditandhani *