- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the (adjustable) sensitivity of the chip is expressed in g = 9.81 ms-2
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, it is!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do not use Chrome to post, use IE or Firefox. Chrome has a problem.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you do not have a logic analyzer here is a cheap one that works great,
and has decoders for various serial link evaluation.
https://www.saleae.com/downloads
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dana,
you suggest a logic analyzer from ebay. Does it come with the software on a CD-ROM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These are great analyzers, highly recommend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, did you ever get this working for you? If so, can you share with me your project code? Thanks, Ron