Hello,
in a project we want to use SRAM and UART on different EMIF Chip Select.
Is it possible to use both ports from different tasks (with different priorities) and without preventing task switches (use of CRITICAL_SECTION)?
Best regards,
Thomas
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.
Hello,
in a project we want to use SRAM and UART on different EMIF Chip Select.
Is it possible to use both ports from different tasks (with different priorities) and without preventing task switches (use of CRITICAL_SECTION)?
Best regards,
Thomas
Thomas,
No (EDIT: No Problem for the EMIF) - the EMIF can switch between async-async and async-sdram chip selects automatically.
Also see the "TA" field of the Async control registers (CE2CFG-CE5CFG) - it allows some additional time when switching between reads & writes as well as async and sync - this is useful if one of your external devices takes a long time to 'get off' the bus after being deselected.