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
DSPIC33EP32MC502 CANBUS Problem
Moderator: Benj
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
DSPIC33EP32MC502 CANBUS Problem
- Attachments
-
- EMD_CANBUS.fcfx
- (128 KiB) Downloaded 234 times
Last edited by celebriums on Thu Mar 01, 2018 3:07 pm, edited 1 time in total.
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
Re: DSPIC33EP32MC504 CANBUS Problem
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
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
- Attachments
-
- EMD_CANBUS_bug.fcfx
- (129.31 KiB) Downloaded 242 times