bl_iot_sdk icon indicating copy to clipboard operation
bl_iot_sdk copied to clipboard

BL702 PIR

Open Jatsekku opened this issue 1 year ago • 0 comments

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.

  1. Which pins can be associated with PIR?
  2. Can it work with PIRs without amplifier (analog ones)? That would explain BL_Err_Type HBN_Set_PIR_Threshold(uint16_t threshold) function.
  3. Does hardware allow to use it as normal interrupt or is it provided just as a source to wake-up MCU?

Jatsekku avatar Mar 23 '23 00:03 Jatsekku