We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear All, I am using Silabs 8051F340 processor to which a temperature and humidity sensor(sensirion) is interfaced. This sensor is interfaced using I2C like(2 wire serial) protocol. Code works fine when it gets power from debug adapter.(Background debug disabled but only power is allowed to circuit).But when board is connected to independent power supply of 5V the part of code which communicates to sensor, generates error condition. I also tried downloading other codes to same board(outputting data to serial port..etc) which works fine with independent power supply.
I checked my RESET circuit as well; it's okay. Is it something timing related issue? I am also giving a delay of 4 seconds before communicating to sensor to stabilize power supply. But it's not at all responding to independent power supply. Sensor interface generates error(other part of code responds okay though). Kindly Help. Thank you, Ameya
I am using Silabs 8051F340 processor ... connected to independent power supply of 5V the SILabs parts are 3V3 parts and if it still works after being connected to 5V you are VERY lucky. Even if it 'works', I would replace it, it will be severely weakened.
I checked my RESET circuit as well; it's okay. How do you know? do you have the reset pulled up by ~1k and no cap there?
Erik
the SILabs parts are 3V3 parts and if it still works after being connected to 5V you are VERY lucky.
Wrong as usual, I'm afraid.
oh, this is one of those with a regulator built in, but still a 3V3 part. Well then the mystery maybe is solved. If the regulator is disabled it will give this exact effect since the pod connect 3V3 to the chip.
Erik,
I am giving 5V input to REGIN pin; which accepts 5V. chip has internal regulator which convert it to 3V3.
- Ameya