I'm the using a DSPIC33EP512MU810.
It has 2 channels I2C.
I need to use 2 independent channels for hardware.
When active channel 1 in Flowcode it enables RG3 pins (SDA) and RG2 (SCL);
however in microcontroller datasheet these pins are D + and D- for USB I am correct?
This wrong in Flowcode? What are the physical pins of the I2C channels that microcontroller?
Grateful;
Ricardo.
doubts about dspic33ep512mu810 and I2C
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: doubts about dspic33ep512mu810 and I2C
Hello Ricardo,
I2C is all master driven so you can use software channels with no significant down side. This will let you choose whatever pins you want to use.
Looking at the datasheet I can only see the pin connections for the ASDA1/ASCL1 pins i.e. the alt pins.
I2C is all master driven so you can use software channels with no significant down side. This will let you choose whatever pins you want to use.
Looking at the datasheet I can only see the pin connections for the ASDA1/ASCL1 pins i.e. the alt pins.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel