HCS08SL::Software Realization of SPI interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HCS08SL::Software Realization of SPI interface

2,802 Views
Destiny
Contributor I
Dear Friends
         Did anybody tried for a software realisation of SPI interface?? Can anybody give me a hint how to proceed with it.
        The background is that we are having a interface of HCS08SL with a DAC (Analog device:AD5641) through an SPI (Master mode) connection. I need this software realisation of SPI since the one available with HCS08SL is already in use and cant be used for the DAC interface.
          Please help me!!
Regards
Priyant
Labels (1)
0 Kudos
Reply
4 Replies

1,222 Views
bigmac
Specialist III
Hello Priyant,
 
Within the following thread is a software SPI written in C.
 
Regards,
Mac
 
0 Kudos
Reply

1,222 Views
Destiny
Contributor I
Dear bigmac
  Thank you very much for your help... I will proceed with your code
thanks once again!!
Regards
Destiny
0 Kudos
Reply

1,222 Views
tonyp
Senior Contributor II
Here's one example (in assembly).  You'll need to modify for different polarity and phase settings.
0 Kudos
Reply

1,222 Views
Destiny
Contributor I
Dear Tonyp
  Thank you very much for your help... I will try this program and if any problem I encounter I will delinately contact you again...
thanking you again!!
Regards
Destiny
0 Kudos
Reply