dsvensson / cc1101

A platform agnostic driver to interface with the CC1101 (Sub-1GHz RF Transceiver)
Apache License 2.0
33 stars 18 forks source link

add cc1101::lowlevel::write_register_burst() #35

Closed SebKuzminsky closed 8 months ago

SebKuzminsky commented 11 months ago

This is useful e.g. for writing PATABLE.

SebKuzminsky commented 11 months ago

Or maybe the PATABLE register should move from Command to Status so it gets the Burst bit automatically from waddr()?

dsvensson commented 11 months ago

Perhaps some script could massage this PDF to code, backed by a macro to make it less verbose, and output would be a few different variations instead, which in the end are compiled away to just writing a [u8]? The value domain of [u8] is very large, and most permutations are not productive?

https://www.ti.com/lit/an/swra151a/swra151a.pdf

Sympatron commented 11 months ago

915MHz.csv 868MHz.csv 433MHz.csv 315MHz.csv

Disclaimer: I did not fully check these values.

dsvensson commented 11 months ago

Could also have those CSV files checked in, and a build.rs that generates data types that encapsulates that const data.

dsvensson commented 8 months ago

closed due to stale with conflicts