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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,548件の閲覧回数
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,045件の閲覧回数
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,046件の閲覧回数
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,045件の閲覧回数
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 件の賞賛