sx126x_driver icon indicating copy to clipboard operation
sx126x_driver copied to clipboard

local return variables size at sx126x.c not matching datasheet

Open kfirbendic opened this issue 2 months ago • 0 comments

There seems to be a mismatch between the size of the local arrays that hold the return value at functions in sx1262.c and the actual return value as it is states in the datasheet https://semtech.my.salesforce.com/sfc/p/#E0000000JelG/a/2R000000Un70/ZHJLT5MqbYVJJZCeCYgXjCek0iAq88aBOmZOU6Vgskk some functions that I can point to are: sx126x_get_irq_status- the irq_local is 2 byte size although the spi transction return 4 bytes (RFU, status, IrqStatus(15:0)) sx126x_get_gfsk_pkt_status - pkt_status_local is 3 bytes, although the spi transction return 5 bytes sx126x_get_rssi_inst - rssi_local is 1 although the spi transction return 3 bytes

kfirbendic avatar Apr 22 '24 07:04 kfirbendic