Is the CS pin on the accelerometer connected or not?
#1
Here's the document: https://files.pine64.org/doc/Pinecil/Pin...220608.pdf

I also notice that PS doesn't exist in the datasheet for the SC7A20, that pin is NC, although finding an English version was slightly hard, maybe there are different versions?

I used this as a reference for a custom board using it, before I was able to find an english datasheet, figuring that the pinecil is probably the most famous trusted application and whatever it does is probably right, but I'm having some issues getting it to work... Any advice?

Is this an old version of the schematic or something? I also just now noticed it says BMA223, which I apparently glossed over thinking it was a part of the package code, but actually that's a completely different accelerometer chip, so something funny seems to be occuring.

The SC7A20 needs CS pulled high, as far as I can tell from the other datasheet, and on my boards, the chip doesn't seem to be responding to an I2C scan.


Attached Files Thumbnail(s)
   
  Reply
#2
(10-09-2024, 04:15 AM)EternityForest Wrote: Here's the document: https://files.pine64.org/doc/Pinecil/Pin...220608.pdf

I also notice that PS doesn't exist in the datasheet for the SC7A20, that pin is NC, although finding an English version was slightly hard, maybe there are different versions?

I used this as a reference for a custom board using it, before I was able to find an english datasheet, figuring that the pinecil is probably the most famous trusted application and whatever it does is probably right, but I'm having some issues getting it to work... Any advice?

Is this an old version of the schematic or something?  I also just now noticed it says BMA223, which I apparently glossed over thinking it was a part of the package code, but actually that's a completely different accelerometer chip, so something funny seems to be occuring.

The SC7A20 needs CS pulled high, as far as I can tell from the other datasheet, and on my boards, the chip doesn't seem to be responding to an I2C scan.

The CS pin only apply in 3 or 4 wire SPI mode. For i2C, this pin is NC per pin 10 CS description on Chinese datasheet page 6.
  Reply
#3
Thank you so much for the info! I think I may have found part of my issue, I was using an LIS2DH12 library to try to talk to it, but it seems like the have a different ID value in the IronOS code. I might actually be able to get this working!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Why power MOSFETs connected weird way? RuTrainsurfer 0 1,061 11-23-2022, 12:57 PM
Last Post: RuTrainsurfer

Forum Jump:


Users browsing this thread: 1 Guest(s)