请您参考下下面的例程,SMCLK=1MHZ,115200 /* --COPYRIGHT--,BSD_EX
* Copyright (c) 2014, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the…
很高兴您能解决问题
您现在使用的是5137的板子?
我们是有一个RTC的例程的,也是反转P1.0,您可以参考一下
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are…
您现在是自己设计的板子?建议您用下面的程序测试一下
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following…
请问您现在情况怎么样了?
我在MSP430F5529 LAUNCHPAD上测试了一下,使用XT2 4Mhz/UART1是可以正常使用的
代码如下
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
…
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are…
zhao ge 说: 1.CS的配置接口调用是否正常,同时16Mhz情况下关于ratio参数的计算方法是否正常,16Mhz/32678hz ≈489
看起来没什么问题。我们有个寄存器版本的例程,您也可以参考
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2014, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and…