AnsweredAssumed Answered

The LPSCI question of KL36

Question asked by Robin Zou on Oct 18, 2016
Latest reply on Oct 18, 2016 by Kerry Zhou

Hi,

 

I am using the LPSCI of KL36.I use the example ...\examples\frdmkl46z\driver_examples\lpsci\lpsci_blocking.

 

1) The SCI is OK when configuring SCI as fellow shown.The data that is sent to the software in my computer is correct. 

    lpsci_user_config_t lpsciConfig = {
#if defined(KL02Z4_SERIES)
        .clockSource     = kClockLpsciSrcFll,
#else
        .clockSource     = kClockLpsciSrcPllFllSel,
#endif
        .bitCountPerChar = kLpsci8BitsPerChar,
        .parityMode      = kLpsciParityDisabled,
        .stopBitCount    = kLpsciOneStopBit,
        .baudRate        = BOARD_DEBUG_UART_BAUD
    };

 

2) But it is not OK when I change  ".parityMode      = kLpsciParityDisabled," to ".parityMode      =kLpsciParityEven".

The data that is sent to the software in my computer is not correct. The software  in my computer is also configured as "ParityEven".

Outcomes