Search found 7 matches

by rrryy39
Tue Nov 26, 2024 7:00 pm
Forum: Batteries and Charging
Topic: About not getting a response using python openinverter-can-tool
Replies: 5
Views: 2622

Re: About not getting a response using python openinverter-can-tool


Glad you got sorted. If you run oic scan the tool will scan the CAN bus looking for any openinverter nodes (well technically anything that responds to CANopen SDO). I find this a useful way to check that all the devices I expect are up and running on the bus.


Thanks, after the scan, I found ...
by rrryy39
Tue Nov 26, 2024 6:44 pm
Forum: Batteries and Charging
Topic: About not getting a response using python openinverter-can-tool
Replies: 5
Views: 2622

Re: About not getting a response using python openinverter-can-tool

johu wrote: Tue Nov 26, 2024 5:13 pm You need to specify the node id, it defaults to 1 but Clara has 22

Code: Select all

oic -n 22 ....
Are you writing EVSE code for Clara?
No, I want to integrate the clara into a vehicle and let the bms control the clara outputs to EVSE. Thank you
by rrryy39
Tue Nov 26, 2024 4:03 pm
Forum: Batteries and Charging
Topic: About not getting a response using python openinverter-can-tool
Replies: 5
Views: 2622

About not getting a response using python openinverter-can-tool

Hi, I am currently using foccci&clara for the EVCC development and I want to be able to let the controller send and receive can frames. RIght now I setup the openinverter-can-tool using pip and I am using pcan. After running the commend
oic can add tx 0x100 AdcProximityPilot 0 16 10
I get this ...
by rrryy39
Fri Nov 22, 2024 2:48 pm
Forum: Batteries and Charging
Topic: Not able recieve CAN frames using stm32_can.cpp
Replies: 5
Views: 2602

Re: Not able recieve CAN frames using stm32_can.cpp

I am working with Foccci 4.2 hardware and integrating it to send and receive custom CAN frames. The code is based on CCS32Clara, and I want to understand how to use the can_receive() function properly.

From what I see in the stm32_can.cpp file, the HandleMessage(int fifo) function is invoked within ...
by rrryy39
Thu Nov 21, 2024 3:46 pm
Forum: Batteries and Charging
Topic: Not able recieve CAN frames using stm32_can.cpp
Replies: 5
Views: 2602

Not able recieve CAN frames using stm32_can.cpp

Hi, I am currently can send CAN frames using stm32.send() function but cannot read CAN frames using the function I created inside stm32_can.cpp

int32_t Stm32Can::CANReadFrame(uint32_t *pCanId, uint8_t *recvData)
{
uint32_t id = 0;
bool ext = true, rtr = false;
uint8_t length = 0, fmi = 0 ...
by rrryy39
Sat Jul 27, 2024 12:31 am
Forum: Batteries and Charging
Topic: about uart spitting garbage
Replies: 3
Views: 2474

Re: about uart spitting garbage

I ordered the foccci evcc charging board through JLCPCB, and flashed the Clara software into it.
by rrryy39
Fri Jul 26, 2024 3:27 pm
Forum: Batteries and Charging
Topic: about uart spitting garbage
Replies: 3
Views: 2474

about uart spitting garbage

Hi everyone I am new here. I recently got the board and everything but when trying to read serial line I got stuck. I purchased a really good serial to usb converter which support baud rate is 921600 (moxa uport 1150) but still got garbage. TX has 3.3v, any tips on debugging this? Thanks in advance.