Skip to content

lora driver: SX1276 reports incorrect RSSI #770

Open
@davefes

Description

@davefes

Maintainer edit: Continuation from discussion at https://github.com/orgs/micropython/discussions/12989

For a Hope Radio RF96 (RFM96W) the RSSI readings seem to calculated incorrectly. I generally see about -110dBm where errors start creeping-in. Two other Micropython LoRa implementations report -120 or thereabout dBm for similar "errors*.

Is the formulae:

# units: dBm
rx_packet.rssi = self._reg_read(_REG_PKT_RSSI_VALUE) - (157 if self._pa_boost else 164)

valid for this chip? I do not understand why pa_boost is in this formulae.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions