I want to enable the PA8 pin in a processor (Atmel SAM3X / SAM3A). I have set PIOA_MDERp[7]=0 and PIOA_MDDR[7]=0 and PIO_OER[7]=0 and PIO_ODR[7]=1, so that the tri-state buffer will no longer send data out of the pin, and the pin is enabled to receive data from the environment and to send interrupts if needed. I also want to set my interrupt to rising edge, so I also did PIOA_RHLSR[7]=1 and PIOA_FELLSR[7]=0 and also PIO_ESR[7]=1 and PIOA_LSR[7]=0. My problem now is how to modify NVIC registers so that this interrupt is enabled. I mean, on a rising edge on this pin, the state of this pin is pending, and then the changes I will apply to NVIC causes this pending state to active state. My interrupt group priority and subgroup priority are both 3. I know how to modify Interrupt set-enable register, interrupt clear-enable register, application interrupt and reset control register, and interrupt priority register. Still, my problem is that now I don't have any number for interrupts from this specific pin (PIOA8), so it is different from the time I had my interrupt number (from 1 to 240), and so I could know which register in the NVIC I should modify. Thanks for your help.
Atmel SAM3X / SAM3A, handle interrupts from Parallel Input/Output Controller (PIO)
257 Views Asked by m0ss At
0
There are 0 best solutions below
Related Questions in ARM
- Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code?
- How can I use LD to place ARM reset vectors in a program segment
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- Text as parameter in inline assembly (ARM)?
- GSL: nm outputs "undefined Symbol (U)"
- How to address multiple definition compiler error
- Did anyone compiled GSL for androind?
- Linker Error on cross compiling Project in eclipse
- How to set privilaged mode in ARM Cortex-A8?
- Why is a write to a memory-mapped peripheral register not actioned (LPC43xx)?
- what's ARM TCM memory
- Traversing a string using arm assembly inside V8 source
- C Global declared in ISR
- Which is better? int8_t vs int32_t in 32 bits MCU
- Cannot find -lgtk-x11-2.0. Also, some modules are not found by cmake, though they are installed
Related Questions in INTERRUPT
- Arduino RPM Detection
- Interrupting long working thread
- How to set privilaged mode in ARM Cortex-A8?
- TechWell TW6869 driver does not generate interrupts on embedded device
- Using class member function pointers in C++ for Arduino
- What's the shortcut to interrupt the kernel in Canopy?
- How to interrupt a thread with infinite loop and sleep in Java
- Why page fault is considered as trap
- externally ending infinite loop java
- DB2 SQLSTATE = 57014 error
- Using Thread.currentThread().isInterrupted() with Thread.sleep()
- Canceling a long-running function using an ISR
- TelosB GPIO interrupts in Contiki
- Interrupts for Data Ready pin
- How exactly do I interrupt a thread?
Related Questions in ATMEL
- How to call multiple slaves for Spi data transmission?
- UART RX Interrurpt fired too early
- SPI with Atmega32 and At42QT2100
- PySerial dataSend doesn't receive data
- Program memory space is being overwritten
- AVR Interrupt Configuration
- how to send sms from gsm sim900d to mobile
- Eclipse CDT to compile ASF makefile projects
- I-bit in SREG not saved with IN-instruction
- Downloading the binary code from an AT89S52 chip
- Use of memory in c++
- Incorrect output when calculating magnitude of 3 vectors in Atmel Studio
- atmega8a fuses external crystal 16MHz
- AVR and FATFS Multiple block read
- Atmel SAM G55 CRCCU CRC32 calculation not replicateable
Related Questions in MICROPROCESSORS
- emu8086 doesn't recognize my labels
- Playing .wav files on DOSBox's Sound Blaster device
- Get the Population Standard Deviation of streaming input data
- Are Memory Address Hardcoded on RAM Chip?
- Memory capacity of a RAM
- how to generate software interrupt by some method other than using assembly instruction
- What is the difference between processor (CPU) and microprocessor?
- An 8255 IC is interfaced to 8086 microprocessor
- How to find the physical address of interrupts in interrupt vector table?
- Why is x86 little endian?
- How do screenshots work from a software perspective
- How to write ARMGNU assembly code to write C = A + B?
- How can we expect a program to complete in order?
- How to converting 8085 code to z80 assembly
- How interpreted language code is executed by CPU?
Related Questions in ATSAM3X
- get stack pointer and return address for sam3x8E
- Atmel Studio Dummy_Handler
- Read flash memory data, ATSAM3
- Atmel SAM3X8E dual bank switching for booting different behaviour
- Configuring ATSAM3x8e port to output
- Atmel SAM3X8E Loses VTOR After Hard Reset
- Flashing ATSAME51N19 using ATMEL-ICE
- Nothing provides error - adding new Yocto layer and new machine
- How can I debug CAN bus in SAM4e controller?
- Can PWM Trigger DMAC Memory Reads on Atmel SAM3X?
- Atmel SAM3X / SAM3A, handle interrupts from Parallel Input/Output Controller (PIO)
- USB stack confusion/serial emulator
- Variables randomly changing, extremely odd behavior
- Why Does This SAM3X8E I2C Probe Get NACK or ARBLST All The Time
- Atmel SAM3X dual bank switching not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?