Tool/software: Code Composer Studio
Can you tell me how EMIF works in a dual cpu environment using C28?
The environment is as follows.
- TMS320F28375D
- CCS 8.1.0.00011
The pins of GPIO connected by EMIF are as follows.
- EM1 WE
- EM1 RNW
- EM1 CS2
- EM1 CS3
- EM1 WAIT
- EM1 OE
- EM1 A0-A15
- EM1 D0-D15
- EM1 BA0
[Question1]
-Both CPU1 and 2 are trying to write data to the external memory of CS2 through EMIF1 using GPIO.
-GPIO used for EMIF is set to "CPU1" with the "GPIO_SetupPinMux ()" function.
-CPU1 can access the external memory and is ready to read and write.
Under the above conditions,
Is it necessary to change GPIO_SetupPinMux () every time CPU2 side accesses external memory?
need another line and GPIO?
[Question2]
-Both CPU1 and 2 are trying to write data to the external memory of CS2 through EMIF1 using GPIO.
-GPIO used for EMIF is set to "CPU2" with the "GPIO_SetupPinMux ()" function.
-CPU2 side is in the same EMIF setting as CPU1. (Probably)
In the above case,
The external memory can be accessed from CPU1 for some reason and it is in a rewritable state.
When the external memory is accessed in the main function on the CPU2 side, it is in the ReadOnly state.
How can I make the CPU2 side writable?
Sorry for the poor English.
Thanks and regards.