Search found 2067 matches
- Tue Sep 15, 2020 11:21 am
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
Phew, glad to hear
- Tue Sep 15, 2020 11:11 am
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
Try Prescale = Fosc/32 ... etc
- Tue Sep 15, 2020 11:05 am
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
That does sound odd. I suspect the SPI, could you try running it slower, or perhaps change the sample point to “Middle”?
- Tue Sep 15, 2020 10:04 am
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
Could you remove the sending from the Flowcode project, and just do the receive?
Maybe flash a LED or output when the message is received?
I am having trouble absorbing all the information
Are you concluding that a message is being received, but that the data is being read incorrectly?
Maybe flash a LED or output when the message is received?
I am having trouble absorbing all the information
Are you concluding that a message is being received, but that the data is being read incorrectly?
- Tue Sep 15, 2020 9:38 am
- Forum: Flowcode V8
- Topic: STM32F446ZCT6 GPIO Pin Pull up/down configuration
- Replies: 16
- Views: 7004
Re: STM32F446ZCT6 GPIO Pin Pull up/down configuration
Yes, what I meant was that the pins PC14 and PC15 are not working properly as inputs because the 446 device uses them for the low speed clock. It looks like this isn't fully disabled by default. I'm still looking into how to fully disable the clock and setup the pins as inputs (i.e. all the register...
- Tue Sep 15, 2020 7:55 am
- Forum: Flowcode V8
- Topic: STM32F446ZCT6 GPIO Pin Pull up/down configuration
- Replies: 16
- Views: 7004
Re: STM32F446ZCT6 GPIO Pin Pull up/down configuration
I think the issue is due to PC14 and 15 being related to the LSE. I recall that on Nucleo boards some jumpers need changing to switch out the oscillator components. If the input isn’t working on your board either, then it looks like some config is missing, but I’m not sure what yet. None of this rel...
- Mon Sep 14, 2020 5:46 pm
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
I've just had another look at your program,
you need to do a CheckRx(0)
Because Rx buffer 0 is set to accept all, it will receive the message with ID 5, not buffer 1
you need to do a CheckRx(0)
Because Rx buffer 0 is set to accept all, it will receive the message with ID 5, not buffer 1
- Mon Sep 14, 2020 4:47 pm
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
1. What should i have for settings in RX buffer 0 to filter out that i only recive ID 5 ? Mask ? Filter ? Where the Mask bit is 1, the Filter bit will be checked to match with the receive ID bit So if Mask is 0x7ff and Filter is 5, then only message ID 5 will be received 2. call component macro Che...
- Mon Sep 14, 2020 4:18 pm
- Forum: Flowcode V8
- Topic: Arduino CAN bus SparkFun CAN
- Replies: 35
- Views: 10666
Re: Arduino CAN bus SparkFun CAN
Could you separate out the problems by first just sending a message and see what the CAN analyzer makes of it? For the messages transmitted from the PIC/Arduino, what bus rate does the CAN analyzer indicate? Does it detect any errors? It might help if you replaced the 500mS delays with a fixed count...
- Mon Sep 14, 2020 2:38 pm
- Forum: Flowcode V8
- Topic: STM32F446ZCT6 GPIO Pin Pull up/down configuration
- Replies: 16
- Views: 7004
Re: STM32F446ZCT6 GPIO Pin Pull up/down configuration
Hi Karthick
Are you using your own PCB, or are you using an ST Nucleo board?
Are you using your own PCB, or are you using an ST Nucleo board?
- Mon Sep 14, 2020 10:04 am
- Forum: Flowcode V8
- Topic: STM32F446ZCT6 GPIO Pin Pull up/down configuration
- Replies: 16
- Views: 7004
Re: STM32F446ZCT6 GPIO Pin Pull up/down configuration
See attached
This reads the pin state into the variable sod_di
Hope it helps.
Are you also saying that you need to turn the pull-up on, read, and then turn off again?
Leigh
This reads the pin state into the variable sod_di
Hope it helps.
Are you also saying that you need to turn the pull-up on, read, and then turn off again?
Leigh
- Mon Sep 14, 2020 8:48 am
- Forum: Flowcode V8
- Topic: STM32F072
- Replies: 12
- Views: 4757
Re: STM32F072
Hi Jorgen,
I thought there might be a virtual drive, in Windows File Explorer, like F:DIS_F
If not, try changing the attached file in C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM directory
Leigh
I thought there might be a virtual drive, in Windows File Explorer, like F:DIS_F
If not, try changing the attached file in C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM directory
Leigh
- Fri Sep 11, 2020 9:40 am
- Forum: Flowcode V8
- Topic: STM32F072
- Replies: 12
- Views: 4757
Re: STM32F072
Hi Jorgen,
When you plug the board into USB does it appear as a virtual drive?
The programmer is looking for the name "DIS_F", maybe it is something else?
Leigh
When you plug the board into USB does it appear as a virtual drive?
The programmer is looking for the name "DIS_F", maybe it is something else?
Leigh
- Fri Sep 11, 2020 9:35 am
- Forum: Flowcode V8
- Topic: STM32F446ZCT6 GPIO Pin Pull up/down configuration
- Replies: 16
- Views: 7004
Re: STM32F446ZCT6 GPIO Pin Pull up/down configuration
Hi Karthick, Attached is the updated version. I have moved the reading of SOA_DI into a macro/function such that only the C code is executed on the target build. This is done with the correct selection of a new property SIMULATION, which needs to be set to NO before you do a build to target. (There ...
- Thu Sep 10, 2020 4:51 pm
- Forum: Flowcode V8
- Topic: STM32F446ZCT6 GPIO Pin Pull up/down configuration
- Replies: 16
- Views: 7004
Re: STM32F446ZCT6 GPIO Pin Pull up/down configuration
Hi, Unfortunately, the pull-up, pull-down feature of the ST ARM IO is not directly implemented within Flowcode. However, it can be done with some C code, but there is a complication. Flowcode access to IO usually also sets up any port/pin direction. For the ST ARM implementation we use the HAL libra...
- Mon Sep 07, 2020 4:00 pm
- Forum: Flowcode V8
- Topic: Pi V 4
- Replies: 1
- Views: 984
Re: Pi V 4
Select Pi3, it will work the same
- Mon Sep 07, 2020 1:22 pm
- Forum: Flowcode V8
- Topic: Access to the hardware features in STM32 timers
- Replies: 4
- Views: 1903
Re: Access to the hardware features in STM32 timers
Hi, Here is some C code to get us started, It uses Port A pins 0 and 1 for the encoder signals, this is the initialisation ... // Setup Port A0 as TIM2 CH1 input // Alternate function mode GPIOA->MODER |= 2; // Set to AF1 GPIOA->AFR[0] |= 0x0001; // Setup Port A1 as TIM2 CH2 input // Alternate funct...
- Fri Sep 04, 2020 2:56 pm
- Forum: Flowcode V8
- Topic: STM32F303VCT6 component ADC Pin's issue
- Replies: 8
- Views: 3511
Re: STM32F303VCT6 component ADC Pin's issue
Hi,
Thanks for confirming.
I've updated these already
So you can run the full update.
Thanks
Leigh
Thanks for confirming.
I've updated these already
So you can run the full update.
Thanks
Leigh
- Fri Sep 04, 2020 1:39 pm
- Forum: Flowcode V8
- Topic: Access to the hardware features in STM32 timers
- Replies: 4
- Views: 1903
Re: Access to the hardware features in STM32 timers
Hi Sacha, It's difficult to give a general/generic answer to this. It is possible to call the HAL functions from Flowcode, using a C icon within Flowcode macros. We could probably best help by taking one example, can you give an exact example of what you want to do? Please give all information that ...
- Fri Aug 21, 2020 1:30 pm
- Forum: Flowcode V8
- Topic: ILI9341_SPI
- Replies: 6
- Views: 2510
Re: ILI9341_SPI
Have you set the AVR SS pin as an output?
- Fri Aug 21, 2020 11:40 am
- Forum: Flowcode V8
- Topic: ILI9341_SPI
- Replies: 6
- Views: 2510
Re: ILI9341_SPI
Try setting "Toggle CS" to "Yes"
- Tue Aug 18, 2020 9:18 am
- Forum: Flowcode V8
- Topic: USB SERIAL for STM32
- Replies: 3
- Views: 1473
Re: USB SERIAL for STM32
In theory it should be possible to utilize the ST HAL libraries,
but it won’t be trivial and it’s something I haven’t attempted yet.
Could you consider a UART to USB bridge, FTDI, CP210x etc?
but it won’t be trivial and it’s something I haven’t attempted yet.
Could you consider a UART to USB bridge, FTDI, CP210x etc?
- Mon Aug 17, 2020 4:11 pm
- Forum: Flowcode V8
- Topic: USB SERIAL for STM32
- Replies: 3
- Views: 1473
Re: USB SERIAL for STM32
Hi,
No, sorry, we don't yet support the STM32 USB peripheral in Flowcode.
No, sorry, we don't yet support the STM32 USB peripheral in Flowcode.
- Wed Aug 12, 2020 6:50 pm
- Forum: Bug Reports
- Topic: Lookup table 32 bit ints
- Replies: 5
- Views: 2173
Re: Lookup table 32 bit ints
Thanks Martin
- Wed Aug 12, 2020 1:15 pm
- Forum: Bug Reports
- Topic: Lookup table 32 bit ints
- Replies: 5
- Views: 2173
Re: Lookup table 32 bit ints
Hi Martin,
Please try the attached, to go into C:\ProgramData\MatrixTSL\FlowcodeV8\Components
Thanks
Leigh
Please try the attached, to go into C:\ProgramData\MatrixTSL\FlowcodeV8\Components
Thanks
Leigh