Getting STM32 Boards Listed in the ACCLV Boards selection. | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Getting STM32 Boards Listed in the ACCLV Boards selection.
September 28, 2016
11:52 am
Avatar
Nanocore
Member
Members
Forum Posts: 4
Member Since:
August 28, 2016
sp_UserOfflineSmall Offline

I have installed the addons for ARM bits for the Zero and STM 32 Bits in the Arduino C and they all appear there and things are ok. I have also done blink on the Zero from A IDE and LV but the STM32 Boards don't show in the Selection.

 

How do I enable them in the ACCLV selection list?

Lets do things right, but on the way I am sure I will be 1 bit out......

September 28, 2016
6:58 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

STM boards are not supported.  Only Arduino boards.  Please refer to the supported hardware section of the product page.

September 30, 2016
3:28 am
Avatar
scadao
Member
Members
Forum Posts: 24
Member Since:
June 5, 2015
sp_UserOfflineSmall Offline

Arduino IDE 1.6.9;   Windows 7

Board manager packages for the stm32duino code were created:

http://dan.drown.org/stm32duin.....index.json

If you want to use it, put that URL in File->Preferences->Additional Boards Manager URLs. And then under Tools->Board->Boards Manager, find the stm32f* entry you need and hit the install button on it.

September 30, 2016
1:31 pm
Avatar
Nanocore
Member
Members
Forum Posts: 4
Member Since:
August 28, 2016
sp_UserOfflineSmall Offline

I know they are are not officially listed but at the end of the day it is just the same compiler being called from the Arduino IDE so if I create some peripheral librarys for the STM parts in LV it should be good to go yes?

Lets do things right, but on the way I am sure I will be 1 bit out......

September 30, 2016
2:21 pm
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

I haven't looked if the microcontroller on this board is the same one used by the Arduino board. If so, you may get away with using the compiler as is. But as mentioned previously, we won't be able to support it in case you come across weird behavior.

Cheers
Filipe

October 1, 2016
9:25 am
Avatar
Nanocore
Member
Members
Forum Posts: 4
Member Since:
August 28, 2016
sp_UserOfflineSmall Offline

Thanks SCADAO that did the trick now showing the boards in the menu. Thanks for your help......

Lets do things right, but on the way I am sure I will be 1 bit out......

February 2, 2022
12:21 pm
Avatar
aliang
Member
Members
Forum Posts: 10
Member Since:
February 2, 2022
sp_UserOfflineSmall Offline

I also noticed RPI pico is listed in Arduino IDE, which is also listed in ACCLV.

Some simple example is possible to compile, like serial monitor/digital IO/analog IO. But most complex codes are failed on compile, like LCD/LED driver, maybe we need to port most of these drivers by ourselves?

Anyway, this is a great tool to start with, I guess we can figure out the potential of ACCLV!

December 12, 2022
3:44 pm
Avatar
derrickhanon
New Member
Members
Forum Posts: 2
Member Since:
December 10, 2022
sp_UserOfflineSmall Offline

I also got small programs to compile for the STM32(blink and other digital writes).  I had to install the board manager package in the Arduiono IDE first, then it showed up in ACCLV menu.  Example code seemed to compile and work. 

However, I only want to use the Labview portion of this to bring up a board, verifying hardware functionality, then handing it off to our software team for more involved programming support. 

I am mainly interested in SPI, I2C but was surprised they developers didn't expose the controls for the MOSI/MISO/CLK pins.  

December 12, 2022
6:32 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

derrickhanon said
I also got small programs to compile for the STM32(blink and other digital writes).  I had to install the board manager package in the Arduiono IDE first, then it showed up in ACCLV menu.  Example code seemed to compile and work. 

However, I only want to use the Labview portion of this to bring up a board, verifying hardware functionality, then handing it off to our software team for more involved programming support. 

I am mainly interested in SPI, I2C but was surprised they developers didn't expose the controls for the MOSI/MISO/CLK pins.  

  

You cannot change the pins because that library is using the hardware peripherals.  This is tied to specific pins on each Arduino board so its not re-mappable.  That it specific to the Arduino platform, not the Compiler.  There are software SPI/I2C Arduino libraries and you could certainly write a plugin for the Compiler to interface with one of those.  Refer to the Porting an Arduino Library to LabVIEW section of the user manual.  But you would want to use the hardware peripherals, if possible, for improved performance.

February 14, 2023
2:16 pm
Avatar
aliang
Member
Members
Forum Posts: 10
Member Since:
February 2, 2022
sp_UserOfflineSmall Offline

derrickhanon said
I also got small programs to compile for the STM32(blink and other digital writes).  I had to install the board manager package in the Arduiono IDE first, then it showed up in ACCLV menu.  Example code seemed to compile and work. 

However, I only want to use the Labview portion of this to bring up a board, verifying hardware functionality, then handing it off to our software team for more involved programming support. 

I am mainly interested in SPI, I2C but was surprised they developers didn't expose the controls for the MOSI/MISO/CLK pins.  

  

I don't know about your use case, but for me, I kinda let ACCLV work on RpiPICO MCU.

It's fun for a small job, you might need to handle the underlying details in the package\hardware folder in Arduino, put another way, you have to be able to read some level of C/C++ to use 3rd-party HW.

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
5
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356