- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I succesfully followed this example http://www.alterawiki.com/uploads/c/cd/max10_adc_with_threshold_violation_detection_v1.pdf. Now trying to do something "usefull": to turn on a LED when out of thesholds. I wrote a controller with Avalon ST Sink interface for the threshold related signals and Avalon MM Master interface to write to a PIO Avalon MM Slave. (find attached). On my board the controller runs a 25MHz system clock, the ADC gets 2MHz from PLL and peform 25KHz sampling. I monitor 4 channels so it should take about 1000 clocks of the controller to expect the sequencer to finish the cycle and decide about threshold violation. Since I want the LED to stay on while thrshold violated I "latch" the valid signal with a 25bit counter that should give more than a second for another valid to come. It doesn't work! Can someone take a look at this?Link Copied
0 Replies
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