PSoC1 , Sensor Accelerometer and Magnetometer FXOS8700CQ

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi every body!

   

Did you do any project about Sensor Accelerometer and Magnetometer FXOS8700CQ  (I2C or SPI)?

   

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FXOS8700CQ

   

I want understand clearly about ±2g/±4g/±8g mode. Is  g =  9.81 m/s2 ?

   

Can you please tell me?

   

Many thanks!

0 Likes
14 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Yes, the (adjustable) sensitivity of the chip is expressed in g = 9.81 ms-2

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

g is earths gravitational constant -

   

 

   

    

   

          http://en.wikipedia.org/wiki/Gravitation

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Thanks Bob and Dana!

   

I'm doing a project PSoC CY8C24123A with FXOS8700CQ .

   

Link refer:

   

https://community.freescale.com/docs/DOC-101073

   

http://www.cypress.com/?id=4&rID=60581

   

Currently, contents of project:

   

- Get X,Y,Z data of sensor Accelerometer (Communication between FXOS8700CQ and PSoC is I2C).

   

Value of register: 0x01-0x06 of FXOS8700CQ  (refer FXOS8700CQ .h).

   

SLA (Slave adress) of FXOS8700CQ  is 0x1E. SA0 & SA1 pin connect to GND.
-Then send data to PC via RS232 circuit or  RS485 circuit (using TX8 user module)

   

But I can't get any value of register.

   

I tried another project: PSoC send data to PC well.

   

I think I active I2C between PSoC and FXOS8700CQ  incorrect!

   

Can you check my project, please?

   

Below it is my project.

   

Many thanks!

0 Likes
Anonymous
Not applicable

Sorry, it is!

   

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Do not use Chrome to post, use IE or Firefox. Chrome has a problem.

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

I have just used firefox.

   

My project is created on PSoC designer 5.4.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Usually reading from registers of an I2C-device is done as one transaction, so

   

fSendStart(Write)

   

fWrite(Register)

   

fSendRepeatStart(Read)

   

bRead(Ack);bRead(ack)... bRead(NAK)

   

SendStop()

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If you do not have a logic analyzer here is a cheap one that works great,

   

and has decoders for various serial link evaluation.

   

 

   

    

   

          

   

http://www.ebay.com/itm/USB-Logic-Analyzer-Device-Set-USB-Cable-24MHz-8CH-24MHz-for-ARM-FPGA-USA-Sel...

   

 

   

https://www.saleae.com/downloads

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Thanks for your helps!

0 Likes
Anonymous
Not applicable

Dana,

   

you suggest a logic analyzer from ebay. Does it come with the software on a CD-ROM?

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

www.saleae.com/downloads is the site to download SW from.

   

 

   

One issue I found, it has no protection ciruits on its inputs for overvoltage,

   

so be sure your logic inputs do not exceed 5V or you will hose the analyzer

   

chip. Some folks are making simple diode-R external networks for each input

   

on a simple breadboard so they can handle over/under voltage "accidents".

   

 

   

I have 2 of these analyzers, work great.

   

 

   

Regards, Dana.

0 Likes

These are great analyzers, highly recommend.

0 Likes
Anonymous
Not applicable
0 Likes
rgpace
Level 1
Level 1
5 replies posted First reply posted First question asked

Hi, did you ever get this working for you?  If so, can you share with me your project code?  Thanks, Ron

0 Likes