Uart problems with P18F67K40

General discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Uart problems with P18F67K40

#1 Post by Dany » 25 Nov 2023 16:04

Hi, when using more than 1 Uart it seems that data to send always goes to the last initialised one, even when using e.g. Uart1_Write_text (should send to Uart1).
The reason is the following (example given for Uart1):
The high level routine 'Uart1_Write_Text' calls 'Uart_write_text', which always sends to the 'active uart', which is not necessarely Uart1, hence the problem.
See attched pictures with the call structure.
This problem is perhaps the same as (or at least related to) this one: viewtopic.php?f=88&t=76278&p=304234&hil ... rt#p304234

Thanks in advance for looking into this.
Attachments
Schermafbeelding 2023-11-25 155613.png
Schermafbeelding 2023-11-25 155613.png (8.37 KiB) Viewed 209 times
Schermafbeelding 2023-11-25 155534.png
Schermafbeelding 2023-11-25 155534.png (8 KiB) Viewed 209 times
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: Uart problems with P18F67K40

#2 Post by IvanJeremic » 27 Nov 2023 13:56

Hi,

Thank you for your input.

I have forwarded this to the developers, but the issue is that most of their attention is going towards Necto Studio, so i am not sure when there will be an update for this.

Regards,

Ivan.

Post Reply

Return to “mikroPascal PRO for PIC General”