Hello,
if somebody can explain to me why the levelshifter is inserted only for the wire "MISO" in the demosheet of the SPI-Ethernet ENC28J samples?
Best regards, Helmut
Levelshifter in SPI_Ethernet Demo
Levelshifter in SPI_Ethernet Demo
- Attachments
-
- Levelshifter_PIC32.png (36.04 KiB) Viewed 1644 times
Re: Levelshifter in SPI_Ethernet Demo
If VCC3 is 3 or 3.3V and VCC3.3 is 3.3V then there should be no need for level shifting.
The 74HCT245 is a tri-state octal bus buffer and not a true level convertor and the !OE (output enable active low) pin is not connected.
I think the 74HCT245 is only required if the micro is a 5V type.
The ENC28J60 inputs are 5V tolerant, so if the micro is a 5V type only "MISO" an ENC28J60 output would need to be shifted from 3.3 to 5V levels.
The 74HCT245 is a tri-state octal bus buffer and not a true level convertor and the !OE (output enable active low) pin is not connected.
I think the 74HCT245 is only required if the micro is a 5V type.
- possibly an error on the schematic.Microchip datasheet: 'Required only if the microcontroller is operating at 5V. See Section 2.5 “I/O Levels” for more information.
The ENC28J60 inputs are 5V tolerant, so if the micro is a 5V type only "MISO" an ENC28J60 output would need to be shifted from 3.3 to 5V levels.
- slavisa.zlatanovic
- mikroElektronika team
- Posts: 1321
- Joined: 07 Apr 2009 09:39
Re: Levelshifter in SPI_Ethernet Demo
Hi!
There is a little mistake in our schematic in the Help file of the mikroBasic PRO for PIC32 compiler.
Level translator is not required. Sorry for the inconvenience. We'll fix the schematic for the next compiler release.
There is a little mistake in our schematic in the Help file of the mikroBasic PRO for PIC32 compiler.
Level translator is not required. Sorry for the inconvenience. We'll fix the schematic for the next compiler release.
Best regards
Slavisa
Slavisa