bl_iot_sdk
bl_iot_sdk copied to clipboard
BL702 PIR
Hi, I would like to ask how PIR peripheral can be used with BL702?. I already saw: https://github.com/bouffalolab/bl_iot_sdk/issues/43 But I also saw that it can be done via firmware.
- Which pins can be associated with PIR?
- Can it work with PIRs without amplifier (analog ones)?
That would explain
BL_Err_Type HBN_Set_PIR_Threshold(uint16_t threshold)
function. - Does hardware allow to use it as normal interrupt or is it provided just as a source to wake-up MCU?