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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
6,082 Views
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

Labels (1)
1 Solution
5,579 Views
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

View solution in original post

2 Replies
5,580 Views
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

5,579 Views
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 Kudos
Reply