- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I would like to know how to stop/disable the Avalon to external Bus bridge time out control signal? I want NIOS processor to wait till it receives an acknowledge signal from the external device. Please suggest.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I would like to know how to stop/disable the Avalon to external Bus bridge time out control signal? I want NIOS processor to wait till it receives an acknowledge signal from the external device. --- Quote End --- The waitrequest signal is used to stall a master on the Avalon bus. In your case, your NIOS processor would start a read or write transaction, and if it finds the waitrequest signal high, it will stall until that signal goes low. This allows the controller for your external logic to implement the read or write transaction. Typically for a write, your FPGA logic would accept the data, and deassert the waitrequest signal to allow the processor to proceed, and then your controller would write to the external device (this is a posted write). If the NIOS processor tries writing or reading while the external device controller is busy, it would see waitrequest high, and be stalled until your controller is ready. If your external device is really slow, eg., an SPI device or I2C EEPROM, then rather than stall the NIOS II processor while the serial transaction completes, you should create a controller with a control registers interface, eg., a data output/input register, and an interrupt or status bit to indicate when the controller is done. Cheers, Dave

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page