May 02, 2019
12:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 02, 2019
12:16 PM
I am using the advanced configuration of MDIO interface component and a number of registers configured to trigger an interrupt on read. This functionality works perfectly when a read (mdio frame opcode 3) is performed .
However when I perform a post-read address increment read (mdio frame opcode 2) the component does not generate a read interrupt.
Any ideas?
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 5LP
1 Solution
May 02, 2019
04:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 02, 2019
04:39 PM
Hi Dan,
I think there is an easy fix. In the vMDIO_Interface_v1_20.v file, change the logic that drives the "read" logic to:
always @(posedge op_clock)
begin
read <= (op_read | op_pos_read) & reg_cfg[MDIO_REG_INT_ON_READ] & addr_is_valid & is_page_en;
end
3 Replies