[riot-notifications] [RIOT-OS/RIOT] CC1312R Sub-GHz netdev driver (Proof of Concept) (#13295)

Jean Pierre Dudey notifications at github.com
Mon May 11 17:23:50 CEST 2020


@jeandudey commented on this pull request.



> +    .command_no = 0x3807,
+    .status = 0x0000,
+    .next_op = NULL, /* set by us */
+    .start_time = 0x00000000,
+    .start_trigger.type = RFC_TRIG_NOW,
+    .start_trigger.ena_cmd = 0x0,
+    .start_trigger.trigger_no = 0x0,
+    .start_trigger.past_trig = 0x0,
+    .condition.rule = 0x1,
+    .condition.skip_no = 0x0,
+    .modulation.mod_type = 0x1,
+    .modulation.deviation = 0xC8,
+    .modulation.deviation_step_sz = 0x0,
+    .symbol_rate.prescale = 0xF,
+    .symbol_rate.rate_word = 0x20000,
+    .symbol_rate.decim_mode = 0x0,
+    .rx_bw = 0x59,
+    .pream_conf.pream_bytes = 0x7,
+    .pream_conf.pream_mode = 0x0,
+    .format_conf.sw_bits = 0x18,
+    .format_conf.bit_reversal = 0x0,
+    .format_conf.msb_first = 0x1,
+    .format_conf.fec_mode = 0x0,
+    .format_conf.whiten_mode = 0x7,
+    .config.front_end_mode = 0x0,
+    .config.bias_mode = 0x1,
+    .config.analog_cfg_mode = 0x0,
+    .config.no_fs_powerup = 0x0,
+    .tx_power = 0x04C0,
+    .reg_override = rf_prop_overrides,
+    .center_freq = 0x0393,
+    .int_freq = 0x0999,
+    .lo_divider = 0x05

Solved, most of the magic values moved into the proper defines where `rfc_cmd_prop_radio_div_setup_t` is defined, it's more understandable now what those values are.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13295#discussion_r423120586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200511/85d6198d/attachment.htm>


More information about the notifications mailing list