Does the current USRP2 FPGA/firmware release allow for a PPS interrupt handler? I've tried adding these lines to the txrx.c firmware app:
static void test_pps_handler(unsigned irq) { putstr("Got to PPS handler at time:"); puthex32_nl(timer_regs->time); pic_regs->pending = PIC_PPS_INT; } ... /* inside main() */ pic_register_handler(IRQ_PPS, test_pps_handler); putstr("\nRegistered pps interrupt handler\n"); Sending a pulse into the PPS SMA port doesn't trigger the handler. Based on fragments I found in the mailing lists, I also tried including these lines inside main(): clocks_mimo_config(MC_WE_LOCK_TO_SMA); timesync_regs->tick_control |= TSC_TRIGGER_EVERYPPS; but that changed nothing. Am I doing something wrong, or is this unsupported? Thanks for any help! John B. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio