Part Number: MSP432P401V
Hi,
What's the max baud rate of eUSCI as UART?
And what's the TX and RX error at that baud rate?
Customer's request is 5Mbps.
Thanks a lot.
Br, Jordan
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.
Part Number: MSP432P401V
Hi,
What's the max baud rate of eUSCI as UART?
And what's the TX and RX error at that baud rate?
Customer's request is 5Mbps.
Thanks a lot.
Br, Jordan
Hi,
Some other doubts about eUSCI:
In customer's case, eUSCI is used to receive datas from other devices. The lengh of datas is not fixed, 50 or 100 or 320 or others. DMA should be used. Between each time data communication, there's a delay like 5us. Time out should be used to detect if the transmit is done.
1) How to use 5us time out to check if the transmit is done? ISR can't be used for each byte received.
2) After point 1, how to know the data size in DMA?
Thanks a lot.
Br, Jordan
Hi Jordan,
So the customer's data arrives in various lengths - is this just "raw" data?
The data is not part of a packet that would include the length of the data being transmitted, checksum, etc?
Can the customer use hardware handshake signals, CTS, RTS?
Not knowing the size of the next group of data it would be hard to configure the DMA.
Do you know what the smallest size of data would be?
Hi, Dennis
Here's the reply:
So the customer's data arrives in various lengths - is this just "raw" data?
Re: Yes, various length.
The data is not part of a packet that would include the length of the data being transmitted, checksum, etc?
Re: no.
Can the customer use hardware handshake signals, CTS, RTS?
Re: no handshake.
Not knowing the size of the next group of data it would be hard to configure the DMA.
Do you know what the smallest size of data would be?
Re: the samllest could be less than 10. The largest could be over 200.
Thanks a lot.
Br, Jordan
Hi Jordan,
I asked around to see if someone might have an idea how this would work.
Based on the undetermined data size and the 5usec gap, nobody could come up with a solution.
This may no be possible for the MSP432.
What is the application? Why does the data arrive in different sizes?
Dennis,
This is something like PLC.
RS485 is used to connect 11 MSP432. One as master, while others as slave, privite protocol.
The date length of a package is between 10 and 255 bytes. Master communicates with slave from the first to the last. The cycle will be kept within 5ms to 20ms, which depends on the date length.
Customer's request is: when all of the date are received in DMA, CPU needs to response to the date within 10us (5us is better). That's, within 10us, CPU needs to detect that a package is totally received.
If Rx interrupt is used, it will cost a lot of CPU utilization. They don't want this way.
In their system, there are several intereputs, like timer (500us, low priority).
Can we have any other solutions?
Thanks a lot.
Br, Jordan
Hi Jordan,
Ok, the additional information is useful.
Let me see if we can come up with a solution.
**Attention** This is a public forum