hussain_kiet
Full Member level 5
- Joined
- Mar 15, 2007
- Messages
- 260
- Helped
- 45
- Reputation
- 90
- Reaction score
- 28
- Trophy points
- 1,308
- Location
- Karachi, Pakistan
- Activity points
- 2,802
I have a problem with chip select(CS) pin of BMA180....Initially I set CS high, SCK high, and MOSI high....Then I start reading chip ID and it returns 03h which is ok but after sometime the voltage on CS pin drops to 1V and data is corrupted....I have used voltage divider of (560 ohms and 1k) on CS,SCK and MOSI pins as BMA180 is not 5V tolerant.
I have also tested it with transistor for CS with collector pulled up with 1k resistor to 3.3V but the problem remained.
Why is voltage dropped on CS pin only and it is Ok for SCK and MOSI pins which remains at 3.2V level??
CS pin is internally pulled up on BMA180 and I am using SPI interface.
Thanks
I have also tested it with transistor for CS with collector pulled up with 1k resistor to 3.3V but the problem remained.
Why is voltage dropped on CS pin only and it is Ok for SCK and MOSI pins which remains at 3.2V level??
CS pin is internally pulled up on BMA180 and I am using SPI interface.
Thanks