Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/20/11 14:22
Read: times


 
#184832 - One Reason for SiLabs Parts
Responding to: ???'s previous message
One reason I like the SiLabs parts is that most of these have some on-board XDATA. It can be quite nice to be able to use this XDATA to achieve UART FIFO buffers that are in the 256 byte size or larger. If performance is particularly important I will put the FIFO management index variables into the local DATA space so that access to them is efficient and each access to the FIFO would only require one DPTR type addressing to the XDATA area.

For 96% of the embedded applications that I have done where serial communications have been involved, particularly to a PC, I have found zero need to use printf type output routines. It is far more efficient to send values as binary in some type of packet and then let the far end format the data for consumption. If there is a need for formatted data such as when talking to some types of instruments that use old fashioned ASCII type command interfaces then I'll use sprintf() and format in small buffers for the strings that are sized as needed.

Michael Karas


List of 6 messages in thread
TopicAuthorDate
UART - byte by byte or library functions?            01/01/70 00:00      
   Nothing magic            01/01/70 00:00      
      One Reason for SiLabs Parts            01/01/70 00:00      
   What's the difference?            01/01/70 00:00      
      Never underestimate the value of state machines            01/01/70 00:00      
         True            01/01/70 00:00      

Back to Subject List