Other Parts Discussed in Thread: MSP432E401Y
Hello All
I have started TCP/IP stack under SYS/BIOS (example tcpEchoF2838X ) it works fine but,
It occupes about 62K RAM of the ARM core (CM - Connectivity Manager). The CM has 96K RAM totaly , 16K of them designed to the IPC communication
,so it has limited general usage(At least I am going to use it as intended and keep common data of DSP cores and CM core and for data exchange between them ).
So generaly, We can use 80K , 62K of which are occupied. So there are left 18K for other periphery usage.
But TMS320F28388 has very developed external communication periphery - UART, 10/100 Ethernet 1588 MII/RMII, MCAN(CAN-FD), 2 CAN, USB,EtherCAT(slave). Last three are shared between CM and CPU1.
So 18K is obiously not anough for complete usage all communication periphery + internal board communication like SSI or I2C.
Roughly USB stack 2K-10K(in depending of quantity of buffers (data exchanging intensity ) and type of exchanging bulk or isochronous ), CAN Open about 5K- 20K one instance (in Depending from size of SDO and
quantity of PDO) , I am afraid to suppose how much the EtherCAT, MCAN and J1939 will occupy.
Of course, the figures are debatable. But for rough estimation valid (for my point of view).
And I did not find the external memory interface of CM to expand range of memory.
For Example MSP432E401Y controller, with less communication periphery, has 256K RAM.
With possibility to expand it by external interface.
So I consider the TMS320F2838D as one of the best for its field of usage but due to lack of CM memory,
it will led to incomplete usage of communication periphery.
I can foresee several suggestions
1) Memory Optimization
My answer. Of course It is possible to optimize but how deeply ?
And for strong industrial RealTime application which has to work 24 hour a day and has "wide bandwidth of data" - very intensive data exchange and handling,
RAM should be enough to provide extra buffers. And decreasing these ones is at least very painful and it can lead to hard to find errors.
2) Share communication periphery between CM and CPU1
My answer - Of course it is possible But what about the beauty and harmony of the solution.
It is very good idea to unload the DSP core from uncharacteristic tasks and let it one only to calculate
while core of general purpose is occupied by general tasks, one of them - communication.
Due to this solution, I have selected this controller, But TI is proposing partial solution due to CM RAM lack.
3) It is not possible tu use all connections simultaliosly or usually it is not neccesary.
My answer - Of coarse it is correct for example TCP/IP and EtherCAT, or CAN and CAN- FD.
But I am going to use UART(for low-level log ), USB, Ethernet (TCP/IP) and 2 CAN (CANOpen) and I am lacking CM RAM.
So it is observed some disbalance between number of communication periphery and the number of CM RAM .
So the question is
Is it possible to increase internal RAM at least to 128 K, better to 176 and the best to 256K ?
Best Regards
Andrii Shevchuk