Skip to content

[BUG] UART issue for PIC18Fx7Q43 devices #384

@StrahinjaJacimovic

Description

@StrahinjaJacimovic

Describe the bug

UART1 module does not work for PIC18Fx7Q43 devices.

To Reproduce

Simply open UART DEMO from NECTO and set pins which are on UART1 module. RC6 and RC7 for example.

Expected behavior

UART echo demo works.

Screenshots

None.

Information (please complete the following information):

  • OS: Any
  • SDK version 2.14.4
  • HW related to issue (board, MCU, etc.)
    • MCU Card 11 for PIC with PIC18F57Q43
    • EasyPIC PRO v8

Additional context

The issue seems to be related to incorrect IRQ numbers for UART1 specifically.

Example:

#define HAL_LL_IRQ_U1RXIE_BIT 33
#define HAL_LL_IRQ_U1TXIE_BIT 34

// Change macros to

#define HAL_LL_IRQ_U1RXIE_BIT 32
#define HAL_LL_IRQ_U1TXIE_BIT 33

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions