Search found 7 matches

by arun
Thu Sep 29, 2022 5:30 am
Forum: General discussion
Topic: using spi1 and spi2 simultaneously
Replies: 17
Views: 4420

Re: using spi1 and spi2 simultaneously

Thank you ag123. :D
at last, it got compiled without any errors
by arun
Wed Sep 28, 2022 10:22 am
Forum: General discussion
Topic: using spi1 and spi2 simultaneously
Replies: 17
Views: 4420

Re: using spi1 and spi2 simultaneously

followed your instructions but still :oops: no matching function for call to 'SPIClass::SPIClass(<anonymous enum>, <anonymous enum>, <anonymous enum>)' SPIClass SPI_2(PB15, PB14, PB13); Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Generic STM32F103C series, STM32F103C8 (20k RA...
by arun
Wed Sep 28, 2022 9:05 am
Forum: General discussion
Topic: using spi1 and spi2 simultaneously
Replies: 17
Views: 4420

Re: using spi1 and spi2 simultaneously

i got this error code Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STLink, 72Mhz (Normal), Smallest (default)" cans:16:32: error: no matching function for call to 'SPIClass::SPIClass(<anonymous enum>, <anonymous...
by arun
Wed Sep 28, 2022 7:07 am
Forum: General discussion
Topic: using spi1 and spi2 simultaneously
Replies: 17
Views: 4420

Re: using spi1 and spi2 simultaneously

this is the library file with spi settings /* mcp_can.cpp 2012 Copyright (c) Seeed Technology Inc. All right reserved. 2017 Copyright (c) Cory J. Fowler All Rights Reserved. Author: Loovee Contributor: Cory J. Fowler 2017-09-25 This library is free software; you can redistribute it and/or modify it ...
by arun
Tue Sep 27, 2022 3:15 pm
Forum: General discussion
Topic: using spi1 and spi2 simultaneously
Replies: 17
Views: 4420

Re: using spi1 and spi2 simultaneously

thank you all for your replies and sorry for using the word simultaneously what I wanted to ask is how to use both spi1 and spi2. I want to use mcp2515 at spi2. I need to modify that library. what I want to know is what file needs to be modified and how it needs to be modified. I never modified a li...
by arun
Mon Sep 26, 2022 11:16 am
Forum: General discussion
Topic: using spi1 and spi2 simultaneously
Replies: 17
Views: 4420

using spi1 and spi2 simultaneously

I want to simultaneously use the st7920 LCD at spi1 and mcp2515 at spi2 on stm32f103c8t6. I am using Arduino ide. some explanation and example code is needed. :?:
by arun
Wed Sep 21, 2022 11:54 am
Forum: General discussion
Topic: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?
Replies: 11
Views: 6623

Re: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?

can anyone share an example code to use spi1 and spi2 simultaneously in stm32f103c8t6 in Arduino IDE?

Go to advanced search