Sending binary data from Matlab to FPGA using the serial port

Guest #3822008
Rate this post
useful
not useful
Hello,
In fact, I'm working on a project which aims to implement a 
reconfigurable Zigbee tranceiver on XUPV5-LX110T Evaluation platform 
which integrates a Virtex 5 FPGA. I am currently in the phase of real 
test, so now I just want to test my transmitter.
First, I want to send my binary data from Matlab (computer) to FPGA. The 
medium of communication is the RS232 serial link. Is there a solution in 
Matlab (communication protocol) that sends a binary stream on this port 
knowing my main entrance on FPGA is 4 bits?
Secondly, how to create a PRBS (Pseudo Random Binary Sequence) in Matlab 
(an output of 4 bits) to integrate it into the communication protocol?
And thank you in advance for everyone.
Regards,
Isamel
Moderator (Company: Titel) #4314010
Rate this post
useful
not useful
Isamel wrote:
> Is there a solution in Matlab (communication protocol) that sends a
> binary stream on this port knowing my main entrance on FPGA is 4 bits?
Is the computers interface able to handle that specific 
"4-bit-transmission"?
RS232 is a byte oriented interface. I don't think that your 
"matlab-computer" is able to transmit half-bytes.
You will have to wrap your specific data into your specific protocol. 
And you will have to decode that protocol in the FPGA...

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now