Search found 2 matches

by Jo910
31 May 2022 16:53
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: UART baudrate wrong
Replies: 2
Views: 1327

Re: UART baudrate wrong

Hi, thank you for the reply. The code examples for the 33EP512MU810 helped me and now UART is working with FRC frequency 7,37 MHz. But I want to use a faster frequency. In further code examples and the datasheet, I understood how to configure PLL. With my code, FRC frequency should be multiplied wit...
by Jo910
24 May 2022 20:55
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: UART baudrate wrong
Replies: 2
Views: 1327

UART baudrate wrong

Hi, I am currently working on a UART terminal for a dsPIC33EP512MC502. UART1 should be on Pin 21 and 22 of a 28pin DIP package. Code looks like this: void main () { Unlock_IOLOCK(); PPS_Mapping_NoLock(42, _OUTPUT, _U1TX); --> Pin 21 --> RP42 PPS_Mapping_NoLock(43, _INPUT, _U1RX); --> Pin 22 --> RP43...

Go to advanced search