---------- Forwarded message ----------
From: Walter Literowich <wlite...@gmail.com>
Date: Sat, Aug 5, 2017 at 8:15 PM
Subject: help please driver_lis3dh
To: users@riot-os.org


I’m trying to get the tests/driver_lis3dh  running  on a Nordic nrf51   using
1; a BLE400



http://www.ebay.com/itm/NRF51822-Eval-BLE400-Mother-Board-BL
E4-0-Bluetooth-2-4G-Wireless-Module-Kit-/322579874665?var=&
hash=item4b1b424369:m:m428eWQ4GIwIx9XKgxJ1D4w



interfaced to a accelerometer  cjmcu-33



http://www.ebay.com/itm/CJMCU-33-LIS33DE-Three-Axis-Accelera
ted-Speed-Meter-Module-Stable-Digital-Output-/332204857695





and



2; a CJMCU-8223 Nrf51822



http://www.dx.com/p/cjmcu-8223-nrf51822-lis3dh-bluetooth-acc
eleration-module-purple-449109#.WYZbu4QrJQI





my problem is that I cannot get any output from term  - it seems to lock
out without any output



I’m trying to debug it with gdb , put having got the skills to really
understand its output



============================================================
===================

0x000015c0 in spi_transfer_bytes (bus=bus@entry=0, cs=cs@entry=30,

    cont=cont@entry=true,

    out=out@entry=0x200009f7 <main_stack+1343>,

    in=in@entry=0x0 <interrupt_vector>, len=len@entry=1)

    at /home/vagrant/RIOT/cpu/nrf5x_common/periph/spi.c:107

#0  0x000015c0 in spi_transfer_bytes (bus=bus@entry=0,

    cs=cs@entry=30, cont=cont@entry=true,

    out=out@entry=0x200009f7 <main_stack+1343>,

    in=in@entry=0x0 <interrupt_vector>, len=len@entry=1)

    at /home/vagrant/RIOT/cpu/nrf5x_common/periph/spi.c:107

#1  0x00001680 in spi_transfer_regs (bus=0, cs=30,

    reg=reg@entry=207 'Ï', out=out@entry=0x0 <interrupt_vector>,

    in=in@entry=0x20000a37 <main_stack+1407>, len=len@entry=1)

    at /home/vagrant/RIOT/drivers/periph_common/spi.c:68

#2  0x00001298 in lis3dh_read_regs (

    dev=dev@entry=0x20000a60 <main_stack+1448>,

    reg=reg@entry=LIS3DH_REG_WHO_AM_I, len=len@entry=1 '\001',

    buf=buf@entry=0x20000a37 <main_stack+1407> "")

    at /home/vagrant/RIOT/drivers/lis3dh/lis3dh.c:241

#3  0x00001444 in lis3dh_init (

    dev=dev@entry=0x20000a60 <main_stack+1448>,

    params=params@entry=0x2740 <lis3dh_params>)

    at /home/vagrant/RIOT/drivers/lis3dh/lis3dh.c:55

#4  0x00000fa8 in main ()

    at /home/vagrant/RIOT/tests/driver_lis3dh/main.c:50

Continuing.







I been at this for several days without any success of understanding of the
problems or issues





The header files have been set up for both the boards and peripherals





Thanks for your help and responses
_______________________________________________
users mailing list
users@riot-os.org
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to