AnsweredAssumed Answered

SPC560D30L3 - Serial driver configuration

Question asked by Mike on Jun 4, 2015
Latest reply on Jun 24, 2015 by Erwan Y
I am using SPC560D30L3 with 8MHz crystal. The initialisation settings are as below,
1. IDF = 1
2. NDIV = 48
3. ODF = ODF_DIV8

I have configured the serial for 38400 baud with buffer for 16 bytes. I am trying to send a frame of 7 bytes from PC (using hyperterminal or similar terminal utility). What I have observed is I am receiving only 2 bytes out of 7 - the first and last, in between bytes are lost. What is the problem? Are any setting missing?

The two bytes received are correct, hence I have little doubt for baud setting. Am I correct? I tried different baud settings but same observations. What could be the problem?

Is there any difference in configuration by selecting the Configuration->Identification->Board Identifier and Board Name as 'SPC56D_DISCOVERY' and 'STMicroelectronics SPC56D Discovery' as against the value 'generic SPC56D board'? I have observed that default clock settings differ between the two settings. First one gives XOSC clock as 16MHz and generic gives as 8MHz. Are there any configuration changes? Why these are so?

Your earliest help in this regard will be highly appreciated. Thanks in advance.
Mike.

Outcomes