This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: Number of Interrupts

Part Number: AM2434

Hi,

I wanted to use API to configure general-purpose pins as interrupts and DMA synchronization events in different interrupt/event generation modes on am243x-evm but after I choosing "GET RM  DATA" an exception shows up:

Oh Snap! The last change caused an exception...

ReferenceError: __dirname is not defined
Hide Details...

at Object.rootDir (webpack:///src/pinmux/services/paths.ts:8:25)

at func (webpack:///src/pinmux/services/utils.ts:582:35)

at Object.getNodePath (webpack:///src/pinmux/services/pathsVisibility.ts:22:10)

at Object.getNodePath (C:\ti\mcu_plus_sdk_am243x_08_06_00_43\source\.meta\common.syscfg.js:39:19)

at Object.onLaunch (C:\ti\mcu_plus_sdk_am243x_08_06_00_43\source\drivers\.meta\gpio\v0\gpio_v0.syscfg.js:165:42)

at cb (webpack:///src/pinmux/services/objectManagers/configurables/externalExecutableConfigurableMgr.ts:30:20)

at Object.withDeprecatedAccess (webpack:///src/pinmux/services/deprecatedAccessGuard.ts:14:10)

at Object.disableScriptingForCallback (webpack:///src/pinmux/services/scripting/scriptingGuard.ts:14:10)

at func (webpack:///src/pinmux/services/objectManagers/configurables/externalExecutableConfigurableMgr.ts:29:50)

at Object.t.allowPathVisibility (webpack:///src/pinmux/services/pathsVisibility.ts:11:10)

I am using gpio_input_interrupt_am243x-evm_r5fss0-0_nortos_ti-arm-clang example on mcu_plus_sdk_am243x_08_06_00_43.

Generally I am interested in 8 rising-edge interrupts, which go to a single real-time core R5FSS0 of AM2434BSFFHIALV and I want to figure out which GPIOs and ROUTER I can take for that. 

Can I simply choose any 8 GPIOs from the same module (GPIO0 or GPIO1) and enable interrupt configuration for it? Or it it better to choose GPIOs from the same bank?

From the TRM (Rev. F): 

The following apply to GPIO0:

–GPIO0_[87:143] are not pinned out.
–Interrupts [87:143] are not pinned out.
–Bank Interrupts [8:6] are not pinned out.


•The following apply to GPIO1:
–GPIO1_[88:143] are not pinned out.
–Interrupts [88:143] are not pinned out.
–Bank Interrupts [8:6] are not pinned out.

Does it mean I shouldn't use banks 6-8 for interrupts? Where can I get information about GPIO banks and ther pin assignment?

  • Hello Tomasz,

    Does it mean I shouldn't use banks 6-8 for interrupts? Where can I get information about GPIO banks and ther pin assignment?

    Table 12-111 provides the GPIO Bank to GPIO Device Pin mapping. Device Pin in this context refers to the Signal Name that is listed in the device datasheet.

    For mapping those Signal Names to specific balls on the MCU pinout, you would want to reference the device datasheet Tables 6-41 (GPIO0 Signal Descriptions) and 6-42 (GPIO1 Signal Descriptions). You can also find the same in Table 6-1 Pin Attributes but likely you'll find the dedicated GPIO tables easier to parse through.

    Can I simply choose any 8 GPIOs from the same module (GPIO0 or GPIO1) and enable interrupt configuration for it? Or it it better to choose GPIOs from the same bank?

    Typically you can just choose any 8 GPIOs, but there could be cases you'd want to pick from the same bank if, for example, you want an interrupt on any one GPIO to trigger reading the current state of all 8 GPIO at once. Then you'd want to do a single read from one bank. But if the IOs are all acting independently from the others then there's no reason to limit them to a single bank.

    Best Regards,

    Ralph Jacobi