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?