View previous topic :: View next topic |
Author |
Message |
skaarjwarrior
Joined: 19 Jun 2024 Posts: 1
|
18f45k80 UART1 VSM |
Posted: Wed Jun 19, 2024 9:42 am |
|
|
Hi,
im new here.
I don't know if ive done something wrong, but UART1 in the 18f45k80 VSM model doesn't seem to work. UART2 works ok with and without interrupts, but when i switch connections in proteus and update code to look at UART1, it just plain seems to be dead.And this is with and without the interrupt enabled on UART1.
When i opt for the software UART and use any other pins, it works as intended. Has anyone else experienced this? Is it undocumented that the UART1 is not modelled? I know from reading through the notes on the 18 series on Labcenter website that not all features are implemented, but no mention of the serial ports. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9221 Location: Greensville,Ontario
|
|
Posted: Wed Jun 19, 2024 9:48 am |
|
|
So ,have you gone through 100% of the source code for PROTEUS and confirmed that it will work as expected ?
For years, most understand that PROTEUS is NOT 100% functional. In fact it fails on the simplest of programs.
Have you actually used real hardware to confirm it's NOT a Proteus problem ? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19495
|
|
Posted: Wed Jun 19, 2024 9:49 am |
|
|
Read the sticky at the top of the forum:
"No more Proteus questions"
The simulator in Proteus is full of faults, and worse, can make you think
things can work, that on a real chip will not, or tell you something does
not work when it does.
IT IS A WASTE OF TIME.
Yours and ours.... |
|
|
|