FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Posted: Sun Mar 30, 2014 1:56 am
Hi
i try to get this run with HW UART but i think i make false or the Uart will make fun to me... or i try a function that not gives..
If i try the RS232 with Channel example Channel 2.. the Tx and Rx connections will be grey and i can make Tx Remap Rx Remap
so i set this to PortG.6 and PortG.7..
I test my message but i get wrong characters.../ ..strings.. no indifikation to send Message.
If i try with "Software" in Properties, ( Channel --Software ) i will get my Message well,
the Tx and Rx in Properties will be the same like the Tx Remap and Rx Remap..
if i try with "Channel 1 or 2 or 3 or 4" in Properties ( Channel -- Channel 1....4 ) i will get not the right Message like i send.. ..no indifikation to SendMessage..
( Channel Channel 1 does not gives Resonse to the Pins... ) ..
Can someone tell me what i make wrong..
I have make a simple Hello World.
If i want a HW Uart i must Set in Properties in Channel Channel 1..4 right?
I try Channel 1..4 at pins example PortG.6 PortG.7 but i can not get the right Message
I try Software at pins example PortG.6 PortG.7 i can get the right Message.
hmm..
My question is
Is the "Software" Channel a HW Uart in this Chip Pack?
The Channel Channel 1..4 normaly this the 4 UART for the Chip PIC23FJ256GB106...
how i can make it with Channel 1..4? Why get i wrong Messages if i set this Channel 1..4?
..otherwise... must i take "Channel 1..4 " ? ...
Ok... i try a long Time in this.. i have check all ( config bits ) ... and i think i must ask this -
i do not know next steps... perhabs someone can give me the right doing for this..
Best Thank for reading and your help!
Best wishes
Rudi
Edit:
Example:
The Message is : Hello World
as Software i get the right
as Channel 2 i get ... 6x Chars in HEX were this : 82 C6 87 E1 C5 F4
this have no indifikation with my message Hello World
Edit2: OK I found next steps...
The Theme is : Peripheral Pin Select ( S. 129 )
http://www.microchip.com.tw/Data_CD/Dat ... 39905E.pdf
I will read in more...
Edit3:
The Theme is : Peripheral Pin Select ( S. 135 )
http://ww1.microchip.com/downloads/en/D ... 39897c.pdf
PIC24..GB-- Family... ( S. 135 )
..
Edit4: ;-(
If i take Software as Channel.. the pins Tx Rx i set PORTG.6 and PORTG.7 is ok
if i try Cannel as Channel ... the pins Tx Rx are grey as PORTG.6 and PORTG.7 and TX Remap RX Remap will be same but can edit.. Someone know how this go on? I will not get right Message at this Position.
Must i remap this then to a other PIN? .. my steps are broken.. ;-( ...
i try to get this run with HW UART but i think i make false or the Uart will make fun to me... or i try a function that not gives..
If i try the RS232 with Channel example Channel 2.. the Tx and Rx connections will be grey and i can make Tx Remap Rx Remap
so i set this to PortG.6 and PortG.7..
I test my message but i get wrong characters.../ ..strings.. no indifikation to send Message.
If i try with "Software" in Properties, ( Channel --Software ) i will get my Message well,
the Tx and Rx in Properties will be the same like the Tx Remap and Rx Remap..
if i try with "Channel 1 or 2 or 3 or 4" in Properties ( Channel -- Channel 1....4 ) i will get not the right Message like i send.. ..no indifikation to SendMessage..
( Channel Channel 1 does not gives Resonse to the Pins... ) ..
Can someone tell me what i make wrong..
I have make a simple Hello World.
If i want a HW Uart i must Set in Properties in Channel Channel 1..4 right?
I try Channel 1..4 at pins example PortG.6 PortG.7 but i can not get the right Message
I try Software at pins example PortG.6 PortG.7 i can get the right Message.
hmm..
My question is
Is the "Software" Channel a HW Uart in this Chip Pack?
The Channel Channel 1..4 normaly this the 4 UART for the Chip PIC23FJ256GB106...
how i can make it with Channel 1..4? Why get i wrong Messages if i set this Channel 1..4?
..otherwise... must i take "Channel 1..4 " ? ...
Ok... i try a long Time in this.. i have check all ( config bits ) ... and i think i must ask this -
i do not know next steps... perhabs someone can give me the right doing for this..
Best Thank for reading and your help!
Best wishes
Rudi
Edit:
Example:
The Message is : Hello World
as Software i get the right
as Channel 2 i get ... 6x Chars in HEX were this : 82 C6 87 E1 C5 F4
this have no indifikation with my message Hello World
Edit2: OK I found next steps...
The Theme is : Peripheral Pin Select ( S. 129 )
http://www.microchip.com.tw/Data_CD/Dat ... 39905E.pdf
I will read in more...
Edit3:
The Theme is : Peripheral Pin Select ( S. 135 )
http://ww1.microchip.com/downloads/en/D ... 39897c.pdf
PIC24..GB-- Family... ( S. 135 )
..
Edit4: ;-(
If i take Software as Channel.. the pins Tx Rx i set PORTG.6 and PORTG.7 is ok
if i try Cannel as Channel ... the pins Tx Rx are grey as PORTG.6 and PORTG.7 and TX Remap RX Remap will be same but can edit.. Someone know how this go on? I will not get right Message at this Position.
Must i remap this then to a other PIN? .. my steps are broken.. ;-( ...