Post Go back to editing

How to attach interrupt to PORTC pin 0

Thread Summary

The user asked how to attach an interrupt to PORTC pin 0 on the ADSP-BF706. The final answer directed the user to the Button_LED_GPIO_polled example code in the ADSP-BF707 Board Support Package for PINT configuration. The user later reported resolving the issue and shared that configuring a watermark was necessary for SPI read-only operation with DMA.
AI Generated Content
Category: Hardware
Product Number: ADSP-BF706

Dear all,

I am searching for hours but still not clear on how to attach an interrupt to - in my case - PORTC pin 0 on the BF706.

I is clear how to configure the pin as an input etc, where both port and pin are to be specified.

However, the function adi_gpio_RegisterCallback just asks me for the interrupt channel and the pin, where it is not clear to me how the port is specified.

The PINT stuff is completely unclear to me, especially table Table 20-28 about PINT_ASSIGN in the HW refefernce, where PORTC does not seem to appear, in contrast to the description on page 20–7:

PINT0 can sense pin activity on PORTA and PORTB
PINT1 can sense pin activity on PORTB and PORTC
PINT2 can sense pin activity on PORTC and PORTA.

If there was some example code, that would help a lot!!!

BR Andre

Parents Reply Children
No Data