主题中讨论的其他器件: MCF8316A
工具与软件:
由于存在 I2C 挂起问题、我们从 MCF8316A 典型值更改为 MCF8316C-Q1。
现在、在大多数情况下都可以正常工作。 通过 I2C 更改速度并读取状态消息。
都稳定。 但有时仅在上电失败后第一次启动、电机中产生很大的噪声。
问题发生在 Tick 00839 ...
但我只能在10次中的1次为器件加电。
在这之后,它的工作是完美的!
附加的日志。
XXXXX 勾号 = 10ms
00254 BLDC_INIT 0x07D0 (2000)
00255 BLDC_LOOP 下载 0x0000 (0)
00255 BLDC_WriteConfigToEEPROM 启动: 0x0001 (1)
00255 ti_init 长度:0x001B (27)
00255 TI_I2C_BUS_WRITE reg_: 寄存器0080 -> 00638C20
00265 TI_I2C_BUS_WRITE_: 寄存器0082 -> 283AF064
00275 TI_I2C_BUS_WRITE_: 寄存器0084 -> 26640044
00285 TI_I2C_BUS_WRITE reg_: 寄存器0086 -> 13BD2116
00295 TI_I2C_BUS_WRITE_: 寄存器0088 -> 145C01B4
00305 TI_I2C_BUS_WRITE reg_: 寄存器008A -> 280FAD22
00315 TI_I2C_BUS_WRITE reg_: 寄存器008C -> 24800M2
00325 TI_I2C_BUS_WRITE reg_: 寄存器008E -> 63991068
00335 TI_I2C_BUS_WRITE reg_: 寄存器0094 -> 00000000
00345 TI_I2C_BUS_WRITE reg_: 寄存器0096 -> 00000000
00355 TI_I2C_BUS_WRITE_: 寄存器0098 -> 00000000
00365 TI_I2C_BUS_WRITE_: 寄存器009A -> 00000000
00375 TI_I2C_BUS_WRITE reg_: 寄存器009C -> 00000000
00385 TI_I2C_BUS_WRITE reg_: 寄存器009E -> 00000000
00395 TI_I2C_BUS_WRITE_: 寄存器0090 -> 5FF00206
00405 TI_I2C_BUS_WRITE reg_: 寄存器0092 -> 54000000
00415 TI_I2C_BUS_WRITE reg_: 寄存器00A4 -> 00000003
00425 TI_I2C_BUS_WRITE reg_: 寄存器00A6 -> 10100002
00435 TI_I2C_BUS_WRITE reg_: 寄存器00A8 -> 1FFFB000
00445 TI_I2C_BUS_WRITE reg_: 寄存器00AA -> 00000000
00455 TI_I2C_BUS_WRITE_: 寄存器00AC -> 0C013500
00465 TI_I2C_BUS_WRITE_: 寄存器00AE -> 00400000
00475 TI_I2C_BUS_WRITE reg_: 寄存器00A0 -> 00B5407D
00485 TI_I2C_BUS_WRITE reg_: 寄存器00A2 -> 00000160
00495 TI_I2C_BUS_WRITE_: 寄存器00E6 -> 00000000
00505 TI_I2C_BUS_WRITE reg_: 寄存器00F0 -> 016B0236
00515 TI_I2C_BUS_WRITE_: 寄存器00F2 -> 00000000
00525 TI_I2C_BUS_WRITE reg_: 寄存器00EA -> 30000000
00535 ti_ClearFault:0x0000 (0)
00535 BLDC_STOP hardBreak:0x0001 (1)
00535 BLDC_setspeed 百分比: 0.00
00535 BLDC_setspeed newSpeed: 0x00000000 (0)
00535 BLDC_setspeed 百分比: 0.00
00535 TI_I2C_BUS_WRITE reg_: 寄存器00EC -> 80000000
00839 BLDC_START 0x0001 (1)
00859 tiMaxSpeed (Hz): 0x000002BC (700)
00864 TI F_RPM: 0V:24 I:0.00 SM:0D MOTOR_BRAKE_ON_STOP
00864 BLDC_START errorCode: 0x0000 (0)
00864 BLDC_START errValue: 0x0000 (0)
00864 TI_I2C_BUS_WRITE reg_: 寄存器00EA -> 30000000
00874 ti_ClearFault:0x0000 (0)
00874 BLDC_setspeed x 0x00000FA0 (4000)
00874 BLDC_setspeed 百分比: 9.52
00874 BLDC_setspeed newSpeed: 0x00000FA0 (4000)
00874 BLDC_setspeed 百分比: 9.52
00874 TI_I2C_BUS_WRITE reg_: 寄存器00EC -> 8C300000
00906 tiPauseCnt 0x0002 (2)
01008 tiPauseCnt 0x0001 (1)