Camera Motion Detection Function

I bought the Edge board plus HM01B0 camera to explore this feature: “Motion Detection circuit with programmable ROI and detection threshold with digital output to serve as an interrupt.” If I understand it, it should be possible for the processor to sleep until the camera detects motion, then have the camera wake the processor. This would be valuable in many use cases.

I have the hm01b0_camera_uart example running successfully.

Two issues:

(1) Schematics. This post gives pin assignments for the FFC connector, that matches the camera data sheet:

viewtopic.php?f=153&t=50218&p=215430&hi … ra#p215482

This differs from the pin assignments in the Edge schematic on the Sparkfun website:

https://cdn.sparkfun.com/assets/2/b/7/4 … ematic.pdf

This is dated 2/25/2019, Rev. v01. Furthermore, the processor pin assignments in am_bsp_pins.h also differ from this schematic.

Where can I find the accurate schematics? (Please update your website)

(2) Software. HM01B0.c includes code that enables the camera interrupt, but it is commented out.

Where can I find information on implementing the motion detection feature, ideally with source code?