M
methi
Guest
Hi..
I am working with xc3s400...my fpga takes in an input "MOSI" from a
microcontroller and another input "SCK"...
These 2 inputs r used for serial communication between the two
devices..
At this clock, "SCK" serial data is transferred to the FPGA through
"MOSI"...
Its an 8 bit value transferred serially
But this 8 bit value needs to be assigned to different variables inside
the FPGA..
So I was thinking tat i could use 2 successive 8 bit values, one
carrying an addr and one carrying the data information
So depending on this addr, the respective variables inside the fpga are
assigned values
I need to do this in vhdl...
Any suggestions or ideas are welcome...
Thank you,
Methi
I am working with xc3s400...my fpga takes in an input "MOSI" from a
microcontroller and another input "SCK"...
These 2 inputs r used for serial communication between the two
devices..
At this clock, "SCK" serial data is transferred to the FPGA through
"MOSI"...
Its an 8 bit value transferred serially
But this 8 bit value needs to be assigned to different variables inside
the FPGA..
So I was thinking tat i could use 2 successive 8 bit values, one
carrying an addr and one carrying the data information
So depending on this addr, the respective variables inside the fpga are
assigned values
I need to do this in vhdl...
Any suggestions or ideas are welcome...
Thank you,
Methi