• AVR Freaks

Hot!DRV_USART1_Read halts on bufferObj inUse

Author
Vincenzo Cri
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2020/12/09 07:08:22
  • Location: 0
  • Status: offline
2020/12/10 10:03:17 (permalink)
4 (1)

DRV_USART1_Read halts on bufferObj inUse

 

Hello!

In my project, I need to communicate with an external device through a USART interface. I'm using Harmony v1.1 on PIC32MZ2048EFH144 MCU. Whenever I try to read something from this device my firmware halts on 
 DRV_USART1_Read 

on the following line: 
 while(bufferObj->inUse);

 
Anyone can help me? Why do the firmware halts on this line? Is this halt due to a bad configuration or is related to a not responding device? 

Best regards,
Vincenzo
#1
Jump to:
© 2021 APG vNext Commercial Version 4.5