This is a document I created that outlines the process for getting a Kinetis processor to assemble Modbus RTU packets under KSDK 1.2 and MQX. Credit goes to mjbcswitzerland for sharing his uTasker approach to this problem.
Hi peterfurey, it doesn't *really* matter where you put those declarations. I have g_rxbuff[] in Events.c where my PIT ISRs reside. I put the rx_callback_buff[] declaration in my modbus listener class' implementation file.
Hi Dave,
Thank you for posting this, I'm trying to do something similar and its been a frustrating process.
Was curious where you are declaring:
uint8_t rx_callback_buff[256]
and
g_rxbuff[]
Thanks,
Peter