Can I send data via CAN bus by reading data from USB using STM32?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-24 6:25 AM
I have a GPS module and I use it by connecting it to my computer via USB.
I also want a CAN bus output.
Can I use the STM32F730R8T6 processor?
How can I introduce the information from the USB to the STM32 processor? Which pins should I use?
After doing this I also need to get a CAN bus output.
Can you help me?
- Labels:
-
CAN
-
STM32F7 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-24 10:01 AM
First, get familiar with USB CDC or HID class - both are supported by CubeMX, choose the one which suits you best.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-24 11:48 AM
You can see if this video will get you started https://www.youtube.com/watch?v=oe5JmYYAZy0
It shows how to set the STM32 as a Custom HID device and also use CAN bus.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-25 3:27 AM
STM32F730R8T6 is a bit overkill but yes,
MIND the extra transceiver needed : almost everyone forgets they need the canbus transceiver IC when starting with canbus
