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.

Newbie question about PIC18F452 and USART

Status
Not open for further replies.

morag

Newbie level 4
Joined
Apr 10, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
18f452 tx usart

hello!

I'm trying to write a small program that sends data using USART (through rs232).
I don't have any hardware, only using the MPLAB IDE 7.20.
In the lab at the University we have the equipment and we use HyperTerminal to see the output, I was wondering if it could be done with the simulator at home.
 

mpsim usart

Hi,
I just had MPLab open to see if I could remember how to do it, but I do know it can be done. Look under Using the USART in MPSim help. It tells you there how to do it.
Regards,
Robert

ps, there is a simulated usart in MPSim, just to be clear.
 

    morag

    Points: 2
    Helpful Answer Positive Rating
Mplab now has limited support for SCL which is Simultor Control Language. You can write complex testbenches with the language like you can in vhdl to support just about any hardware.
More information and sample code can be found on the Microchip forums.
Attached is a text file with an overview of the language.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top