Thx but as I said I want a IC that have interface with micro just through one pin but as you know better than me in MAX350 we should connect 3 pins (DIN , SCLK , CS) and as I said before I have just 1 pin others are busy .please advice me a multiplexer IC with 1 pin contactTry MAX350. But what about SPI clock and all??
Use can also use serial to parallel shift register. But you need another pin to control the output.
Hope this helps.
Good Luck.
Thx but as I said I want a IC that have interface with micro just through one pin but as you know better than me in MAX350 we should connect 3 pins (DIN , SCLK , CS) and as I said before I have just 1 pin others are busy .please advice me a multiplexer IC with 1 pin contact
I want to control 16 LED with a pin of my PIC because I don't have extra pins and the others pin are busy so can you advice me any multiplexer IC that I can connect it to my PIC via SPI and turn on and turn off LEDs
I want to control 16 LED with a pin of my PIC because I don't have extra pins and the others pin are busy so can you advice me any multiplexer IC that I can connect it to my PIC via SPI and turn on and turn off LEDs
....as I said I want a IC that have interface with micro just through one pin but as you know better than me in MAX350 we should connect 3 pins (DIN , SCLK , CS) and as I said before I have just 1 pin others are busy .please advice me a multiplexer IC with 1 pin contact
I think your solution is the nearest way for my request please give me example and schematic because I don't have any idea for applying your solutionIf you only have one pin to spare then your going to need to use an asynchronous protocol such as RS232. You could have a second microcontroller that receives the Tx signal via UART and is dedicated to controlling your 16 LED's. Work out some basic protocol which you can send to the second micro to control the LED's.
If the free pin is not a dedicated hardware UART pin you will need to bit-bang the Tx signal. There should be plenty of sample code out there. You could possibly also use Manchester encoding such as is used in RC5 remote control transmissions. There a lot of code examples on here on how to decode these.
please explain more what is CPLD ? is it an IC ?You could use a CPLD. In CPLD side, there will be two inputs, one is from MCU and the other is from crystal as input CLK. You could define instruction from these two signals. Then you could control many LEDs.
as I said I don't enough pin , exactly one of my PIC pin is available so I ask you to advice me a IC that I can use it my project and drive LEDs , this IC should need just one pins of micro . I hope my explanation be completed .Actually your requirement in the first post wasn't very clear.
Alex
....as I said I don't enough pin , exactly one of my PIC pin is available so I ask you to advice me a IC that I can use it my project and drive LEDs , this IC should need just one pins of micro . I hope my explanation be completed .
[/COLOR]
please explain more what is CPLD ? is it an IC ?
thx, do you think , is there a shift register with 16 bit parallel out put ?If you have one pin available you can use it for device select (SS) and connect the clock (SCLK) and data line (MOSI) in parallel since this is not a problem in SPI.
This can be done assuming that the SPI pins are already used with SPI and the mcu is the master
**broken link removed**
when I send 00000001b through SPI to shift register it makes the first pin 5v and other pins 0 volt ,right ?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?