Replies: 2 comments 3 replies
-
Hi there @agamez Sadly only connecting the See Figure 12 here for the complete timing diagram of a wishbone write access, disregard the So for your case, you may connect Cheers, |
Beta Was this translation helpful? Give feedback.
-
I have never worked with the hard macros yet. But it seems like those controllers need a lot of configuration data before they can be actually used. There is a system design overview in the user guide that includes a 256x9-bit configuration ROM + FSM 🤔 I'll have a closer look at the documentation (as I am also planning to use these hard macros). |
Beta Was this translation helpful? Give feedback.
-
Hi!
This is probably a non neorv32 issue but an ice40 one, but anyway, maybe some one has tried the same as I do and have some ideas.
I'm trying to use the "SPI hardened IP" of the ice40up5k of the iCEBreaker board although this discussion here doesn't really recommend using these cores, I want to have 2 SPI different cores, and I figured why not, let's save some LUTs.
I believe I have attached correctly the SB_SPI module to the wishbone interface, and I'm using the bus_explorer example application to try and communicate with the core. However, it doesn't really seem like it's properly happening. Since the SB_SPI module is 8 bits in both buses (data and address) I just tied them to the neorv32 wishbone interface like this. That's convenient because I can then use a non associated address such as 0x9A00000* to access this region.
So I try to access the SB_SPI registers described in page 34 but I get some strange behaviour: traps due to timeout error (or the CPU stalls if I set WB bus timeout to infinite).
The first 6 reads are expected to fail because the first address on the PDF is 0111, but I would expect the rest of them to work fine. Only addresses 08, 0a and 0c seem to return anything. Is this a core problem or maybe I did something wrong regarding wishbone connectivity?
Beta Was this translation helpful? Give feedback.
All reactions