Jump to content
  • 0

FIFO external input microblaze output


raultricking

Question

Hi guys, 

Im using microblaze for ethernet purposes: UDP real time communication with my PC ( send audio from 4 microphones directly to PC  ~5Mbps). My goal is to have a real-time (or almost) communication with my pc trough UDP ( Pyhton UDP Client in PC ).I already implemented the UDP server in the FPGA using LWIP stack and an I2S Controller for the microphones, but now im stuck at joining both parts of the project:

 

-i receive a sample from the microphones every 25 us , and i prepare an UDP packet of a certain number of samples to send, but calling my function udp_transfer() to transfer the data on microblaze delays more than 25 us, so i lose samples on this loop           [ receive (realtime) -> fill UDP packet -> send  ]

 

 i think i need to implement a buffer ( FIFO or something) to store a certain number of samples so i wont lose samples in the transmision loop.

Any ideas of how implementing a FIFO driven by an external vhdl block (my I2S receiver ) but that i  easily could access from microblaze ? 

 

 

thanks to everybody and thanks to @PhDev , @zygot , @D@n , @xc6lx45 for replying my last question ? 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...