Is it possible doing CAN loop test ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Visit site
Activity points
9,442
Guys,

Is it possible for me doing CAN loop test

so the output from CAN, CAN TX, I connect back to CAN RX

The code in STM32 :
Code:
GPIOB->CRH |=  (0x08<<0);                       // CAN RX pin PB.8 input push pull 
GPIOB->CRH |=  (0x0B<<4);                       // CAN TX pin PB.9 alternate output push pull

Thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…