Xinyuan-LilyGO / LilyGO-T-SIM7000G

LilyGO T-SIM7000G
https://pt.aliexpress.com/item/4000542688096.html
284 stars 123 forks source link

Using CAN with SN65HVD230 #203

Closed vkcorp closed 1 year ago

vkcorp commented 1 year ago

I'm using SN65HVD230 with my TSIM7000G for CAN communication, and using the code at

https://github.com/Xinyuan-LilyGO/T-SimHat/blob/main/examples/simple/simple.ino

This code use 2 pins for communication, and I wired it with SN65HVD230 :

define CAN_TX_PIN 22

define CAN_RX_PIN 21

Actullaly there is SIM-HAT (and I also bought it) but I think SN65HVD230 is enough to cover the simple CAN communication itself, and I'm on the testing. Well, I have 3 TSIM7000G boards and strange to say this code is working on my first board only... Is there any check point to use CAN on TSIM7000G ?

vkcorp commented 1 year ago

I tried another map and now it's working well for the other 2 boards :)