BARTH STG with STM32F091xC
Posted: Sun Jun 28, 2020 10:20 am
Hi
new on here and can't find any info on this.
The BARTH documentation recommends this forum so here goes …
The newer BARTH PLC uses an STM32 if you haven't looked at them for real world applications its worth a look they work up to 7-32V + CAN
https://uk.rs-online.com/web/p/logic-modules/1348863/
I use them for off road cars and they are very tough and a great price.
functions like flashing brake lights and also indicators like you see on the latest cars also input/outputs to datalogging systems over CAN BUS.
The older models used PIC's and I have worked with PIC for decades ( I am old )
I am using the STG-800 and the Arduino IDE to test
two issues
1. getting WS2812 LED to work , I cannot figure out how to get Fastled to work, is there a config file I can use? or anyone know how I can amend one
Note , the output ports on the Barth have lots of extra circuitry that stop fast comms, however they have the TTL rs232 pins made available and these appear to be direct to the CPU pin. they are Arduino pin 9 & 10. I have used them like this on the older PIC versions.
2. CAN bus library , tried the standard ST library and the exoCAn but no luck, anyone any other ideas?
I spent a lot of time getting the PIC CAN versions to work with BMW ecu's and would rather not face that uphill slog again . I really want to stay with BARTH because of the reliability and simplicity of the package.
any help/suggestions would be great. ( I am not well practised at the Arduino enviroment mainly use UNO, nano and some teensy's)
thanks
bd
new on here and can't find any info on this.
The BARTH documentation recommends this forum so here goes …
The newer BARTH PLC uses an STM32 if you haven't looked at them for real world applications its worth a look they work up to 7-32V + CAN
https://uk.rs-online.com/web/p/logic-modules/1348863/
I use them for off road cars and they are very tough and a great price.
functions like flashing brake lights and also indicators like you see on the latest cars also input/outputs to datalogging systems over CAN BUS.
The older models used PIC's and I have worked with PIC for decades ( I am old )
I am using the STG-800 and the Arduino IDE to test
two issues
1. getting WS2812 LED to work , I cannot figure out how to get Fastled to work, is there a config file I can use? or anyone know how I can amend one
Note , the output ports on the Barth have lots of extra circuitry that stop fast comms, however they have the TTL rs232 pins made available and these appear to be direct to the CPU pin. they are Arduino pin 9 & 10. I have used them like this on the older PIC versions.
2. CAN bus library , tried the standard ST library and the exoCAn but no luck, anyone any other ideas?
I spent a lot of time getting the PIC CAN versions to work with BMW ecu's and would rather not face that uphill slog again . I really want to stay with BARTH because of the reliability and simplicity of the package.
any help/suggestions would be great. ( I am not well practised at the Arduino enviroment mainly use UNO, nano and some teensy's)
thanks
bd