Part Number: EVMK2G
Tool/software: Code Composer Studio
Hi,
I am planning to use EDMA GPIOMUX event to trigger my SPI communication. The setup would be as follows
1. Use paramset A to receive the trigger via GPIO.
2. Link paramset B to paramset A to continue the data transmission from RAM to SPITxBuffer
3. After transmission of data on SPI, linked paramset C will be called to reset DMAREQEN bit in SPIINT0 register.
Repeat the steps 1 to 3 for every 30us without cpu intervention.
To implement this, I have below questions.
1. How to configure EDMA to receive the event GPIOMUXEventx. ( I am not sure which GPIOx to be used for triggering this event. Is it GPIO0_48 or GPIO1_48 or any GPIO). I do not want to use the GPIO multiplexed with Boot mode functionality.
2. Link Addr of Paramset A will have Paramset B address
3. Link Addr of Paramset B will have Paramset C address. Link Addr of Paramset C will have 0xFFFF to indicate the end of paramset for this transaction.
4. GPIOx can be controlled for every 30us using a timer.
5. should the SPI Rx/Tx interrupts be enabled in this case?
6. should the EDMA be running with supervisor level privilege?