StarGate01 / p8b-infinitime

Run InfiniTime & Bootloader on the P8 smartwatch
MIT License
20 stars 2 forks source link

P8 hybrid watch #2

Closed ildar closed 1 year ago

ildar commented 2 years ago

I've P8 watch bought at mid-2020 (manufacturer's code MOY-TIN5). Tried both of your P8a and P8b FW.

  1. with P8a FW: works fine except doesn't see Accel. About screen reports Accel: ???
  2. with P8b FW: touch works for swype but NOT for taps. So I can't check if the Accel works. About screen reports I have Accel: SC7A20, touch: b4.0.2.

It seems I have a "chimera" P8 )))

BTW it's worth having the HW info stored somewhere, I like that site: https://smarterwat.ch/soc-list/nordic-semiconductor/p8.html . You can expand that or I can do that. If you want, you can catch me in Matrix/Gitter.

ildar commented 2 years ago

I've made a small change as you suggested and it worked just fine. Built with:

cmake -DTARGET_DEVICE=P8A -DBUILD_DFU=true ..

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 47f85c8a..704550a2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -805,7 +805,7 @@ if(TARGET_DEVICE STREQUAL "PINETIME")
 elseif(TARGET_DEVICE STREQUAL "P8A")
   add_definitions(-DCLOCK_CONFIG_LF_SRC=1) # XTAL
   add_definitions(-DDRIVER_TOUCH_GESTURE)
-  add_definitions(-DDRIVER_ACC_BMA421)
+  add_definitions(-DDRIVER_ACC_SC7A20)
 elseif(TARGET_DEVICE STREQUAL "P8B")
   add_definitions(-DCLOCK_CONFIG_LF_SRC=0) # RC
   add_definitions(-DMYNEWT_VAL_BLE_LL_SCA=500)

Thanks

StarGate01 commented 2 years ago

Thank you for testing, I will add the profile in a few days when I return home.

How do you suggest calling this model? P8BG?

ildar commented 2 years ago

Fixed my post above. I just found that:

  1. my P8 HAS the LF osc;
  2. my P8 fails to work with BLE using P8b FW
StarGate01 commented 2 years ago

Please test the new 1.9.0.3 MOY-TIN5 release: https://github.com/StarGate01/p8b-infinitime/releases/tag/v1.9.0.3 .

ildar commented 1 year ago

Hi! I'm sorry for disappearing. I finally installed the latest moy-tin5 FW and it works great. Thanks. I'll close this issue.

ildar commented 1 year ago

Unfortunately the latest 1.11.0 works only by 95%: BLE doesn't work. Scan doesn't see the device. Rolling back to 1.10. Thanks a lot for your builds.

StarGate01 commented 1 year ago

Thanks for your report. This is still for the MOY-TIN5?

ildar commented 1 year ago

yes, same watch.