Not able to send continuous message in FLEXCAN(Block Size = 0)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Not able to send continuous message in FLEXCAN(Block Size = 0)

1,586件の閲覧回数
gokulavarma_gan
Contributor II

I am working on S32K144 micro. I have initialized Flexcan with 500 Baud Rate. While Downloading data with Block size = 0 , it is giving download error. whenever i am changing Block size = 1, it is working fine.

I would like to know why it is not working in Block Size = 0, If it should work in Block size = 0 , what changes needs to be done.

I am FIFO method in Flexcan whereas DMA is disabled.

Can you please provide a solution for the FLEXCAN to work in BLock Size = 0

0 件の賞賛
返信
2 返答(返信)

1,402件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Could you explain me what is the blocksize? Is this a output of some tool?

Could you share more details on this issue?

regards,

Peter

0 件の賞賛
返信

1,402件の閲覧回数
gokulavarma_gan
Contributor II

hi,

Blocksize here refers to the number of frames sent in between the Flow control frames.

Blocksize is hardcoded inside the software. Based on the Blocksize it will transfer the data.

For Example:

1. If the Blocksize is one

During Transfer data request, the Boot loader will send first 8 bytes and waits for the flow control frame. If it receives the flow control frame then it sends the next 8 bytes of data.

2. If the Blocksize is two

It will send two 8 bytes of data and waits for flow control frame, if the Flow control frame is received it will send the next two 8 bytes of data.

0 件の賞賛
返信