Hello Fellow E2E Members,
I'm in the process of writing an ePWM kernel driver for my beaglebone and have a question regarding the initialization of the ePWM module. Reading the TI AM335X Reference Manual (Literature Number: SPRUH73G), specifically section 15.2.2.2 Proper Interrupt Initialization Procedure, it mentions that for proper interrupt initialization, I need to disable global interrupts (CPU INTM flag) and to also disable ePWM interrupts. Before initializing the ePWM peripheral registers. My question is, how do I disable global and ePWM interrupts? I've been reading through the TRM, but to no avail. I'm sure I'm overlooking something, but if someone could point me in the right direction it would be greatly appreciated. Thanks in advance!
Thanks,
Donald