Microchip
直播中

h1654155275.5842

7年用户 273经验值
私信 关注
[问答]

I2C1BRG默认值是什么?

阅读DS79000196F DS7000 00 195F -第19页,关于波特率设置(I2C1BRG)。注1:参考BRG再装入值计算的具体数据表。DSPIC33 EP512MC806数据表不提及I2C波特率。注2:如果没有计算……默认的BRG重载值应该被考虑……但是默认值是什么,我在哪里可以找到它?

以上来自于百度翻译


      以下为原文

    Reading DS70000196F DS70000195F - Page 19, regarding Baud Rate setting (I2C1BRG).

Note 1: Refer to specific data sheet for BRG reload value calculation.
dsPIC33EP512MC806 data sheet does not mention I2C Baud rate.

Note 2: If no calculation...... default BRG reload value should be considered...

But what is the default value, where can I find it?

回帖(4)

王焕树

2019-3-13 07:53:45
你错误地引用了这张纸条。它说:“2:如果在数据表中没有计算,则应该考虑默认BrGrand值的计算。”“默认计算”是在该语句的正上方出现的。D在设备数据表中。

以上来自于百度翻译


      以下为原文

    You misquoted the note. It says:
"2: If there is no calculation mentioned in the data sheet, then the default BRG
reload value calculation should be considered."
 
The "default calculation" is the one that appears immediately above that statement.
It is saying to use that calculation if there isn't a more specific version listed in your device datasheet.
 
举报

潘璐

2019-3-13 08:02:31
单个寄存器通常在FRM中讨论,但是您可以在“所有重置”列下的数据表表4-22中找到默认设置。

以上来自于百度翻译


      以下为原文

    Individual registers are usually discussed in the FRM, but you can find the default settings in the datasheet Table 4-22 under the "All Resets" column.
举报

王焕树

2019-3-13 08:12:07
“权力的价值”是零,但这是无关的,它不是正确的句子指的是什么。

以上来自于百度翻译


      以下为原文

    The "power on value" is zero, but that's irrelevant, it's not what the correct sentence is referring to.
 
 
举报

李铭鑫

2019-3-13 08:25:40
HI,在I2C外围设备的硬件复位状态中没有可用的默认值。不同的PIC器件系列可能会从不同的源获取原始时钟信号,因此可能需要不同的计算。安全值将是振荡器频率除以I2C时钟频率:BRG= FoC/C.100000;对于更快的DSPICE…设备,注意该值不超过寄存器BRG字段中可容纳的最大值。如果产生的频率为预期的1/2,则调整设置。我认为对于DSPICHYSYEP设备和类似的70 MHz设备,正确的时钟信号可以是外围设备。时钟:FP= FOSC/2给出:BRG=FP/(2×Fi2C)MysIL

以上来自于百度翻译


      以下为原文

    Hi,
There is no useable default value in hardware reset state for I2C peripheral.
Different families of PIC devices may take the raw clock signal from somewhat different sources,
so may need different calculations.
A safe value would be oscillator frequency divided by I2C clock frequency: BRG = fOSC / 100000;
For the faster  dsPICE... devices, take care that the value do Not exceed the maximum value that may be accomodated in BRG field of the register.
If the resulting frequency is 1/2 of what was expected, adjust the setting.
 
I think that for dsPIC___EP devices and similar 70 MHz devices, 
the correct clock signal may be Peripheral clock: FP = FOSC/2
giving:    BRG = Fp / ( 2* FI2C)
 
   Mysil
举报

更多回帖

发帖
×
20
完善资料,
赚取积分