Search found 15 matches

by ruben_1989
Thu Apr 09, 2020 9:37 am
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

Hi

Indeed, SPI CAL component solved everything for me. :D
Thanks for the info !

For the CS/SS line I use B0 now for mcp41010 and B2 for the SPI to communicate with MCP2515
I attached the program that fully works

Thank you for everything.

Ruben
by ruben_1989
Thu Apr 09, 2020 6:37 am
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

Hi first I want to thank you for all of your effort to help me out. I found the solution. I use the macro from SPI master in the sections comms. And this works fine if you work with the hardware ports. Now I use the call spi from the section tools and this made it working :D now I can choose which p...
by ruben_1989
Wed Apr 08, 2020 9:42 am
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

I programmed everything like you recommended.still doesn't work You use the hardware port I use the software (bit banged version) here is where everything goes wrong. Where you selected channel 1 I selected software so I could choose which pins I would use to control SPI I think there is a bug in fl...
by ruben_1989
Tue Apr 07, 2020 8:29 pm
Forum: Flowcode V8
Topic: Dmx
Replies: 1
Views: 1060

Re: Dmx

Hi I made something with dmx but the files aren't on this computer .If i remember it was 4 wires tx ,rx vdd gnd ,not that hard to put some data on the dmx line's I programmed it with a Arduino don't know if it is that easy with a raspberry pi but think it isn't that hart :wink: If you order the chip...
by ruben_1989
Tue Apr 07, 2020 12:17 pm
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

HI

I use B2 to control the cs line for the SPI connection between the Arduino and mcp2515 can controller.
by ruben_1989
Tue Apr 07, 2020 9:08 am
Forum: Flowcode V8
Topic: serial monitor
Replies: 1
Views: 1072

Re: serial monitor

Hi

you can use the serial monitor of Arduino itself or the free program :REALTERM
I can not use the window console because I don't have license of debug mode in flow code maybe the same with you

grts Ruben
by ruben_1989
Tue Apr 07, 2020 8:20 am
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

I adjusted something to know what is happening. I have measured with the scoop on the cs line, clock line and the data line. Nothing happens on the clock line and the data line only the cs line gives a pulse for the mcp41010 -clock line = > D5 nothing -data line => D6 nothing -CS line => D7 a little...
by ruben_1989
Mon Apr 06, 2020 12:58 pm
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

HI Thanks for the information I know there is an issue if I use another port than the B2 port to control the CS pin with hardware SPI peripheral but this part works really well. Then everything works fine. But when I want to use the software bit banged version, so I can use the hardware part to cont...
by ruben_1989
Mon Apr 06, 2020 9:29 am
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

Hi Sorry for the misunderstanding. Yes we have a problem with the SPI component when we use the hardware mode everything works fine but if we use the software mode in the properties's of spi macro. There starts the problems sometimes it Will work but most of the time it doesn't work. Is there some k...
by ruben_1989
Sun Apr 05, 2020 8:32 pm
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

Re: arduino and spi on software

hi correct me if I'm wrong . but i don't really initialize the mcp41010 to be a resistor. I just send the adres 17 and then i send the "waarde" == value of the potentiometer that wil adding up by 1 til 255 and send it with spi macro . i read in the value of the potentiometer with port AN0 . i tried ...
by ruben_1989
Thu Apr 02, 2020 6:02 pm
Forum: AVR & Arduino
Topic: arduino and spi on software(solved)
Replies: 18
Views: 1140

arduino and spi on software(solved)

hi we are messing around with CAN and SPI the can components works also with SPI and it works with the "hardware" ports . now we would like to use a mcp41010 that also works with SPI . we taught to be smart and use sofware ports and selected some . and we use the uart to figure out Wat went wrong . ...
by ruben_1989
Thu Apr 02, 2020 5:28 pm
Forum: Flowcode V7
Topic: Can bus rate changing with variable
Replies: 2
Views: 495

Re: Can bus rate changing with variable

Hi Benj Thanks for the information I write a new program for it . I would like to integrate it in the program as a macro that we use as analyzer its programmed in dutch I'm sorry. I write the program that change the data rate in English i did my best to write it as readable for you as possible . Sor...
by ruben_1989
Tue Mar 31, 2020 11:00 am
Forum: Flowcode V7
Topic: Can bus rate changing with variable
Replies: 2
Views: 495

Can bus rate changing with variable

Hi We are programming a can bus analyzer and it works well. We would like to change the can bus speed properties of the can bus analyzer on itself in the Arduino. The variable can bus rate looks like a solution to use, but we can't change the value of the variable . how does it come we can't change ...
by ruben_1989
Mon Feb 24, 2020 11:55 am
Forum: General Programming
Topic: MCP41010 Digital Pot
Replies: 8
Views: 9228

Re: MCP41010 Digital Pot

thanks for the info .

We get the circuit and the program working know, but we changed the propertie's of the SPI and now everything worked out
I was confused about the leading edge trailing edge :oops: :lol:
by ruben_1989
Wed Feb 19, 2020 4:01 pm
Forum: General Programming
Topic: MCP41010 Digital Pot
Replies: 8
Views: 9228

Re: MCP41010 Digital Pot

Hi , I'm using an Arduino uno and a digital pot MCP41010. But the program doesn't work Pin ss from the Arduino is connected to CS from MCP41010 We put CS low when sending data we are using flow code 7 We aren't enable to let the program work with flow code , we used a data analyzer en the value we w...