You need to log in to create posts and topics.

ATmega128 USART assyncronous connection

I made a program for ATmega128 for USART assyncronous connection, specifically.

However, i have no idea how i get or send stuff, i probably need a serial port/monitor. How do i connect it to the ATmega?

Hi.

You can use Serial Terminal (click on "Serial terminal"): https://simulide.com/p/component-list/#peripherals

KerimF and average_simulide_enjoyer have reacted to this post.
KerimFaverage_simulide_enjoyer

i tried to use the serial terminal, by connecting Rx to PD2 and Tx to PD3 (Rx and Tx of USART1), but nothing is happening
I KNOW this code works cuz in a real ATmega128, it worked connected to a real computer

Maybe try Rx to Tx and Tx to Rx.

average_simulide_enjoyer has reacted to this post.
average_simulide_enjoyer

it didnt work still

Maybe share something that I can try?

average_simulide_enjoyer has reacted to this post.
average_simulide_enjoyer

Also I'm assuming that the Serial Terminal is configured for the same baudrate, etc than the USART in the Atmega.

average_simulide_enjoyer has reacted to this post.
average_simulide_enjoyer

It is set to 9600, like the default one.

Ill send the hex file tomorow, and maybe the sim1 file if u wish to see if it's well done