Altera_Forum
Honored Contributor
20 years agoProblem with Peripheral Communication
Hello,
i'm using the SOPC-Builder version 4.2 Build 178. I have created a Custom Peripheral with the new component wizard. This peripheral has a avalon tristate slave interface with data, adresses , read_n write_n and wait_request_n. The communication to my peripheral look very well. But sometimes i have two accesses to the peripheral, but in my "C"-Code i make only one read access. I use a 16bit peripheral, a 16bit interface and a 16bit-pointer to read. Do anyone know this effect? What can I do against this? Because if I read the peripheral address the data will be deleted. So I read out a ZERO. Thanks for answers Jens.