Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks for you reply Klaus,
i want protect a sensor input, so it is a high ohmic source, and i want to protect against any wrong connection.
like you say, i put the zener on the input, and work fine with a limited current, and with a low resistence source, the zener burn.
do you know any...
I'm creating a circuit to protect an analog input, which can vary from 0 to 2.5V.
However I need divide this voltage to 2V.
And I need to protect for not exceeding 3.3 V.
I created this circuit in Multisim, simulation worked perfectly, but in practice No.
in practice, with 2V the result is...
Hey guys, I'm getting a little crazy about this problem.
Im using PIC24FJ128GB204 and four CAT24M01
In general i can read the original value (0xFF)
But i cant write the any value
And every time should receive a ACK ( Low ) i receive a NACK ( High ) (i see on the scope)
the WP in CAT24M01 is...
But in the end is set to
I2C1CONLbits.I2CEN = 0;
I2C1CONLbits.A10M = 0;
I2C1CONLbits.SCLREL = 1;
I2C1CONLbits.I2CSIDL = 1;
I2C1CONLbits.DISSLW = 1;
I2C1CONLbits.SMEN = 0;
I2C1CONHbits.SDAHT = 0;
I2C1CONLbits.I2CEN = 1;
I am using SDA1 and SCL1,
Pin 18 - TDO/C1INC/C2INC/C3INC/RP9/SDA1/T1CK/CTED4/CN21/RB9
Pin 17 - TCK/RP8/SCL1/USBOEN/CTED10/CN22/RB8
to set the I2CSEL, I followed the panel on MPLAB
I've programmed this eeprom with a PIC18F, and works fine. But for this pic i just dont know what is this "writable from SW only".
- - - Updated - - -
I am using XC16 compiler.
I2C1SEL: Alternate I2C1 Location Select bit
following the full code
#define envia_restart_i2c1()...
Hi guys,
I am using Pic24fj128gb202 on i2c aplication, but I can not make it work!
Nothing happens in the SDA/SCL pins.
I am using the following code for init
void initI2C()
{
long Fscl = 100000;
I2C1BRG = (FCY/(2*Fscl))-1; // baud rate 100 KHz
I2C1CONLbits.I2CEN = 0...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.