Bit Banging on MC1321x-SRB

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

Bit Banging on MC1321x-SRB

Jump to solution
2,359 Views
ppanicker
Contributor I

Hi,

 

I want to interface MC1321x-SRB to CS5463 which is a power IC to measure apparent power, using software SPI.

 

Can somebody help me out with this? Can you tell me which pins are required to to achieve software SPI and also small snippet of C code.

 

 

Thanks in advance

Labels (1)
0 Kudos
Reply
1 Solution
810 Views
peg
Senior Contributor IV

Hello,

 

Perhaps if you tell us what was lacking in the results you obtained by putting the words "bit bang SPI" in the search box at the bottom of the page before you made this post, we might be able to assist you more accurately.

 

View solution in original post

0 Kudos
Reply
4 Replies
810 Views
ppanicker
Contributor I

Hi Peg,

 

Can you help me with a C code snippet? I want to be able to set the CS5463 SPI module timing parameters using the GPIO lines of HCS08. And then read from a register of CS5463.

 

Thanks,

Poornima

0 Kudos
Reply
810 Views
bigmac
Specialist III

Hello Poornima,

 

If you use the search box as Peg suggested, it is possible that you will find the sample code snippet that you require.

 

Regards,

Mac

 

0 Kudos
Reply
810 Views
ppanicker
Contributor I

Hi,

 

I want some C code, to get myself started with CS5463, to read any register value of IC5463 and also to set the SPI timing parameters correctly.

 

 

Thanks,

Poornima 

0 Kudos
Reply
811 Views
peg
Senior Contributor IV

Hello,

 

Perhaps if you tell us what was lacking in the results you obtained by putting the words "bit bang SPI" in the search box at the bottom of the page before you made this post, we might be able to assist you more accurately.

 

0 Kudos
Reply