Skip to content

Hardware

fanoush edited this page Nov 14, 2018 · 19 revisions

strings dsd6-flash.bin | grep -i '\.c' | sort | uniq ..\components\ble\device_manager\device_manager_peripheral.c ..\components\libraries\simple_timer\app_simple_timer.c ..\components\libraries\timer\app_timer.c ..\components\softdevice\common\softdevice_handler\softdevice_handler.c ..\source\HeartRate\HeartRate_PAH8001.c ..\source\src\ds_clock.c ..\source\src\ds_hisdata.c ..\source\src\ds_hisdata.c ..\source\src\ds_power.c ..\source\src\ds_spi_master.c ..\source\src\ds_spi_master.c ..\source\src\ds_wdt.c ..\source\src\gclock.c ..\source\src\i2cdriver.c ..\source\src\KeyEventHandler.c ..\source\src\KeyEventHandler.c ..\source\src\kx_gsensor.c ..\source\src\main.c ..\source\src\main.c ..\source\src\MainUI.c ..\source\src\MainUI.c ..\source\src\MotorEventHandler.c ..\source\src\uartdriver.c

  • PAH8001 HR sensor
  • KX gsensor
  • i2c driver - gsensor and hr sensor?
  • spi driver - OLED?
  • uart - hopefully on USB data pins?

0x40002500:	0x00000004	0x00000000	0xffffffff	0x00000017
0x40002510:	0xffffffff	0x00000016	0x00000000	0x00000000
0x40002524:	0x009d5000

rx 0x16 22
tx 0x17 23
no parity
baudrate 38400

spi2 master sck 5 mosi 6 miso -1 speed 8mbps config msb,sample leading shift trailing,acthigh
0x40023500:	0x00000001
0x4002350c:	0x00000006
0x40023508:	0x00000005
x40023510:	0xffffffff
0x40023524:	0x80000000
0x40023554:	0x00000000

TWI2 scl 13 sda 14  speed 400kbps
0x40004500:	0x00000005
0x40004508:	0x0000000d
0x4000450c:	0x0000000e
0x40004518:	0x00000000
0x4000451c:	0x00000017
0x40004524:	0x06680000

GPIO
0x50000514:	0x36000070 DIR
0x50000508:	0x00006190 OUT
0x50000510:	0x41216040 IN no charging
0x50000518:	0x36000070
0x50000510:	0x40216044 charging
0x50000510:	0x40e16004 display on
0x50000510:	0x40e16004


Clone this wiki locally