| Electronic Components Datasheet Search |
|
ELM329LSM Datasheet(PDF) 72 Page - ELM Electronics |
|
|
|||||||||||||||||||||||||||||
ELM329LSM Datasheet(HTML) 72 Page - ELM Electronics |
|
72 / 87 page ![]() 72 of 87 ELM329L ELM329L DSA Elm Electronics – Circuits for the Hobbyist www.elmelectronics.com Maximum CAN Data Rates (continued) messages do not arrive at a rate that is faster than the ELM329 can process them in, all messages will be processed. You can see from the figure that even for a 500 kbps message with an 11 bit ID, the ELM329 finishes these tasks with time to spare. The measurements were taken with actual messages that had 8 data bytes, the headers displayed, spaces turned off, and linefeeds turned off. Since ISO15765-4 specifies that messages must be 8 data bytes in length (filler bytes are added as needed) these times do represent the typical situation. Actually, from these numbers the ELM329 should be able to handle 100% bus loading (which is not a practical situation). The rate at which OBD messages occur on the data bus determines the ‘bus loading’. Bus loading is a utilization factor that is very similar to the duty cycle for a square wave signal. Ideally, bus loading should be less than about 30%, but as vehicles become more complex, this is very difficult to do. Currently, some vehicles are reported to have 70% bus loads. Once the ELM329 has placed all of the properly formatted bytes into the RS232 transmit buffer, it is up to the controlling computer to fetch them in a timely fashion. If the bytes are removed at a rate that is slower than the rate at which the ELM329 is filling it, the transmit buffer will eventually become full. It does not matter how big the buffer is, if the rate of removing bytes from the buffer is slower than the rate of storing them. When the buffer is full, you will see the dreaded ‘BUFFER FULL’ message, and you will have to start over. The ELM329L RS232 transmit buffer is 2048 bytes in size. Considering that some bytes will be sent while new messages are being stored, this means that at 40% bus loading, with headers on but spaces and linefeeds off, you can typically save: 38.4k 115.2k 500k 11 bit/500k 115 155 – 29 bit/250k 104 225 – messages in the buffer before it becomes full. But what about that new car with a busy data bus? At 80% bus loading, you can typically save: 38.4k 115.2k 500k 11 bit/500k 108 123 390 29 bit/250k 91 120 – messages before it becomes full. Note that there are no numbers shown in the above charts for some of the 500 kbps entries, as the buffer will not fill up in those cases. This amount of storage is more than enough for almost all OBD requests – the only time that you might get into trouble is if you are monitoring all messages on the bus (eg. with the AT MA command) and have no filters set. In that case, you would need to be sure that you are removing bytes as fast as you can, and if that is not enough, consider filtering for only the data that you wish to see. When people ask us then, ‘What data rate can the ELM329 support?’ the answer is not easy, and depends on many factors. Certainly, there will be situations in which the IC is not able to get the data out as fast as you’d like, but that is often due to serial port limitations (whether through a poor choice of baud rates, or due to a hardware limitation). If you are simply obtaining standard OBD information, there is really no need to choose a high baud rate, as the ‘buffer’ takes care of temporary data storage for you. If you are trying to ‘push the envelope’, then hopefully this discussion has helped to give you the necessary background information. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |