What is the default configuration for FRDM-STBC-AGM01 ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

What is the default configuration for FRDM-STBC-AGM01 ?

跳至解决方案
1,522 次查看
Amit_Kumar1
Senior Contributor II

Hi

I have just Bought FRDM-STBC-AGM01 board. I wanted to configure it to FRDM-K20D50M. I was a bit confused as by default what is the configuration are both sensors configured for I2C or SPI?  And what is the jumper being used for ie J5, J6 and J7 in FRDM-STBC-AGM01 ? Thanks

 

Regards

Amit

标签 (1)
1 解答
1,019 次查看
michaelestanley
NXP Employee
NXP Employee

Amit,

Both sensors are controlled via I2C by default.  If you look at the schematic (attached), you will see options (not populated) for SPI.

  • J5 controls the RST_21002.  1:2=RST_GPIO (A3 on the Arduino header J10), 2:3 uses RST_MCU (Pin 3 on the J9 header)
  • J6 selects SCL1_SCLK.  1:2=I2C_SCL0 (D15 on the Arduino header J2).  2:3=I2C_SCL1 (A5 on the Arduino header J10)
  • J7 selects SDA1_MOSI.  1:2=I2C_SDA0 (D14 on the Arduino header J2).  2:3=I2C_SDA1 (A4 on the Arduino header J10)
  • The FXOS8700CQ is at address 0x1E.  The FXAS21002CQ is at address 0x20.

Suggested settings:

  • Jumpers J7 and J6 (near the USB connection) should have their jumpers on the right hand side to use I2C bus 1: ie I2CSDA1 and I2CSCL1 positions.
  • Jumper J5 (far side of board) should be in position RST_MCU

Regards,

Mike

在原帖中查看解决方案

2 回复数
1,020 次查看
michaelestanley
NXP Employee
NXP Employee

Amit,

Both sensors are controlled via I2C by default.  If you look at the schematic (attached), you will see options (not populated) for SPI.

  • J5 controls the RST_21002.  1:2=RST_GPIO (A3 on the Arduino header J10), 2:3 uses RST_MCU (Pin 3 on the J9 header)
  • J6 selects SCL1_SCLK.  1:2=I2C_SCL0 (D15 on the Arduino header J2).  2:3=I2C_SCL1 (A5 on the Arduino header J10)
  • J7 selects SDA1_MOSI.  1:2=I2C_SDA0 (D14 on the Arduino header J2).  2:3=I2C_SDA1 (A4 on the Arduino header J10)
  • The FXOS8700CQ is at address 0x1E.  The FXAS21002CQ is at address 0x20.

Suggested settings:

  • Jumpers J7 and J6 (near the USB connection) should have their jumpers on the right hand side to use I2C bus 1: ie I2CSDA1 and I2CSCL1 positions.
  • Jumper J5 (far side of board) should be in position RST_MCU

Regards,

Mike

1,019 次查看
Amit_Kumar1
Senior Contributor II

Thanks Michael For your help was able to interface it with FRDM-K20D50M board. all the sensor values I am able to find. Thanks

Regards

Amit

0 项奖励