Skip to content

write cmostek rfpdk register table file into cmt2219a registers in micropython, esp8266.

Notifications You must be signed in to change notification settings

youmeansun/cmt2219a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What can it do?

This simple micropython script can read a CMOSTEK RFPDK register value table file, then write the values to CMT2219A registers.

Tested in a ESP8266 board running official micropython v1.14 .

Wiring

.-----------------------.              .---------------.
|                     16|--------------|CSB            |
|    ESP8266            |              |    CMT2219A   |
|              (CLK ) 14|--------------|SCL            |
|              (MISO) 12|---------+----|SDA            |
|              (MOSI) 13|--{R1K}--'    '---------------'
'-----------------------'

Get "reg.txt"

Export CMT2219A register table file by CMOSTEK RFPDK V1.51, rename the file "yourname_Reg.exp" to "reg.txt". delete the lines from the beginning to "Addr Value" in the file.

Download files

In uPyCraft, download "cmt2219.py" and "reg.txt" to your esp8266 board.

Try to use

from cmt2219 import CMT2219A
radio = CMT2219A()
radio.read_config()
radio.write_table()

About

write cmostek rfpdk register table file into cmt2219a registers in micropython, esp8266.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages