Processor Expert Bug ?

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

Processor Expert Bug ?

706 Views
zaksawa
Contributor I

Hi

I found two problem on Processor Expert.  Are these reported ?

CW10.5, CPU KL16

1: TPM0

  Default value of Modulo counter is 0.  I think this should be 0xFFFF.

2: UART1

  Clock setting has a bug.  The baud rate that is shown "Baud rate" is missing.  It looks like the baud rate  is calculated with ++divisor.

  For example, Baud rate divisor 6 should be Baud rate 249600 baud but 213942.857 baud under bus clock is 23.9616MHz.

Regards,

Zak

0 Kudos
3 Replies

411 Views
Petr_H
NXP Employee
NXP Employee

Hi,

Could you please provide more details on what components are you using in you project and how they are set?  A sample project showing this would be very helpful.

Best regards

Petr Hradsky

Processor Expert Support Team

0 Kudos

411 Views
zaksawa
Contributor I

Happy New Year :-)

Thank you for your responce.

Both problems are on Init_xxx.  Please check attatched PICT.

Best Regards

Zak

TMP0.pngUART1.png

0 Kudos

411 Views
Petr_H
NXP Employee
NXP Employee

Hi,

You are correct, we have reproduced both issues and confirm that they are defects.

We are sorry for the inconvenience, both problems will be fixed for the next release of Processor Expert.

Both issues can be easily workarounded:

- In Init_TPM, it's just the after reset value is not set properly. Any user-set value should work as expected.

- In Init_UART in case UART1 is set, the user has to expect that the shown baudrate is not correct as it's calculated using divider+1 value

Best regards

Petr Hradsky

Processor Expert Support Team

0 Kudos