Page 1 of 1

DSPIC33EP32MC502 CANBUS Problem

Posted: Fri Feb 23, 2018 2:04 pm
by celebriums
Hello to everyone
Could you help me with the following error, please?



I set the following values ​​in the DSPIC33 processor for CANBUS communication.

Extended ID: 419304000
Buffer:0
Channel: Internal1
BUS_RATE:250
SAMPLE: %50
SJW:4
EXID: STANDART & EXTENDED
Data0 = 0b00001000
Data1 = 0b00001000
Data2 = 0b00001000
Data3 = 0b00001000
Data4 = 0b00001000
Data5 = 0b00001000
Data6 = 0b00001000
Data7 = 0b00001000

With MICROCHIP CANBUS ANALYZER, the values ​​I see on the circuit output are different. :?

Extended ID: 419315520x
Buffer:0

Data0 = 0x08
Data1 = 0x00
Data2 = 0xFD
Data3 = 0x18
Data4 = 0x08
Data5 = 0x18
Data6 = 0x08
Data7 = 0x00

Flowcode 7.3.0.5

Re: DSPIC33EP32MC504 CANBUS Problem

Posted: Sun Feb 25, 2018 9:47 am
by celebriums
Hello

I set the following values ​​in the DSPIC33 processor for CANBUS communication.
When Data5 = 0, Data6 = 0 Data7 = 0, the ID number is correct (ID: 12FE1240 DLC = 8 ).
Data5 = 0xFE, Data6 = 0x11 When Data7 = 0x01, the ID number is incorrect (ID: 12FE1346 DLC = 29).

What can be the problem?


Extended ID: 0x12FE1240
Buffer:0
Channel: Internal1
BUS_RATE:250
SAMPLE: %50
SJW:4
EXID: STANDART & EXTENDED
Data0 = 0x32
Data1 = 0x30
Data2 = 0x99
Data3 = 0xA0
Data4 = 0xAF
Data5 = 0
Data6 = 0
Data7 = 0