Search Engine

Spi i2c Both

Add Question

Are you looking for?:
spi i2c , i2c spi , usb spi i2c , spi i2c protocol
36 Threads found on Spi i2c Both
i want to interface both spi and i2c devices in same pic microcontroller suppose if we have a possibility to change pins of i2cAt first sight, you could share the Data pin for both, but Clock pin should be dedicated for each one, summing therefore 3 pins for both devices.
I find this IC a bit strange and messy. I would expect this type of IC to have a digital interface so we can communicate with it via spi, i2c or some other interface. If you think so, you have chosen the wrong chip. ADI has both, accelerometers with analog and digital interfaces, simply review
hello, if you won't use i2c, you can use a RTC DS1302 in software spi mode..instead. or milan.rajik solution to use any pin to drive SCL and SDA. but SDA pin must be open collector type..
Hi horacel1, Thank you very much for your support, I understand the concept what i posted, it's solves my requirement. Thanks & Regards, Chandu.Kurapati. good, hope it works! one of the advantages of spi is that you have a chip select signal - so long as the microcontroller has spare digital outputs
You can't use pins for both spi and i2c at the same time. Well, you're going to have to write the code to implement i2c, or else find it somewhere on the web. Somebody has probably already done this. You need to have pins that are open-drain in order to implement i2c.
why the spi can archieve much higher data rate compared to i2c ?
This can be done for some of the following possible reasons: The core of your Arduino platform presumably may be 8-bit data bus. EEPROM referred on above code is an external i2c or spi whose data bus is sized to 8-bit. In both cases, scaling original acquired data to 8 bits magnitude will lose some precision after restore.
Hello everyone I am using DS1307 RTC in my project and doing C lang. Code to display time and date in Hyper terminal using RS232. but there I have found a lot problem in programming. Now I comes to know that DS1307 also work spi. Is that true? then how I can use it as spi and which pin I have to connect of it with controller. and also pl
can you help me to use both of them? i2c and spi please tell me what i must to do step by step please
I know a controller internal oscillator like in PIC is composed of RC oscillator and its frequency drifts as temperature drifts. so in UART communication we need to have an external oscillator, but is it also true in the case of spi or i2c communication?
Hi, How we can identify whether a communication (spi/i2c etc) is level triggered or edge triggered w.r.t clock?
I am confused between interface and port. Suppose USB which is taken as both port and protocol. Now a new term comes interface. See the table in the picture there are different interfaces comparison. If interface is a physical term then how can i2c and spi be interfaces? Because these are serial protocols. The other c
I am trying to read data from ADXL3445 accelerometer using PIC18F4550. The ADXL345 supports both spi and i2c interfaces. I am using spi for my project. The code I am using for reading and writing data to ADXL is as follows : #define spi_CS LATAbits.LATA5 unsigned char POWER_CTL = 0x2D; //Power (...)
Hi all. Can i use UART, spi, and i2c/TWI together at the same time on ATMEGA8535/ATMEGA16/ATMEGA32 ? The truth is i make a program that use UART, spi, and i2c together but there is some error when i test the module using UART, spi, and i2c. uC : ATmega32 spi (...)
If the distance between the processors is small, it might be easier to use the spi bus or i2c. To use can, both processors will need a can module and also a can transceiver, to interface to the can bus.
Hi Neal, Why not implement i2c or spi on the available SSP module? There are some fairly large EEPROMs available for both protocols. And if you need more digital I/O there are port expanders available as well. Getting Started with Microchip’s S
Currently, I have just tried out the software spi and i2c. both are not working. If I used the hardware based, then, i get no problem. But, I need one of them to be software based. Anyone can please help? Thanks in advance.
Here are many digital gyroscopes and accelerometers readily available, many have either i2c or spi interfaces. Checkout Sparkfun: Sparkfun Accelerometers I have also upload a datasheet/Appnote for Bosch Accelerometer and Sample Code which have both the i2c and spi interface. Hope this he
I have seen DS1302 used with both spi or i2c protocol. The chip has the I/O lines connected together so it is not exactly as the standard spi but this can be managed from a microcontroller when only this device is connected by changing the pin direction constantly. When you want to use a second spi (...)
Hi, I have a design in which I use multiple cores for connecting to different interfaces: spi, i2c, UART, etc. Each interface outputs the data to memory. I want to be able to both transmit data from the interface cores, read data from them and configure them (baud rate for example for UART). How can I do this? Can I use the Wishbone bus (...)