Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

TRAVEO™ T2G Forum Discussions

Dagongren_00
Level 1
First reply posted First question asked Welcome!
Level 1

Tx is OK. the slave(PC) could get the Tx data。

but Rx is NG. cannot receive  data. and the interrupt funciton do not run (set the break point,but not stop at it ).

 

0 Likes
1 Solution
AS_36
Moderator
Moderator 500 replies posted 250 solutions authored 250 replies posted
Moderator

Hi @Dagongren_00 

Please elaborate a little more on your setup. Are you using any of the development boards or your own custom board?

Also, are you using the SDL? If yes, which version? Are you using the example as is or have you made any modifications?

Regards.

View solution in original post

0 Likes
2 Replies
AS_36
Moderator
Moderator 500 replies posted 250 solutions authored 250 replies posted
Moderator

Hi @Dagongren_00 

Please elaborate a little more on your setup. Are you using any of the development boards or your own custom board?

Also, are you using the SDL? If yes, which version? Are you using the example as is or have you made any modifications?

Regards.

0 Likes
Dagongren_00
Level 1
First reply posted First question asked Welcome!
Level 1

Thank you.

i used startkit from T2G_Sample_Driver_Library_7.5.0\tviibe1m\tools\iar\flash\tviibe1m_flash_cm4_mc_template.eww。

because want to use Can, i rewrite the main(), to call ClassicCANInit()。

then,I tried the tx by Cy_CANFD_UpdateAndTransmitMsgBuffer() was OK.

Rx is via Interrupt that calls Cy_CANFD_IrqHandler()。When i send data to board via Can,  but didnot find Cy_CANFD_IrqHandler() runned。

0 Likes