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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,156 次查看
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 回复数

972 次查看
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 项奖励
回复

972 次查看
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 项奖励
回复