你好,
你描述的问题是程序一直在中断里面执行吗?
断点打在里面可以停住吗?
下面的程序是TI的参考代码,希望对你有帮助:
/* --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…
dac8831是spi接口的ic。我手里没有这个ic。
你参考官网的例程吧
/* --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…
/* --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…
芯片肯定不会有问题,这个系列是很古老的一个系列了,用了十多年都没事情。不知道你的代码是自己写的还是用的官方给的例程序。
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification…
楼主你好!
每一种模式都可以输出占空比可调的方波。而且能且仅能产生方波。楼主可以参考下面代码:
/* --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…