Other Parts Discussed in Thread: TMS570LS1224, BQ76PL455A-Q1, HALCOGEN
Bought the bq76pl455-EVM and TMS570LS1224 development boards to develop code for an electric car battery management system. I've checked the bq76pl455-evm board with the provided TTL-USB adapter and the provided TI PC software to make sure it works (which it does).
I have used a 5v - 3v3 level converter between the SCI_1 (non-LIN) (Product: www.amazon.co.uk/.../ref=od_aui_detailpages00 ) and the bq76pl455-EVM board, as the TMS is 3v3 and the bq76pl455-EVM is 5v.
Using the bq76PL455A-Q1 example code provided by TI (intended for the TMS570LS04 development board) as a base I've changed the UART interface from the SCILIN to SCI (as this is what we will be using in the PCBs that we will be making based on the two development boards), made sure the interrupts work on the new SCI interfaces.
In HalCoGen, I've made sure the pull-ups are enabled on the SCI interface, and the GIOs directions are set correctly (Using GIOA_0 for wakeup and GIOA_1 for fault). The baudrate is set to 250k in HalCoGen.
Currently, when using the TMS570 to try and send commands to the bq76pl455-EVM (which should get a reply response) I get nothing from the bq76pl455-EVM. The RX line is silent, and stays high as probed from an oscilloscope.
The LED on the bq76pl455-EVM lights up when the TMS570 board is powered (I've also used a separate power supply which can supply more power just in case the power rails were dropping, which they weren't).
I've probed the bq76pl455-EVM board for if the signals can across to breadboarded TTL level converter, the TX and WAKEUP can successfully get to the EVM board.
I've tried running the full example code (adjusted pin-out for my use case) so that it should fully wake the EVM up and configure it and then ask it to do a ADC read command, as well as just sending a single while looped (with delay) ADC sample command.
Also tried using a mbed LPC1768 which we had lying around to try and send ADC read commands to the EVM over the UART interface with to no avail. And have verified using a TTL adapter for a PC that the TMS570 is sending at 250kbaud to a computer, and the interrupts so that I can send to it.
I'm at a loss as to why the bq76pl455-EVM is not responding to anything apart from the PC. Nothing that has been received after any commands sent from the TMS570LS1224 development board or the briefly tested LPC1768.
Does anyone have any hints as to why this is not working, or anything that I seem to have missed?
I've attached the code that I'm using, but does not seem to work.