Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need bit banging code for 8051

Status
Not open for further replies.

nerdspot

Junior Member level 2
Joined
Oct 28, 2006
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,444
bit banging method

I tried modifying some bit banging code available(see ), but it didnt work. Can some one provide me with a valid and working bit banging code for the 8051?
 

8051 bit banging

There is nothing you can learn in a "valid and working bit banging code" provided to you from any source withut a context.

Why don't you come back in the original thread - either here or at 8052.com - stating what have you already done, posting the current software, and perhaps stating what did you find out already?

wek
 

software uart 8051 bit banging

that code does work.

If you post your code, and a block diagram or schematic or an explanation of your hardware setup someone here would be able to help you.

First, you should try communicating with the PC. Use a terminal program to verify that
everything is working.

For multi-processor communication you shouldn't use the bit-bang method, there are many more efficient ways to accomplish this, One in particular is using the hardware UART with 9 bit communication.

You can read all about this in the 8051/8052 tutorial on 8052.com.

Good Luck
 

bit-bang 8051

ctownsend said:
that code does work.

Sure. Each and every code, even a random sequence of instructions, works... :)

Yet, we don't know, what are the expectations and how exactly the actual application falls short of them ("no working")...

Without knowing all the details of the given application we hardly can judge where is the problem and help more specifically than ctownsend helped (I do acknowledge that).

wek
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top