This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to wire I2C for NRF 51822 with MPU 9250.What SDK should I use?

nRF5_SDK_11.0.0_89a8197 - with MPU.7zthis is how my nRF go studio looks with example blinky and works well. nRF5_SDK_11.0.0_89a8197 - Copy.7zI am trying to wire NRF 51822 over I2C with MPU 9250. If I should use the GPIO's where should I initialize the Pins . What SDK should I use?

Parents
  • Hi,

    You can use any free/available GPIO pin you have on your board. All GPIO pins can be individually mapped to interface blocks for layout flexibility.


    I would recommend using the newest SDK version that supports the nRF51 series, which is SDK 12.3

    I would also recommend taking a look at the MPU examples found here.


  • DLL: V5.10n, compiled Feb 19 2016 18:39:11 Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 26 2016 11:30:32 Hardware: V1.00 S/N : 682936269

    • JLink Info: Found SWD-DP with ID 0x0BB11477
    • JLink Info: Found Cortex-M0 r0p0, Little endian.
    • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
    • JLink Info: CoreSight components:
    • JLink Info: ROMTbl 0 @ F0000000
    • JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
    • JLink Info: ROMTbl 1 @ E00FF000
    • JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
    • JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
    • JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
    • JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ??? ROMTableAddr = 0xF0000000

    Target info:

    Device: nRF51422_xxAC VTarget = 3.300V State of Pins: TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 1000 kHz

    Erase Done. Programming Done. Verify OK. Application running ... Flash Load finished at 14:10:45

Reply

  • DLL: V5.10n, compiled Feb 19 2016 18:39:11 Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 26 2016 11:30:32 Hardware: V1.00 S/N : 682936269

    • JLink Info: Found SWD-DP with ID 0x0BB11477
    • JLink Info: Found Cortex-M0 r0p0, Little endian.
    • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
    • JLink Info: CoreSight components:
    • JLink Info: ROMTbl 0 @ F0000000
    • JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
    • JLink Info: ROMTbl 1 @ E00FF000
    • JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
    • JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
    • JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
    • JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ??? ROMTableAddr = 0xF0000000

    Target info:

    Device: nRF51422_xxAC VTarget = 3.300V State of Pins: TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 1000 kHz

    Erase Done. Programming Done. Verify OK. Application running ... Flash Load finished at 14:10:45

Children
No Data
Related