I wrote a code to use can bus for stm32f103rct6. It doesn't work on stm32f103rct6 but work on stm32f103ret6. Why? Can you help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-25 03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-25 04:53 AM
Hello,
According to the datasheet there are no differences between stm32f103RC & stm32f103RE except the Flash size. I don't think this is related to the chip but may be to your hardware.
Is there a hardware difference between the two boards (PCB, crystal, CAN transceiver, etc ..)?
SofLit
PS: This is NOT an online support (https://ols.st.com) but a collaborative space. So please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-25 05:20 AM
Thanks for response.
Yes.They are in two different boards but I used other peripherals of STM32f103RC in my board.Only CAN bus doesn't work. I used external crystal 8MHz. CAN bus hasn't connected to other hardware. CANTX and CANRX is free. I observed CANTX on oscilloscope. It is High alltime. How do you think?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-25 05:36 AM
You haven't provided enough relevant information to diagnose the problem. There are many things that could be wrong, including hardware errors and software errors. Can you toggle the pin and observe on a scope? That is a starting point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-25 08:15 PM
Yes.I toggle CANTX and CANRX pins and can observe on scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-26 12:33 AM
Hello,
We can't help you if you don't provide more details.
Could you please share the schematics of the boards at least CAN part (from GPIOs to CAN bus) and the crystal value of each board?
SofLit
PS: This is NOT an online support (https://ols.st.com) but a collaborative space. So please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.