This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem in getting the values of sensor

FormerMember
FormerMember

Hi I am presently working on MPU92/65 sensor interfacing with TWI/I2C.

i am using nRF51822 EK with soft device s130_nRF51_2.0.0(id:0x0080) and nRF5 SDK v12.2.0 and keil u vision5.

i am using termite 3.3 to observe the values.

I was taken nrf5-ble-mpu-simple programme (C:SDK_11.0.0\examples\nrf5-mpu-examples-master\nrf5-ble-mpu-simple\pca10028\s130\arm5_no_packs\twi).in compling and flashing i don't have any problem.

After flashing in termite it was displaying only [1B][2J[1B][;HMPU BLE simple example. Compiled @ 18:44:01.

Except that It was not showing any values.Screenshot (6).png(/attachment/b7fd132b7925f99730ecbbab2387e8a7) thanks in advance

Parents
  • Hi. Have you connected your device with e.g. a phone? No values will be printed to the terminal before a BLE connection has been established. You can see that the timer that starts each measurement i started on the BLE_GAP_EVT_CONNECTED event in on_ble_evt().

    The weird characters in the beginning of the welcome message are supposed to clear the terminal screen. However, these are so called ASCII escape characters that apparently don't work in Termite. I use Tera Term which seems to work fine.

Reply
  • Hi. Have you connected your device with e.g. a phone? No values will be printed to the terminal before a BLE connection has been established. You can see that the timer that starts each measurement i started on the BLE_GAP_EVT_CONNECTED event in on_ble_evt().

    The weird characters in the beginning of the welcome message are supposed to clear the terminal screen. However, these are so called ASCII escape characters that apparently don't work in Termite. I use Tera Term which seems to work fine.

Children
No Data
Related