Other Parts Discussed in Thread: , EVM430-FR6047
Hi CC1310 experts
I have a project where I need to receive an interrupt (Comm_IRQ) from an EVM430FR6047 on my CC1310. In the beginning the interrupt line was connected to DIO14, aka BTN2 and it worked perfectly. One of my fellow students have made a PCB with the IRQ line connected to DIO1 and I'm now struggling to get the same respons.
The GPIO is set up like this. There is an pull-up resistor of 10 k.
I have added DIO1 to board.h
In the CC1310_LAUNCHXL.c I have added
And:
And the gpio_interrupt_handler just post a semaphore. The idea is that a sem_timedwait is called when I wait for a package from the EVM430. The EVM430 makes an interrupt on the CommIRQ just before the message is ready to be send to the CC1310. The interrupt calls sem_post and immediately after I2C_Transfer.
Generally the program compiles and runs but I never hit the breakpoint. Zooming way out and measuring at the Comm_IRQ line gives this
With interrupts occuring with approximatly 1 sec. intervals - I suspect it to be an error message from the EVM430. No matter the reason the interrupts are not registered on the CC1310 so I suspect my configuration of DIO1 is wrong. I just can't figure out why since its just an GPIO pin the same way Pin 14 is!!
Kind regards
Lasse






