博世BMI160驱动程序 C语言编程,TIM_TimeBase 博世 Bmi160驱动串口输出 - 下载 - 搜珍网...

TIM_TimeBase/.cproject

TIM_TimeBase/.project

TIM_TimeBase/.settings/org.eclipse.cdt.managedbuilder.core.prefs

TIM_TimeBase/.settings/org.eclipse.core.resources.prefs

TIM_TimeBase/CSpyServer.log

TIM_TimeBase/driver/bmi160.c

TIM_TimeBase/driver/bmi160.h

TIM_TimeBase/driver/flash.c

TIM_TimeBase/driver/flash.h

TIM_TimeBase/driver/gpio.c

TIM_TimeBase/driver/gpio.h

TIM_TimeBase/driver/spi.c

TIM_TimeBase/driver/spi.h

TIM_TimeBase/driver/sys.c

TIM_TimeBase/driver/sys.h

TIM_TimeBase/driver/sysclock.c

TIM_TimeBase/driver/sysclock.h

TIM_TimeBase/driver/systick.c

TIM_TimeBase/driver/SysTick.h

TIM_TimeBase/driver/timer.h

TIM_TimeBase/driver/timer2.c

TIM_TimeBase/driver/timer3.c

TIM_TimeBase/driver/uart.c

TIM_TimeBase/driver/uart.h

TIM_TimeBase/driver/user_data.h

TIM_TimeBase/driver/Variable_define.c

TIM_TimeBase/driver/Variable_define.h

TIM_TimeBase/interface/Algorithm.c

TIM_TimeBase/interface/Algorithm.h

TIM_TimeBase/interface/CmdProcess.c

TIM_TimeBase/interface/CmdProcess.h

TIM_TimeBase/Libraries/startup_stm32f30x.s

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_adc.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_adc.h~RF8fb80b.TMP

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_can.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_cec.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_comp.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_crc.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_dac.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_dbgmcu.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_dma.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_exti.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_flash.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_gpio.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_i2c.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_iwdg.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_misc.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_pwr.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_rcc.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_rtc.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_sdadc.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_spi.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_syscfg.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_tim.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_usart.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/inc/stm32f37x_wwdg.h

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_adc.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_can.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_cec.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_comp.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_crc.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_dac.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_dbgmcu.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_dma.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_exti.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_flash.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_gpio.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_i2c.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_iwdg.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_misc.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_pwr.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_rcc.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_rtc.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_sdadc.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_spi.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_syscfg.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_tim.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_usart.c

TIM_TimeBase/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f37x_wwdg.c

TIM_TimeBase/Project/main.c

TIM_TimeBase/Project/main.h

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/settings/TIM_TimeBase.dbgdt

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/settings/TIM_TimeBase.dni

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/settings/TIM_TimeBase.TIM_TimeBase.cspy.bat

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/settings/TIM_TimeBase.wsdt

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/settings/TIM_TimeBase.wspos

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/settings/TIM_TimeBase_TIM_TimeBase.jlink

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/stm32f30x_flash.icf

TIM_TimeBase/Project/Peripheral_Examples/TIM_TimeBase/EWARM/TIM_TimeBa

全志R58的官方开发板加载bmi160驱动的步骤3B.txt 开发板:全志R58的官方开发板R58_PER3_LPDDR3_32X1_V1_1.pdf(板载加速度传感器bma250) 目标:外挂bmi160模块可以检测到加速度和角速度(acc+gyr/加速度传感器+陀螺仪) BSP:r58_20160823.tar.gz(2016/8/22从全志的git服务器拿下来的系统) 显示:HDMI输出1080p分辨率的LCD显示器。 计划步骤: 1、打通开发板上的bma250(证明开发板硬件是好的。全志官方的BSP也是好的。) 2、将驱动程序bma250.c中的bma250全部替换为bmi160,验证是可以加入新的gsensor的(陀螺仪类似)。 3、借用bma250.c这个驱动程序,初始化的部分修改为初始化bmi160,调通BMI160的gsensor部分。 4、完善全志/博世提供的bmi160驱动程序,调通BMI160的gsensor部分。 (陀螺仪部分鱼刺类似,陀螺仪部分借用l3gd20.c来验证bmi160的gyr部分) 下面进行第三步:借用bma250.c这个驱动程序,初始化的部分修改为初始化bmi160,调通BMI160的gsensor部分。 为了方便观察,直接注释掉除了bma250之外的全部的gsensor: Z:\home\wwt\only_bma250_r58\android\device\softwinner\common\hardware-common\libhardware\libsensors\aw_sensors\sensorDetect.cpp struct sensor_extend_t gsensorList[] = { { { "bma250", LSG_BMA250, }, { "Bosch 3-axis Accelerometer", "Bosch Sensortec", 1, 0, SENSOR_TYPE_ACCELEROMETER, 4.0f*9.81f, (4.0f*9.81f)/1024.0f, 0.2f, 0,0,0, { }, }, }, }; Z:\home\wwt\only_bma250_r58\android\device\softwinner\octopus-perf\configs\gsensor.cfg ;Direction parameter adjustment, including the x, y, z axis, and xy interchange four variables, ;the name of the module used for identification, and drive registered name consistent ;-------------------------- ;name:bma250 ;-------------------------- gsensor_name = bma250 gsensor_direct_x = false gsensor_direct_y = true gsensor_direct_z = true gsensor_xy_revert = true Z:\home\wwt\only_bma250_r58\android\device\softwinner\octopus-perf\BoardConfig.mk #gsensor & Gyr sensor SW_BOARD_USES_SENSORS_TYPE = aw_sensors 注意:lunch的f1选项在HAL层中使用的ST的9轴(ACC+GYR+MAG)传感器。 #gsensor & Gyr sensor SW_BOARD_USES_SENSORS_TYPE = lsm9ds0 Z:\home\wwt\only_bma250_r58\android\device\softwinner\octopus-perf\init.sun8i.rc on boot # use automatic det
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值