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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/16/06 18:17
Read: times


 
#110179 - It's because of the purpose
Responding to: ???'s previous message
Peter,

The reason one would leave all internal resources available, in a development environment, is so that those resources can be used in a development projetc. If you use an MCU that has two UARTs it may become necessary to use them both in your target application, and, in fact, you may have selected the MCU for just exactly that reason. I feel it would be a serious error to use the internal UART for development/debug, etc, if the target software relies on it, for, say, communication with other devices, though I seldom see that sort of thing myself.

I've seen at least one comment in this thread indicating that the only purpose for which the internal UART is used in his system is for debug. I've seen that sort of thing quite a bit, but, if you need the UART, or UARTs, you can't debug your firmware if the tool you're using wants to use those resources. That, I suppose, is a good argument for a JTAG or other sort of emulation tool, but not all MCU's support those.

Just as an example, my current background task (mine, not my MCU's) is using one UART in MODE 0 to sample a data pin. It also wants to sample another data pin, but at a different rate, so what I do is sample both at the same rate, but, since I hvae the bandwidth with which to do it, I save the faster-sampled data in an external SRAM buffer and only save the data pointer value at which I detect a transition on the other. That way I' have a table at the top of that buffer that points to the location in the data buffer corresponding to the transitions in the slowly sampled data. The actual sampling is occurring at the same rate and the same ISR handles both channels. Thank goodness, or, at least, Maxim, for the increased bandwidth due to the fact the MCU is a one-clocker.

I think you must get my point. I need to be able to use both serial ports in order to get the job done. I have to have external memory anyway, so there aren't any extra pins required, aside from a chip select from the CPLD, which demuxes the address bus, and, if it weren't for the fact I have these one-clockers available, I'd be using some other MCU architecture because the job simply demanded too much processing bandwidth.

The reason I have the extra external UART is because this circuit is my development platform. I had to build my own because even the MAXIM EVB for this MCU family didn't support all the available addressing schemes, notably, the page modes that the family supports, and without which one couldn't execute code from external memory at full speed. What's more, they don't provide access to both serial ports either. I prefer to buy rather than build a tool, but when the available tools are inadequate, there's no choice.

RE


List of 90 messages in thread
TopicAuthorDate
does anybody use those "low" baud rates?            01/01/70 00:00      
   I think            01/01/70 00:00      
      I use even low            01/01/70 00:00      
      but I want REAL information            01/01/70 00:00      
   OBDII            01/01/70 00:00      
      Interesting ... Was that standard ASYNC            01/01/70 00:00      
         srry here is the full story            01/01/70 00:00      
   Water level            01/01/70 00:00      
      Is that in ASYNC format?            01/01/70 00:00      
         why not 11.0592/22.1184MHz?            01/01/70 00:00      
            serial timing isn't always as important            01/01/70 00:00      
               comments            01/01/70 00:00      
                  Well ... that's not entirely true ...            01/01/70 00:00      
                     precise???            01/01/70 00:00      
                        Inconvenience            01/01/70 00:00      
                           IF there's another way ...            01/01/70 00:00      
                              forget mode 0, im that mode there is no            01/01/70 00:00      
                                 Not the ones I see ...            01/01/70 00:00      
                              again, why not 11.0592 ?            01/01/70 00:00      
                                 if you don't like the 11.0592MHz...            01/01/70 00:00      
                                    Well, if they do 24, why not use that?            01/01/70 00:00      
                                 I see your point, but ...            01/01/70 00:00      
                                    Do I miss something??            01/01/70 00:00      
                                       Excitement? I'm not excited ...            01/01/70 00:00      
                                          why do you keep stating "sacred", it is            01/01/70 00:00      
                                             Right Erik !            01/01/70 00:00      
                                                It's because of the purpose            01/01/70 00:00      
                                                   And if that is out of the question use            01/01/70 00:00      
                                             Still none the wiser            01/01/70 00:00      
                                             it's that ASR33 rate that bugs me ...            01/01/70 00:00      
                                                not the statements, the "universalism"            01/01/70 00:00      
                                                   Re: not the statements, the "universalis            01/01/70 00:00      
                                                      Yes, as I said, it's convenient ...            01/01/70 00:00      
                                                         if you use (as you yourself state to pre            01/01/70 00:00      
                                                            It's been shown            01/01/70 00:00      
                                                               Of course it is            01/01/70 00:00      
                                                                  It's hard to argue ...            01/01/70 00:00      
                                                                     Then buy it, or even better, have one on            01/01/70 00:00      
                                                                        I'll buy 'em when there IS such a thing            01/01/70 00:00      
                                                                           misapplied economy            01/01/70 00:00      
                                                                              The $2 board was fully assembled            01/01/70 00:00      
                                                                                 again you talk about oranges            01/01/70 00:00      
                                                               Because reliability !            01/01/70 00:00      
                                                                  Seems interesting ...            01/01/70 00:00      
                                                                     only 24Mhz can be get            01/01/70 00:00      
                                                                        True, for sure,            01/01/70 00:00      
                                                                     apples and oranges            01/01/70 00:00      
                                                                        If that's true, then something's broken            01/01/70 00:00      
                                                                           a slight correction            01/01/70 00:00      
                                                                              You're right, of course,            01/01/70 00:00      
                                                                                 actually you did            01/01/70 00:00      
                                                                              further correction            01/01/70 00:00      
                                                                                 That's up to you ...            01/01/70 00:00      
                                                                                    I do not know where you get that impress            01/01/70 00:00      
                                                                                       One thing at a time ...            01/01/70 00:00      
                                                                                          no            01/01/70 00:00      
                                                                                             so you talk to that stuff directly            01/01/70 00:00      
                                                                                                as to "what I do"            01/01/70 00:00      
                        That's not quite true ...            01/01/70 00:00      
         8048?            01/01/70 00:00      
            You're right, it's not            01/01/70 00:00      
               have a look            01/01/70 00:00      
                  It's not obvious what you mean, Erik            01/01/70 00:00      
                     no, not that            01/01/70 00:00      
                        Close, perhaps, but no cigar ...            01/01/70 00:00      
                           SPI rather than I2C            01/01/70 00:00      
                              the full story            01/01/70 00:00      
                                 I2C, SPI, parallel, whatever            01/01/70 00:00      
                           poll a bit            01/01/70 00:00      
               '51 descendant of 8042            01/01/70 00:00      
                  The one on the KEIL page is too big ...            01/01/70 00:00      
                     CPLD            01/01/70 00:00      
                        I did sumfin like that            01/01/70 00:00      
   Specialist transmission only            01/01/70 00:00      
   EVA-DTS over DDCMP            01/01/70 00:00      
      simulator Fun            01/01/70 00:00      
   A "Why" for low speed modems            01/01/70 00:00      
   Low baud rate            01/01/70 00:00      
   Bill Acceptors            01/01/70 00:00      
      well ... clearly there are some places            01/01/70 00:00      
   doesn't ring true ...            01/01/70 00:00      
      which one?            01/01/70 00:00      
         here:            01/01/70 00:00      
            oh no            01/01/70 00:00      
               OK ... no big deal            01/01/70 00:00      
                  YES!, I would not even dream of driving            01/01/70 00:00      
                     Well, I did that            01/01/70 00:00      
                        not every application can "take a pause"            01/01/70 00:00      
                           Believe it or not, I agree ...            01/01/70 00:00      
                              wow            01/01/70 00:00      

Back to Subject List