EmbeddedRelated.com
The 2024 Embedded Online Conference

Multi-master RS485

Started by pozz in comp.arch.embedded3 years ago 30 replies

Are there any *real* implementation of multi-master half-duplex RS485 bus? I often use half-duplex RS485 and I always use a master-slave...

Are there any *real* implementation of multi-master half-duplex RS485 bus? I often use half-duplex RS485 and I always use a master-slave polling protocol. This choice dramatically reduce the complexity of the system and it works well with a limited number of nodes. When the nodes are 10 or 20 and they usually send only a few bytes in a minuted, the polling scheme is inefficient. The bu...


Addressing on I2C

Started by ZOT in comp.arch.embedded3 years ago 4 replies

Are they some 'reserved' 'well known' addresses on i2c? -- Les politiciens sont imprévoyants, les électeurs sans mémoire.

Are they some 'reserved' 'well known' addresses on i2c? -- Les politiciens sont imprévoyants, les électeurs sans mémoire.


Static allocation and data hiding

Started by pozz in comp.arch.embedded3 years ago 2 replies

It's a common problem in embedded projects. You want to hide private data of modules, but you don't want to use dynamic memory allocation. In...

It's a common problem in embedded projects. You want to hide private data of modules, but you don't want to use dynamic memory allocation. In the .h file you write the typedef only and in .c file you write the full definition of the struct. In this way you can't statically allocate the struct, because the compiler doesn't know the inner definition. If you want to use static allocation,...


Is there such thing as a 4 bit CRC ?

Started by boB in comp.arch.embedded3 years ago 35 replies

If I create a 1 byte command that only uses 4 bits for 16 different functions, and there were NO following bytes (there might be...

If I create a 1 byte command that only uses 4 bits for 16 different functions, and there were NO following bytes (there might be folling bytes for some CMDs), I was thinking that the lower 4 bits could be used for error detection. Could of course just truncate an 8 bit CRC I suppose and place it there. Just thought I would ask. Never thought of only 4 bits before but sometimes a ...


Looking for uC/OS-II companion CD

Started by szamos in comp.arch.embedded3 years ago 1 reply

Hi, I have the "MicroC/OS-II The Real Time Kernel" book (2nd ed), but since I bought it used, it came without the companion CD. Does...

Hi, I have the "MicroC/OS-II The Real Time Kernel" book (2nd ed), but since I bought it used, it came without the companion CD. Does anyone have the companion CD, or know where to get it? I looked on Micrium's website, and while they have many downloadable files, this one is not one of them. TIA My con-ned email address can be corrected by removing - and changing one other cha...


assembly language/masm32

Started by Razvan Mihalcea in comp.arch.embedded3 years ago 2 replies

I need some help for an exam on friday morning using assembly language if any1 can help me.

I need some help for an exam on friday morning using assembly language if any1 can help me.


RPC/RMI in heterogeneous environments

Started by Don Y in comp.arch.embedded3 years ago 14 replies

I postpone automatic type conversion to the *servant*, rather than embedding it in the client-side stub. My reasoning is that this allows a...

I postpone automatic type conversion to the *servant*, rather than embedding it in the client-side stub. My reasoning is that this allows a wider window for the targeted node to change *after* the RPC/RMI invocation and before it's actual servicing. I.e., it would be silly to convert arguments for a target node of type X, marshall them and then, before actual transport, discover that the ...


Slow (industrial?) SD cards

Started by Theo in comp.arch.embedded3 years ago 2 replies

I have a setup with a micro SD card which may be suffering signal integrity issues. One suggested remedy is to try it with a slower card. I...

I have a setup with a micro SD card which may be suffering signal integrity issues. One suggested remedy is to try it with a slower card. I had some success with a 2GB Class 2 card from the dark ages, but 2GB is too small to test properly. There's nothing I can really change about the setup - it appears the speed selection is happening in ROM, so if I put in a fast card the faster speeds...


Fixed Point Calculations

Started by Rick C in comp.arch.embedded3 years ago 16 replies

I'm working with a custom designed hardware in fixed point arithmetic. I expect it won't be too difficult once I get my head wrapped around it,...

I'm working with a custom designed hardware in fixed point arithmetic. I expect it won't be too difficult once I get my head wrapped around it, but I seem to be spinning my wheels getting started. The arithmetic hardware has an 18x18 multiplier producing a 36 bit result feeding a three input, 55 bit adder. The other two inputs are a 54 bit input that is subtracted and a loopba


Taking COVID Seriously

Started by Rick C in comp.arch.embedded3 years ago 12 replies

Wow, some outfits do take the disease seriously. I need to get some boards from my customer to modify and return to test which could all be done...

Wow, some outfits do take the disease seriously. I need to get some boards from my customer to modify and return to test which could all be done on the same day since everyone involved is a few blocks apart if I hand carry the boards. My customer says they are not allowed to have anyone in anymore... at all! So I guess we'll have to do this via shipping boards around and spend


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference