S32K566 LPUART Communication Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K566 LPUART Communication Issue

92 Views
Manikandan_Aruchamy
Contributor I

Hi,

I am using the Uart_Example_S32K566_M7 module on the S32K566 microcontroller with an LPUART module clock of 50 MHz. I configured the baud rate to 115200 and am sending 0xAA data to the PC using a UART-to-USB converter. However, the received data is incorrect (0x00 0x80 0x80). When I configure the baud rate to 115200/8 = 14400, the data is received correctly. I also tried different baud rates such as 9600 and 19200.

I am using S32DS 3.6.6 and SDK 0.8.0.

Uart_Example_S32K566_M7 source code also attached here please find. 

I have attached the configuration and received data screenshots for reference.

 

Manikandan_Aruchamy_0-1786092514163.png

 

Receiver terminal window baud rate is 115200:

Manikandan_Aruchamy_1-1786092584169.png

Receiver terminal window baud rate is 14400:

Manikandan_Aruchamy_2-1786092633034.png

 

 

0 Kudos
Reply
1 Reply

72 Views
PavelL
NXP Employee
NXP Employee

Hello @Manikandan_Aruchamy ,

I hope this email finds you well. I am writing to you in regard to a product currently in your possession – an NPI (New Product Introduction) which has not been officially launched yet.

Please be advised that customers who have been granted early access to such products have assigned their field engineers. Your designated field engineer should serve as your primary support channel for any issues, concerns or queries you may have about this product.

Our online support team will be opening a wider range of support for this product once it has been officially released. Until then, we will not be equipped to provide the desired assistance.

Thank you for your understanding.

Best regards,

Pavel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2402811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K566%20LPUART%20Communication%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20using%20the%20Uart_Example_S32K566_M7%20module%20on%20the%20S32K566%20microcontroller%20with%20an%20LPUART%20module%20clock%20of%2050%20MHz.%20I%20configured%20the%20baud%20rate%20to%20115200%20and%20am%20sending%200xAA%20data%20to%20the%20PC%20using%20a%20UART-to-USB%20converter.%20However%2C%20the%20received%20data%20is%20incorrect%20(0x00%200x80%200x80).%20When%20I%20configure%20the%20baud%20rate%20to%20115200%2F8%20%3D%2014400%2C%20the%20data%20is%20received%20correctly.%20I%20also%20tried%20different%20baud%20rates%20such%20as%209600%20and%2019200.%3C%2FP%3E%3CP%3EI%20am%20using%20S32DS%203.6.6%20and%20SDK%200.8.0.%3C%2FP%3E%3CP%3EUart_Example_S32K566_M7%20source%20code%20also%20attached%20here%20please%20find.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20attached%20the%20configuration%20and%20received%20data%20screenshots%20for%20reference.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Manikandan_Aruchamy_0-1786092514163.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Manikandan_Aruchamy_0-1786092514163.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393956i1D64259D4BA1E1C0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Manikandan_Aruchamy_0-1786092514163.png%22%20alt%3D%22Manikandan_Aruchamy_0-1786092514163.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EReceiver%20terminal%20window%20baud%20rate%20is%20115200%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Manikandan_Aruchamy_1-1786092584169.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Manikandan_Aruchamy_1-1786092584169.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393957i11D0254BCCCD6950%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Manikandan_Aruchamy_1-1786092584169.png%22%20alt%3D%22Manikandan_Aruchamy_1-1786092584169.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EReceiver%20terminal%20window%20baud%20rate%20is%2014400%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Manikandan_Aruchamy_2-1786092633034.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Manikandan_Aruchamy_2-1786092633034.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393958iAA73EC6E78B75927%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Manikandan_Aruchamy_2-1786092633034.png%22%20alt%3D%22Manikandan_Aruchamy_2-1786092633034.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402891%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K566%20LPUART%20Communication%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402891%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F265400%22%20target%3D%22_blank%22%3E%40Manikandan_Aruchamy%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20email%20finds%20you%20well.%20I%20am%20writing%20to%20you%20in%20regard%20to%20a%20product%20currently%20in%20your%20possession%20%E2%80%93%20an%20NPI%20(New%20Product%20Introduction)%20which%20has%20not%20been%20officially%20launched%20yet.%3C%2FP%3E%0A%3CP%3EPlease%20be%20advised%20that%20customers%20who%20have%20been%20granted%20early%20access%20to%20such%20products%20have%20assigned%20their%20field%20engineers.%20Your%20designated%20field%20engineer%20should%20serve%20as%20your%20primary%20support%20channel%20for%20any%20issues%2C%20concerns%20or%20queries%20you%20may%20have%20about%20this%20product.%3C%2FP%3E%0A%3CP%3EOur%20online%20support%20team%20will%20be%20opening%20a%20wider%20range%20of%20support%20for%20this%20product%20once%20it%20has%20been%20officially%20released.%20Until%20then%2C%20we%20will%20not%20be%20equipped%20to%20provide%20the%20desired%20assistance.%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20understanding.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E