Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

For using the Mini-ACE™ in Monitor mode, can I use the two RAM areas A and B to organize double buffering?

0
Posted

For using the Mini-ACE™ in Monitor mode, can I use the two RAM areas A and B to organize double buffering?

0

A. Yes. That way, you can “ping-pong” between the two areas. While one is storing 1553 monitored data, the second one can be read out by the host. Q. Current area (A or B) command or data stack overflow causes the stack pointer to wrap to the beginning of the same stack, so that in the case of the data stack this causes corruption of the oldest message. Correct? A. Yes, the command and/or data stack pointer(s) will roll over to the top of the stack. As you point out, this can cause message corruption. What I suggest to avoid such a problem is that when your host processor initializes the stack pointer, to position it a ways down from the top. In the case of the monitor data stack, I would allow for 35 words at the top of the stack, to accommodate the maximum size message to be received; i.e., an RT-to-RT transfer, with the second command word + 32 data words + 2 status words. Similarly, for the monitor command stack, I would suggest initializing the stack pointer such that there are fo

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123