Hi ,I am using nrf52 DK with mpu9255.I am using source code given here here.of this link,I have taken 'nrf5-ble-data-ready-interrupts' example .code builts fine in keil v5 though.I am not getting accel values.
help will be appreciated.
Hi ,I am using nrf52 DK with mpu9255.I am using source code given here here.of this link,I have taken 'nrf5-ble-data-ready-interrupts' example .code builts fine in keil v5 though.I am not getting accel values.
help will be appreciated.
hi,
did u done all the things as mentioned below. still if you are not getting values what is the error code.
regards
hi,yes i have done all these steps.Code runs without error.Before getting data i need to connect it to device name " MPU BLE" as given in example.I cant see device name "MPU BLE" in nrf connect application.
.
hi,
did you correctly interfaced the mpu 9255 in spi pins with your dk.
hi,
go to the link https://devzone.nordicsemi.com/f/nordic-q-a/30832/to-collect-multiple-sensor-values-and-transmit-it-over-bluetooth-using-nrf52840-dk
download the mpu.zip file. i have uploaded that. just extract that go to examples-->peripherals-->ble_app_template. compile it. define mpu 9255 in target menu. define spi.
i have done it for nrf52840 using twi.
if you want it for nrf52832. just correctly connect your mpu9255 in spi pin of your dk. no need to modify anything in the program just load it.
regards
I have interfaced as shown in image attached.There is one more issue,when I try to flash the code into nrf52 dk with this connction,Its shows error as " jlink error could not find core in coresight".I have connected GND of mpu9255 to one of GND on nrf52dk
hi,
so you are using nrf52840. if yes just go to the link and download the file and do the modification as i mentioned. if it is not working just try it with i2c the i2c pin for nrf52840 i have mentioned is 27 scl and 26 sda.
regards
hi,
may i know for what you need external memory?
hi,i am using these pins i.e P0.17, P0.19 , P0.21, P0.20 as spi pins as any of GPIO pins can be used for spi/twi
yes you can use any gpio for spi/twi. i have got succeed using twi. the sdk i used is 14.2. so only i mentioned you to try with twi first. for that you no need to do any modification rather than # define mpu 9255 in target menu. if i want to check in spi i need couple of days to do it.
regards
hi,please confirm me with these mentioned pins which i am using for spi to interface with dk board.