你好雷,
为了给您答案,让我参考MCU
http://www.st.com/resource/en/datasheet/stm8s003k3.pdf
。这是正确的,来自Option Bytes区域的AFR7位负责蜂鸣器。但是,如果我们在上述文件中提到更详细的信息,我们可以注意到:在表14中,它描述了STM8S003K3的选项字节,AFR7是保留的。在表15中,它取消了STM8S003F3的选项字节,AFR7可以重新配置。如果我们使用STVP并在开始时选择STM8S003F3然后选择STM8S003K3,结果是相同的:STM8S003F3允许改变AFR7的值而STM8S003K3不允许改变AFR7。
因此,没有什么不对,你做的。您使用的潜水装置不支持此功能。
问候
Szymon
以上来自于谷歌翻译
以下为原文
Hello Lei,
In order to provide you the answer, let me refer to MCU's
http://www.st.com/resource/en/datasheet/stm8s003k3.pdf
. This is correct, that AFR7 bit from Option Bytes region is responsible for beeper. However if we refer to more detailed information in mentioned document, we can notice that:
- in Table 14, which desribes Option Bytes for STM8S003K3, AFR7 is reserved.
- in Table 15, which desribes Option Bytes for STM8S003F3, AFR7 can be reconfigured.
If we use STVP and select at the beginning STM8S003F3 and then STM8S003K3, the result is the same: STM8S003F3 allows to change value of AFR7 and STM8S003K3 doesn't allow to change AFR7.
So as a result there is nothing wrong, which you do. Simply the diveice, which you use, doesn't support this feature.
Regards
Szymon
你好雷,
为了给您答案,让我参考MCU
http://www.st.com/resource/en/datasheet/stm8s003k3.pdf
。这是正确的,来自Option Bytes区域的AFR7位负责蜂鸣器。但是,如果我们在上述文件中提到更详细的信息,我们可以注意到:在表14中,它描述了STM8S003K3的选项字节,AFR7是保留的。在表15中,它取消了STM8S003F3的选项字节,AFR7可以重新配置。如果我们使用STVP并在开始时选择STM8S003F3然后选择STM8S003K3,结果是相同的:STM8S003F3允许改变AFR7的值而STM8S003K3不允许改变AFR7。
因此,没有什么不对,你做的。您使用的潜水装置不支持此功能。
问候
Szymon
以上来自于谷歌翻译
以下为原文
Hello Lei,
In order to provide you the answer, let me refer to MCU's
http://www.st.com/resource/en/datasheet/stm8s003k3.pdf
. This is correct, that AFR7 bit from Option Bytes region is responsible for beeper. However if we refer to more detailed information in mentioned document, we can notice that:
- in Table 14, which desribes Option Bytes for STM8S003K3, AFR7 is reserved.
- in Table 15, which desribes Option Bytes for STM8S003F3, AFR7 can be reconfigured.
If we use STVP and select at the beginning STM8S003F3 and then STM8S003K3, the result is the same: STM8S003F3 allows to change value of AFR7 and STM8S003K3 doesn't allow to change AFR7.
So as a result there is nothing wrong, which you do. Simply the diveice, which you use, doesn't support this feature.
Regards
Szymon
举报