It would be an interesting project.
The esp32, ARM and PIC32s should have enough horsepower / memory to handle it.
The source is in C - so it should be possible to include 'as-is' (or nearly) and add an interface for Flowcode...
Martin
Search found 1026 matches
- Thu Sep 19, 2024 11:36 am
- Forum: User Components
- Topic: MP3 Decoder Component
- Replies: 3
- Views: 115
- Mon Sep 16, 2024 7:48 pm
- Forum: Feature Requests
- Topic: Switch with more decisions
- Replies: 10
- Views: 2831
Re: Switch with more decisions
A simple (rather contrived) example. As Steve mentions - simulation is really not happening here. There are some advantages over switch statements (at least for lots of options) - the code is smaller and the options run in constant time. It also 'forces' the code to be split into multiple small macr...
- Fri Sep 13, 2024 10:02 pm
- Forum: Bug Reports
- Topic: SPI Master STM32f411
- Replies: 17
- Views: 1420
Re: SPI Master STM32f411
Looks to be working well!
The code is nice and simple too
Martin
The code is nice and simple too
Martin
- Fri Sep 13, 2024 9:50 pm
- Forum: Projects - Embedded
- Topic: SPI MASTER
- Replies: 1
- Views: 574
Re: SPI MASTER
Please upload a flowchart that demonstrates this. It's hard to guess at the cause otherwise (pins not set?)
Martin
Martin
- Fri Sep 13, 2024 9:36 pm
- Forum: Bug Reports
- Topic: SPI Master STM32f411
- Replies: 17
- Views: 1420
Re: SPI Master STM32f411
A little experimenting and a 20uS delay works well...
Here decoding the values returned by the slave...
Here decoding the values returned by the slave...
- Fri Sep 13, 2024 7:35 pm
- Forum: Bug Reports
- Topic: SPI Master STM32f411
- Replies: 17
- Views: 1420
Re: SPI Master STM32f411
I managed to get the slave to return data reliably - but only for one character at a time. If I attempt to do 2 bytes - the second value returned is the first value received. I've tried setting SPDR in main and in the interrupt handler. You are attempting to send 3 characters in the interrupt handle...
- Thu Sep 12, 2024 11:11 pm
- Forum: Bug Reports
- Topic: SPI Master STM32f411
- Replies: 17
- Views: 1420
Re: SPI Master STM32f411
I think the slave needs to be interrupt driven to stand a chance of catching the data. So I wrote a small test program - that sets up and uses the SPI interrupt to receive data (on the Arduino). It's hardcoded to receive 3 bytes and output them to UART - I have an Arduino Nano firing off 3 character...
- Thu Sep 12, 2024 2:32 pm
- Forum: Bug Reports
- Topic: SPI Master STM32f411
- Replies: 17
- Views: 1420
Re: SPI Master STM32f411
Can you also post the 'slave' code?
Martin
Martin
- Mon Sep 09, 2024 10:12 pm
- Forum: Projects - Embedded
- Topic: ESP32 and Libraries
- Replies: 10
- Views: 856
Re: ESP32 and Libraries
I made a small example based on above and Ben's code... esp32_pullup.fcfx It uses gpio_pullup_en and gpio_pullup_dis to toggle the pullup resistor on a pin (specified as 'Pin' in properties). So this generates a square wave with 50ms pulses (viewed on the oscilloscope). So - I wanted to be able to u...
- Mon Sep 09, 2024 7:42 pm
- Forum: Projects - Embedded
- Topic: ESP32 and Libraries
- Replies: 10
- Views: 856
Re: ESP32 and Libraries
See
https://docs.espressif.com/projects/esp ... /gpio.html
I think gpio_set_pull_mode and gpio_pullup_en should do what you are after.
I'll try and make a simple example when I get back to my pc later today.
Martin
https://docs.espressif.com/projects/esp ... /gpio.html
I think gpio_set_pull_mode and gpio_pullup_en should do what you are after.
I'll try and make a simple example when I get back to my pc later today.
Martin